ThePrimeagen / ts-rust-zig-deez

605 stars 160 forks source link

Feat: Complete C++ Interpreter #268

Open orycho opened 1 year ago

orycho commented 1 year ago

Completes the Tokenizer in the cpp directory, the parser and the evaluation. Also adds support for hexadecimal integer literals, bitwise operators & (and), | (or) ^ (xor) and ~ (negation) for integers, as well aas && and || for booleans (short circuit logic).

Also includes several other changes to the original code:

Now also fully implements "Writing a Compiler in Go" with all abive mentioned extensions.

orycho commented 1 year ago

Hmm, just realized the pull is based on my master branch head, and now it also includes the parser...

orycho commented 1 year ago

Monkey interpreter is now complete with