4 ms·
By 86 lines, do they mean 542 lines?
by jrockway 12y ago
By 86 lines, do they mean 542 lines?
- dmytrish 12y agoI meant the code generator size: it starts at line 448 and ends at 535, so its size is about 86 lines. The rest of the code is taken from original c4 and is not changed.
- jrockway 12y agoI kind of noticed that, though lines(c4x86.c) - lines(c4.c) is closer to 30.
- tomcam 12y ago..and SNAP! Great work, dmytrish. This is a godsend to people trying to fight their way through traditional compiler texts. Thanks for a truly impressive contribution to the language dev world.
- dmytrish 12y agoThank you. rswier's c4 was a great inspiration for me. I am glad If my humble two cents are helpful for somebody.
- petercooper 12y ago86 in base 67.
- deleted 12y ago[deleted]
- tptacek 12y agoAside from 'dmytrish (the author of this fork)'s point about the code generator: this is extraordinarily tight C code. There's no fat on it anywhere, unless you want to call support for the ternary operator "fat". It's not obfuscated or artificially shrunk down at all. It's just sort of perfect. I took an hour to read through it and comment the hell out of it, and it was some of the most pleasant reading I've done all year. I really, really like this code.