What I did
I finished the parser ππππππππππππππππ. So what a parser do is that it takes the tokens generated by the lexer and creates structures with them, also verifying the syntax of the code. For this β¬ οΈβ¬οΈ it uses the ast (Abstract Syntax Tree).
Changes of plans
I recently discovered Cranelift, that I give the structures generated by the parser and translates them in machine code, and it is way faster than my first option to write a rust interpreter that wouldβve done the same thing.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.