Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Discover the fundamentals of creating a programming language interpreter in this ACCU 2017 conference talk by Andy Balaam. Learn how to build a simple yet functional language called Cell, implemented in Python. Explore the key components of language design, including lexical analysis, parsing, and evaluation. Walk through the concise codebase of Cell's lexer (40 lines), parser (81 lines), and evaluator (92 lines) to understand the core concepts behind language implementation. Gain insights into detecting symbols and literals, constructing abstract syntax trees, evaluating logic, and developing a standard library of basic functions and structures. Suitable for programmers with no prior experience in language design, this talk assumes basic familiarity with Python or any other programming language.
Syllabus
How to write a programming language - Andy Balaam [ACCU 2017]
Taught by
ACCU Conference