Create a simple language to perform a simple task requiring programming. (For an example, see the Unix/Linux AWK command.)
Click HERE for a definition of a "simple" language.
Note: Do not jump right in writing Python code. Make sure you understand the concepts and ideas and how they fit together before you start. Try out the concepts and ideas using pencil and paper first.
Note: This is a much more difficult project.
Build Your Own Lisp shows how to crate an compiler for a simple version of the Lisp programming language written in C.
Create an interpreter for this language written in Python.
Building Your Own Programming Language From Scratch
I wrote a programming language. Here’s how you can, too.
[1] The Lexer - Creating Your OWN Coding Language! (YouTube)
Create Your Own Programming Language Using Python
Creating Your Own Programming Language: An In-Depth Guide
Writing a Simple Programming Language from Scratch - Part 1
Make YOUR OWN Programming Language - EP 1 - Lexer
(YouTube)
Make YOUR OWN Programming Language - EP 2 - Parser
(YouTube)
Make YOUR OWN Programming Language - EP 3 - Interpreter
(YouTube)
Make YOUR OWN Programming Language - EP 4 - Variables!
(YouTube)
Make YOUR OWN Programming Language - EP 5 - Comparisons and logical operators
(YouTube)
...
...
...
Make YOUR OWN Programming Language - EP 14 - RUN statement and comments (finale)
(YouTube)
Make YOUR OWN Programming Language - BONUS - Power Operator
(YouTube)
Create a Programming Language and Learn Advanced Python – Full Course (YouTube)
What tools are used to create programming languages?
What are the exact tools needed to create a new programming language from scratch?
Infix and Postfix Numeric Expressions
Evaluate Reverse Polish Numeric Expressions