logoalt Hacker News

kelsey98765431today at 1:53 AM2 repliesview on HN

Would be a lot better if it came with tests. Please do this justice and dont let it rot as a gist, make a real repo and add some docs and at least smoke tests or some kind. Thanks


Replies

gaigalastoday at 6:49 AM

This gist is a concatenation of several shell script modules which form a comprehensive parser library for the portable shell.

The main parser and emitter are BFN-generated (that's why they look so mechanical). The BNF parser generator is also written in portable shell (I posted another gist with a preview of it in another thread).

All modules have comprehensive tests, but it is still lacking documentation and not ready for prime time!

show 1 reply
fuhsnntoday at 3:17 AM

Don't understand why you were downvoted. An untested C compiler is simply worthless.

show 2 replies