Commit Graph

12 Commits

Author SHA1 Message Date
5f38d73004 Now preserving hex numbers with "0xF00" -> parse -> decompile ->
"0xF00", fix for (compile error at ...)
2018-11-11 15:26:30 -08:00
9a75d25c84 Lots of fixes to the upgrading and codegen/autoformatting pipeline, also
deleted nomnom files, since they're mostly not needed anymore.
2018-11-11 15:05:56 -08:00
ed70165294 Better handling of shebangs and comments at the top of a file. 2018-11-09 17:33:04 -08:00
652c29bdef Major overhaul, splitting nomsu_compiler into nomsu_environment,
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
2018-11-08 15:24:15 -08:00
e7e84c9eda Fix for compiler not parenthesizing method targets, fix for parser not
recognizing \ line continuation, and improvements to
upgrade tool API.
2018-10-30 20:32:49 -07:00
23abab4f80 Some cleanups and fixes, made the parser more permissive of prematurely
terminated files.
2018-10-29 13:00:30 -07:00
Bruce Hill
f8cfdd0f22 Better parsing of strings and handling of non-printable characters and
tabs.
2018-09-15 15:39:57 -07:00
Bruce Hill
e22c35681f Auto-upgraded everything. 2018-09-14 19:17:16 -07:00
Bruce Hill
626b6cab79 Updated compiler to produce cool string output. 2018-09-14 15:20:07 -07:00
Bruce Hill
7c1f2dfd69 Fixes and improvements, and ported nomsu.3.peg to new tidier syntax. 2018-09-14 14:01:07 -07:00
Bruce Hill
4d48bf359d Improvements to indented text parsing and error reporting. 2018-09-13 16:02:40 -07:00
Bruce Hill
ea310306d7 Initial working version. 2018-09-12 15:32:04 -07:00