Building a Simple Python Interpreter in 168 Lines

A detailed walkthrough of creating a basic programming language interpreter in Python, covering code blocks, error handling, comments, variables, and expressions within a compact codebase.

Slu410.3K views17:19

🔥 Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in United States under the topic 'airlines flights cancelled'.

About this video

I explain the inner workings of a computer language interpreter that features code blocks, error messages, comments, integer and string variables, math expressions, if-else, while-break, print, input, and subroutine calls. I build on the fantastic work by Jack W. Crenshaw. The interpreter only uses low-level Python. "Let's Build a Compiler" by Jack W. Crenshaw: https://compilers.iecc.com/crenshaw/ Minimal UART CPU System on GitHub: https://github.com/slu4coder/Minimal-UART-CPU-System https://github.com/slu4coder/Minimal-UART-CPU-System/tree/main/Min%20Language Minimal User Manual and Reference: https://docs.google.com/document/d/1c2ZHtLd1BBAwcBAjBZZJmCA3AXpbpv80dlAtsMYpuF4/edit?usp=sharing

Video Information

Views
10.3K

Total views since publication

Likes
381

User likes and reactions

Duration
17:19

Video length

Published
Jan 7, 2022

Release date

Quality
hd

Video definition

About the Channel

Tags and Topics

This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:

Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.