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
Bruce Hill
d7d86e0268
Lots of cleanup.
2018-06-19 00:44:22 -07:00
Bruce Hill
6d8d617774
Added test for multiple labels.
2018-06-18 18:41:00 -07:00
Bruce Hill
7f98262dfa
Minor cleanups
2018-06-18 18:39:25 -07:00
Bruce Hill
f83cc3ad8a
More streamlining and cleanup.
2018-06-18 18:11:09 -07:00
Bruce Hill
a22de3fdbb
Moved parsing into a different file
2018-06-18 15:46:36 -07:00
Bruce Hill
16d127abb5
Initial working version.
2018-06-18 15:44:35 -07:00
Bruce Hill
fc71b0331b
Fixed some nomsu codegen bugs
2018-06-15 03:30:32 -07:00
Bruce Hill
9d6932a872
Cleaned up/improved the command line interface, and fixed the
...
REPL/autoformatting.
2018-06-15 03:11:56 -07:00
Bruce Hill
5629b81f78
Updating tests.
2018-06-15 00:40:40 -07:00
Bruce Hill
c161f48838
Updated README
2018-06-15 00:31:28 -07:00
Bruce Hill
f790caf0ab
Removed debug shim.
2018-06-15 00:20:32 -07:00
Bruce Hill
1a6e28e835
Improvements to object system.
2018-06-15 00:17:09 -07:00
Bruce Hill
b12744d831
Some cleanup and fixes. Simplifying a lot of code, and extending the
...
flexibility of scoping. Redesigned Object system too.
2018-06-14 23:25:34 -07:00
Bruce Hill
49f1eb3d08
Reshuffling some files.
2018-06-14 22:17:37 -07:00
Bruce Hill
82cfd3e54b
More streamlining and cleanup. Especially for core/metaprogramming.nom
2018-06-14 21:59:43 -07:00
Bruce Hill
282565a309
Fixed tree_to_nomsu to produce "blah\%x" instead of "blah\(%x)"
2018-06-13 14:54:08 -07:00
Bruce Hill
12d52f743c
Simplifying code.
2018-06-13 13:23:39 -07:00
Bruce Hill
45e0a831fe
Much improved code formatting for tree_to_nomsu
2018-06-12 23:47:54 -07:00
Bruce Hill
968b5da150
Fixed some bugs.
2018-06-12 20:15:56 -07:00
Bruce Hill
63a19db0dc
Working version.
2018-06-12 20:06:37 -07:00
Bruce Hill
b0997a7dbf
Minor optimizations to indent/dedent/nodent.
2018-06-12 18:16:44 -07:00
Bruce Hill
3c510e4ee5
Lots of optimizations and simplifications, especially towards getting
...
better performance on luajit.
2018-06-12 18:04:41 -07:00
Bruce Hill
b5fb8933af
Removed dependency on 'immutable' library. This lets LuaJIT do more
...
aggressive optimizations and generally helps performance. Some safety is
lost, but I think the performance gains, reduced complexity, and reduced
dependencies are worth it.
2018-06-12 15:14:07 -07:00
Bruce Hill
0c9973ff03
Tidying up exceptions and error reporting. Also simplified the grammar a
...
tiny bit.
2018-06-12 13:56:35 -07:00