Commit Graph

372 Commits

Author SHA1 Message Date
438edf45c2 Hook things up so the compiler can run better without installing 2024-04-03 03:08:40 -04:00
5fc433e714 Dynamically link against .so file instead of statically linking against
object files
2024-04-03 03:04:42 -04:00
c3a47751a5 Publicly export CORD_asprintf symbol for libfile 2024-04-03 03:04:14 -04:00
f5bd75295d Seed RNG on each run 2024-04-02 23:43:57 -04:00
bec67efb11 Add test for array:sample() 2024-04-02 23:41:26 -04:00
6eb680f1b7 Add array:sample(n, weights) 2024-04-02 23:40:18 -04:00
728cd8026c Bugfixes for long strings in docstring tests 2024-04-02 23:40:03 -04:00
fae2b2caa0 Add array:sample() 2024-04-02 23:28:59 -04:00
95100469b6 Add array:sorted() 2024-04-02 13:13:33 -04:00
c73e96ff91 Add comparison operator <> and array method to sort by a custom
comparison function
2024-04-02 13:08:06 -04:00
b6534ce347 Implement REPL 'while' 2024-03-31 13:13:08 -04:00
56a44684fa More errors 2024-03-30 13:43:24 -04:00
f1d4f928e4 Use generic cord/compare functions 2024-03-30 13:42:24 -04:00
0ea5fe933a Tweak repl multi-line parsing 2024-03-30 13:35:11 -04:00
e5880b4616 REPL 'if' 2024-03-30 13:24:39 -04:00
42084fda6f Fix indexing errors 2024-03-30 13:18:19 -04:00
7048c827c0 More functionality for repl 2024-03-30 13:16:52 -04:00
1ef1b15fd3 More repl functionality/fixes 2024-03-30 12:47:20 -04:00
4192e123e6 Bugfix for color 2024-03-30 12:17:39 -04:00
838c9963fc Adding a REPL 2024-03-30 12:14:24 -04:00
04d9adc813 Switch naming convention to use '$' in symbols more 2024-03-29 12:54:31 -04:00
d94053ca77 Add array:reversed() 2024-03-26 14:59:52 -04:00
135e23094c Improve codegen for table/array iteration by inlining the iteration
macros
2024-03-26 14:02:48 -04:00
59b62035c1 Fix xml for Stop 2024-03-26 13:46:59 -04:00
b327338772 Restructure things so autoformat isn't make-or-break 2024-03-26 13:20:47 -04:00
047eb93fa8 More XML fixes 2024-03-26 12:45:34 -04:00
a30f588378 Fix XML output 2024-03-26 12:44:53 -04:00
1c9d47c29f Print ASTs as XML instead of janky custom syntax 2024-03-24 19:04:57 -04:00
d07d2f2530 Bugfix for text replacement 2024-03-24 18:19:59 -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
bdfb388aa1 Ignore generated files 2024-03-24 16:19:43 -04:00
42f594cd7a Tweak compilation behavior 2024-03-24 16:11:11 -04:00
5157988efa Implement 'extern' functionality 2024-03-24 15:06:59 -04:00
a29d2ed6d1 Improve COW/etc handling for update assignments 2024-03-24 14:28:20 -04:00
20d75db79a Fix/improve assignment to arrays and tables 2024-03-22 13:53:23 -04:00
ddee869210 Stop if compilation error occurs 2024-03-22 13:47:30 -04:00
f21fc700bb Handle type namespaces in other modules 2024-03-22 01:52:00 -04:00
73c0c6b540 Force remove precompiled files before test 2024-03-21 13:39:45 -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
4592e95fa9 Pull namespaces from the type binding 2024-03-21 13:33:10 -04:00
f142b4ae53 Fix issue with quoted string cords 2024-03-21 13:32:52 -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
a47bd2d569 Improvements to module imports 2024-03-19 23:29:32 -04:00