Commit Graph

561 Commits

Author SHA1 Message Date
Bruce Hill
01a4f36398 Minor changes. 2018-07-13 14:30:39 -07:00
Bruce Hill
84c0058e69 Switching to use 'unpack' for indentation grouping. 2018-07-13 09:56:38 -07:00
Bruce Hill
295a25a3ed Fixed accidental change. 2018-07-12 21:43:12 -07:00
Bruce Hill
0fd3d1f2b9 Fixing up comments, slowly. 2018-07-12 21:42:16 -07:00
Bruce Hill
af62e3e8bf All tests passing. 2018-07-12 21:24:13 -07:00
Bruce Hill
f908bb49b3 Initial version of new pegfile. works (ish) 2018-07-12 16:14:44 -07:00
Bruce Hill
ba2b83d566 Fixed nomsu codegen for indented text and improved text parsing. Also
moved some more tests inline.
2018-07-11 14:14:16 -07:00
Bruce Hill
b32634faf8 Fixed dumb bug that broke the tests. 2018-07-10 17:37:00 -07:00
Bruce Hill
194146d365 Improving codegen line wrapping. 2018-07-10 17:34:50 -07:00
Bruce Hill
26a6174f28 Fixed dumb bug. 2018-07-10 17:13:53 -07:00
Bruce Hill
3fd5687370 Fixed up line numbers for generated code. 2018-07-10 17:10:59 -07:00
Bruce Hill
77a551099a Updated doc for debugger. 2018-07-10 15:06:08 -07:00
Bruce Hill
fa72d7eeb1 Fixing up error reporting and ripping out LDT-specific code (now a
debugger can
be provided by a command line flag)
2018-07-10 15:00:35 -07:00
Bruce Hill
de34592dbe Adding some compatibility stuff. 2018-07-09 19:22:46 -07:00
Bruce Hill
0d70332ccf Updated readme. 2018-07-09 17:27:22 -07:00
Bruce Hill
85ef9534e3 Added pattern matching for text, and comprehension versions of that and
file walking.
2018-07-09 17:14:05 -07:00
Bruce Hill
cb1c3106f8 Made command line args into a proper Nomsu list. 2018-07-09 17:00:57 -07:00
Bruce Hill
11e9e36636 Simplified the command line interface. 2018-07-09 16:59:20 -07:00
Bruce Hill
0923b0192c Improvements to nomsu codegen (comments are now retained) and some
improvements to handling of stdin and fixes for error reporting.
2018-06-28 14:13:01 -07:00
Bruce Hill
09d6bad6ac Minor fixes. 2018-06-27 10:23:02 -07:00
Bruce Hill
65dc1f2196 Cleaning up metaprogramming a bit and fixing/adding test for recursion
control flow.
2018-06-26 15:53:00 -07:00
Bruce Hill
42578872c7 Added explicit return statements. 2018-06-25 12:23:53 -07:00
Bruce Hill
4fd6d817c8 Reducing imports. 2018-06-24 23:21:11 -07:00
Bruce Hill
2db2c68ac3 Cleaning up code and shuffling things around. 2018-06-24 23:18:42 -07:00
Bruce Hill
b09db8f7df Cleaning up non LFS codepath for files and README 2018-06-24 18:39:34 -07:00
Bruce Hill
e5d63ad945 Added UNINSTALL_VERSION parameter to makefile so users can specify a
particular version to uninstall (or use "*" to uninstall all).
2018-06-24 18:28:52 -07:00
Bruce Hill
34cf3d83d3 Tweaked make test to run both unoptimized and optimized tests. 2018-06-24 18:24:26 -07:00
Bruce Hill
45a7c9a8da Removed vestiges of nomsu_latest, so the makefile works properly. 2018-06-24 18:22:00 -07:00
Bruce Hill
80c8ceb0d4 Added manpage and fixed a bug that screwed up nomsu loading. 2018-06-24 18:20:28 -07:00
Bruce Hill
034376f5f7 Slightly tidier install without making a local nomsu$version file, just
put it directly in $prefix/bin/
2018-06-24 17:27:45 -07:00
Bruce Hill
ad342b63b7 Simplifications/streamlining the Make process, and cleaning up some of
how command line interaction and `use %` work.
2018-06-24 16:11:40 -07:00
Bruce Hill
65addb9aa6 Cleaning up makefile and REPL colors. 2018-06-23 18:26:27 -07:00
Bruce Hill
9f08215dfb Moved console colors from core/ into lib/ 2018-06-23 18:04:23 -07:00
Bruce Hill
247e55059c Fixed incorrect version ordering (was: Syntax.Compiler.Core.Lib, but
should be: Syntax.Core.Compiler.Lib)
2018-06-23 17:29:25 -07:00
Bruce Hill
d918814e69 Fixed test spew 2018-06-23 17:26:34 -07:00
Bruce Hill
72c3cea22c Minor cleanup 2018-06-23 17:24:31 -07:00
Bruce Hill
863983202c Fixed up nomsupath behavior and refactored file stuff into its own file. 2018-06-23 17:22:43 -07:00
Bruce Hill
0d888db632 Added nomsu launcher file. 2018-06-23 15:38:29 -07:00
Bruce Hill
c06a92db6e Fixed and simplified makefile a bit. 2018-06-23 01:43:25 -07:00
Bruce Hill
dbf3de3d8e Added versioning system. 2018-06-23 00:57:39 -07:00
Bruce Hill
11800f6fc2 Changed make clean to only clean up build files, not uninstall. 2018-06-22 03:39:00 -07:00
Bruce Hill
30f4391004 Updating documentation. 2018-06-22 03:18:12 -07:00
Bruce Hill
126678f737 Adding fancy makefile that compiles all the moonscript files and
precompiles all the nomsu files and can build a nice executable file and
install it wherever you like.
2018-06-22 02:41:08 -07:00
Bruce Hill
86a3219e7f Cleanup of some metaprogramming stuff, as well as adding support for
"package.nomsupath" to search for files in different locations, and
prioritizing use of "luafilesystem" over system calls.
2018-06-21 19:13:47 -07:00
Bruce Hill
7761f715f7 Cleaning up examples. 2018-06-20 15:23:10 -07:00
Bruce Hill
d73cbf0aa5 Cleanups. 2018-06-20 15:22:06 -07:00
Bruce Hill
c1cec2ac84 Tidying up error handling and REPL. 2018-06-19 15:24:39 -07:00
Bruce Hill
7deed5af41 Fixing up some error reporting 2018-06-19 02:00:59 -07:00
Bruce Hill
59c79bdf57 Split up CLI and NomsuCompiler 2018-06-19 01:27:41 -07:00
Bruce Hill
1c8c84f8d2 Moved error logic into its own file. 2018-06-19 01:12:54 -07:00