You are browsing as a guest. Sign up (or log in) to start making projects!

2h 14m 37s logged

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.

0
42

Comments 0

No comments yet. Be the first!