Lexer
I’ve got the lexer basically done, maybe a few tweaks a bit later but for the most part i can take in each line of Dartmouth Original BASIC and turn it into a list of lines and symbols to then parse
Interpreter
Currently it keeps track of all the variables and the program counter and runs through each line of BASIC executing it. Atm it looks fine, I just need to create and add the execute function to all of the BASIC statements like STOP, PRINT, IF, and LET
Pratt Parser
Currently I am working on the a pratt parser to determine the value of math operations for PRINT and LET and possible other stuff
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.