3 ms·
This is pretty interesting. Some of things I saw in the source (such as casting string literals to an int) made me cringe a bit, but remembering it is truly a
by hermitdev 10y ago
This is pretty interesting.
Some of things I saw in the source (such as casting string literals to an int) made me cringe a bit, but remembering it is truly a very small subset of C, I'll give it a pass.
Overall, the code quality seems pretty high and is very easy to read (I quickly read through maybe 20% of it).
I think it'd be easier to follow if it broken up into separate files, but I noticed they didn't implement a preprocessor, so I assume part of the rationale for a single file was to avoid includes, macros and all the other baggage the preprocessor brings with it.
I'll definitely have to come back to this project later when I've more time to look at it.