ts-rust-zig-deez icon indicating copy to clipboard operation
ts-rust-zig-deez copied to clipboard

Do a bunch of work on the HolyC version

Open slendidev opened this issue 1 year ago • 1 comments

This PR implements a basic line-by-line REPL. It also updates the HolyC Vim syntax highlight.

Edit: I got bored of waiting so I started to implement the parser. It can parse mathematical expressions, let, return. It also prints out the AST in a nice way.

image

It doesn't show in the screenshot, but yes, order of operations also works. I decided to not follow the book on generating the AST and making the parser because it would require a bunch of function pointers and ugly syntax. It is still recursive descent tho.

slendidev avatar Jun 19 '23 20:06 slendidev

@vhladko can you please take a look at this PR? I want to get to working on parser and AST.

slendidev avatar Jun 23 '23 19:06 slendidev