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

3h 46m 34s logged

Devlog 4: I finished the parser!

I wrote the parser, which takes the tokenized code and converts it into a usable, in-memory representation. After fixing the bugs from yesterday, I wrote some logic to parse a function block and the rest of the syntax was easy. Running main.rs now prints out a representation of a parsed AST. Now all I have to do is:

  • make the AST walkable, so I can actually execute the code
  • write logic to facilitate interop with Rust

The first image is some example Ile code, and the second is some of the AST that is generated from it.

0
8

Comments 0

No comments yet. Be the first!