23 lines
367 B
Plaintext
23 lines
367 B
Plaintext
okay. let's plan it out.
|
|
|
|
===
|
|
|
|
Write it in python.
|
|
|
|
Why? I feel somewhat comfortable in python and don't want to use javascript for this.
|
|
|
|
===
|
|
|
|
Break it into steps
|
|
|
|
1. Initialize the program.
|
|
2. Create a class
|
|
3. Modules
|
|
- Parser
|
|
- Code
|
|
- Symbol Table
|
|
4. Passes through the program
|
|
- First pass to create the symbol Table
|
|
- second pass to parse each line
|
|
|