Build a small programming language interpreter
Write an interpreter for a tiny language with variables, loops and functions, with helpful error messages.
The brief
Writing a language is the best way to understand how code runs. Design a small language, write its scanner, parser and interpreter, and add error messages that say what is wrong and where, then use it to solve ten programming exercises. Good looks like: a test suite of programs and expected output, clear error messages, and a short language guide.
What you will build
- Design the syntax and write a grammar
- Write the scanner and parser
- Build the interpreter with variables, loops and functions
- Add line numbers to error messages
- Write tests and ten example programs
- Document the language
Free, open data to build it with
Sign up free to get the data and links
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

