A small but complete JavaScript engine
Currently composed of 85,624 lines of C code, mostly in quickjs.c (53,575 lines in that one file alone), but also with a couple other large ones.<p>I can't say I understand the reason for such massive files. Surely it would be easier to maintain if it was split into a few well-defined modules?<p>In addition to the maintenance concerns, a JavaScript engine has quite a few parts that could be used as individual components. One good example of this is node's http-parser[1] that was extracted to a self-contained C file with associated headers and is a pleasure to use.<p>[1] <a href="https://github.com/nodejs/http-parser" rel="nofollow">https://github.com/nodejs/http-parser</a>