Commit Graph

33 Commits

Author SHA1 Message Date
b327338772 Restructure things so autoformat isn't make-or-break 2024-03-26 13:20:47 -04:00
1c9d47c29f Print ASTs as XML instead of janky custom syntax 2024-03-24 19:04:57 -04:00
ad94012695 Check .c and .h file for staleness 2024-03-24 16:36:37 -04:00
42431a8742 Use $CC properly for running 2024-03-24 16:33:41 -04:00
b4a0cbf88b More flexible handling of command line arguments/environment variables 2024-03-24 16:26:07 -04:00
118517fb02 Add optimization flag 2024-03-24 16:19:59 -04:00
42f594cd7a Tweak compilation behavior 2024-03-24 16:11:11 -04:00
ddee869210 Stop if compilation error occurs 2024-03-22 13:47:30 -04:00
383586fdcc Fix relative import of own header file 2024-03-21 13:38:52 -04:00
80a7472545 Force retranspile target file 2024-03-21 13:35:41 -04:00
84f147e6ba Fix file mtime checks 2024-03-21 02:43:15 -04:00
ebf5626bfa Change what prints when 2024-03-21 02:29:46 -04:00
7c8338aedb Lazy compilation 2024-03-21 02:27:43 -04:00
9c9eff753f Break compilation phases into functions 2024-03-21 01:33:44 -04:00
adbb07fdc2 Module imports 2024-03-19 14:22:03 -04:00
df2e01c15e Add some better file comments 2024-03-18 12:47:07 -04:00
9a970964a5 Run with 'use' prefixed 2024-03-17 21:47:24 -04:00
594d58b6e2 When compiling .o files, put the .c and .h files on disk 2024-03-17 21:42:38 -04:00
2f409eebba Tweak autofmt behavior 2024-03-10 00:42:17 -05:00
7ad94e808d Add ld flag to find library 2024-03-10 00:05:32 -05:00
2b83ab279d Add langs to the language 2024-03-09 18:22:12 -05:00
9479b3937c Just use mathlib symbols, don't redefine them 2024-03-07 00:44:57 -05:00
080f3a4c2d Add '-c' compiler flag 2024-03-07 00:30:52 -05:00
8fab88c56f Rename Str -> Text 2024-03-03 18:15:45 -05:00
32f27b6206 Fix table literals 2024-03-03 16:08:38 -05:00
5486cdcedb Only put 'pragma once' in compiled header file 2024-03-03 15:22:22 -05:00
00e7ce2bd0 Remove dup output 2024-03-03 15:14:24 -05:00
ea7fcd85b4 Make load method be "use$name" 2024-03-03 15:04:36 -05:00
09b1d07d8b Clean up transpiling into separate .c/.h files 2024-03-03 14:45:36 -05:00
7237cac2e5 Add different compilation modes 2024-03-03 14:36:09 -05:00
5cbdf8fc61 Return correct exit status 2024-03-03 14:18:08 -05:00
ec75208980 Fix up some import issues and improve arrays to use saturating refcounts
instead of .copy_on_write
2024-02-29 12:37:09 -05:00
c2228bf986 Rename 'nextlang'->'tomo' 2024-02-24 16:06:49 -05:00