Commit Graph

78 Commits

Author SHA1 Message Date
leaf corcoran
524d64ffd3 use prefix mach for tag address for fucntions, since they are truncated 2023-06-22 19:45:34 -07:00
leaf corcoran
02222d3410 extract export list and top level function definitions 2023-06-22 16:28:33 -07:00
leaf corcoran
00397fd64b add moon-tags script for generating tag file for moonscript classes 2023-06-22 15:33:50 -07:00
leaf corcoran
0259c835fe add util script for generating header for binaries 2023-03-22 15:40:31 -07:00
leaf
b972b0d538
Merge branch 'master' into patch-1 2022-11-04 12:51:40 -07:00
leaf corcoran
b3dfdc9cad fix indentation in file 2022-11-02 14:47:17 -07:00
Codinget
7de31c59d3 force - to be the only argument 2020-12-29 17:16:44 +01:00
Codinget
f04ae47efb fix moonc - 2020-12-29 17:14:52 +01:00
codinget
ca9ccfe430
Theoretically fix - flag for moonc
`moonc` currently tells argparse to expect `-`, but actually checks for `--` on the cli, which breaks `moonc -`; this should in theory fix this
2020-12-29 17:09:33 +01:00
leaf corcoran
d88e2e2dcf check in missing file :) 2020-11-22 18:29:03 -08:00
leaf corcoran
dba4b10a45 exit with error code when code run with moon fails 2019-09-26 10:25:01 -07:00
Shemar McLean
d64467d070 "-t --output-to" should be an option not a flag 2019-02-20 13:08:50 -08:00
leaf corcoran
57e4f984cb woops 2018-04-30 18:20:51 -07:00
leaf corcoran
9cba69b114 remove built printout when running comipiler on single file 2018-04-13 11:09:19 -07:00
leaf corcoran
491f2352a2 add suppor tfor transform module 2018-02-02 21:55:21 -08:00
leaf corcoran
fcc937ad39 rebuild moon 2017-10-16 16:19:50 -07:00
RyanSquared
dd9661db93 bin/moonc: add support for argparse, remove support for alt-getopt 2017-10-16 15:54:42 -07:00
RyanSquared
dfef936a0c bin/moon.moon: add support for argparse, remove support for alt-getopt 2017-10-16 15:54:42 -07:00
leaf corcoran
0998331a5d rebuild #301 2016-10-23 13:51:31 -07:00
Lord Niels N. Horn
0b4a424378 Correct 'repl' to 'REPL' (#301) 2016-10-23 13:50:57 -07:00
LudwikJaniuk
9e1ad7fe53 Specify that directories are also accepted (#294)
Small change in wording to make it a bit clearer that you can provide directory names to moonc, not just file names.
2016-10-22 17:33:25 -07:00
Jon Allen
32d650a5ff switched the alt_getopt module import to work with newer versions of lua (#289) 2016-09-25 10:21:34 -07:00
Gskartwii
c49fdca7aa Ignore directories named *.moon (#290) 2016-09-25 10:18:42 -07:00
leaf corcoran
4733598583 move polling watcher 2016-04-13 20:05:51 -07:00
leaf corcoran
fdfd314ebc move inotify watcher to library 2016-04-13 19:47:27 -07:00
Ryan Rion
4aa8603cf2
bin/moonc: fixes #259 when not using inotify 2016-04-13 18:53:49 -05:00
AlissaSquared
6580353537 Merge branch 'master' of https://github.com/leafo/moonscript
Conflicts:
	bin/moonc
2016-01-07 17:40:51 -06:00
AlissaSquared
0262243136 Exit with status 1 on linting error 2016-01-07 17:37:47 -06:00
leaf corcoran
bbf5af654f some style changes 2015-12-27 22:14:55 -08:00
AlissaSquared
a9e0874a7a add lint option to watcher 2015-12-27 23:00:16 -06:00
leaf corcoran
32239c8455 rewrite bin/moon in moonscript 2015-06-08 21:46:28 -07:00
mpeterv
640d30f80d fix crash in moonc on Lua 5.3 2015-03-12 11:09:17 +03:00
leaf corcoran
2d5dd107d4 fix opts passing to cmd.moonc 2015-02-28 11:47:58 -08:00
Jason Tu
a6e66737dd Fix for moonc -w 2014-08-17 22:29:30 -04:00
leaf corcoran
6d5dbf7237 fix broken moonc -p 2014-07-08 23:28:45 -07:00
leaf corcoran
fe2984f85d restore -o 2014-06-19 00:04:10 -07:00
leaf corcoran
13da7286f8 restore -t to watch mode 2014-06-19 00:00:10 -07:00
leaf corcoran
6cdfca6ab2 clean up moonc 2014-06-18 10:26:20 -07:00
leaf corcoran
5904373ab8 path_to_target 2014-06-18 10:14:26 -07:00
leaf corcoran
a4e03813fc more moonc functions to module 2014-06-18 09:48:25 -07:00
leaf corcoran
c60d83c546 start moving moonc code to moonscript 2014-06-18 09:23:41 -07:00
leaf corcoran
a4585f8b1c finish converting moonc to have better directory support, remove -t from watch mode temporarily 2014-06-17 20:27:10 -07:00
leaf corcoran
31bab1e099 wip 2014-06-17 10:45:42 -07:00
leaf corcoran
6825537878 fix indentation 2014-06-17 00:03:44 -07:00
Conor Heine
d6f0e89cdb added '-o file' flag to control output name/destination 2014-05-27 22:33:24 -07:00
leaf corcoran
d3f0a455e7 also listen for moved_to 2014-01-04 15:41:45 -08:00
leaf corcoran
49b1c6e8a3 show failed files when linting 2013-12-27 15:32:06 -08:00
leaf corcoran
5461bd179b keep help on stdout unless error 2013-12-26 22:47:11 -08:00
leaf corcoran
18a3723f00 write to stderr instead of stdout 2013-12-26 22:44:54 -08:00
leaf corcoran
cc534a01f3 create a basic lint tool 2013-12-26 01:29:00 -08:00