Commit Graph

422 Commits

Author SHA1 Message Date
3c0a8f0b89 Syntax tweak: use ':' for blocks 2024-04-28 14:58:55 -04:00
5910998a19 Don't import "main" 2024-04-25 12:51:04 -04:00
061ec4fd8f Support naked 'use' statements 2024-04-24 13:53:37 -04:00
7aa6b2a496 Make autogenerated equality method more compact 2024-04-23 13:24:01 -04:00
6308325252 Add constructor/casting for ints and nums 2024-04-23 13:12:49 -04:00
005427744d Prevent shadowing variables 2024-04-23 13:04:31 -04:00
7a175d3b45 Catch namespace clobbering of types 2024-04-23 13:03:47 -04:00
3c64616ac1 Bugfix for doctest assignments that promote 2024-04-23 12:54:56 -04:00
fbb25decf0 Support struct literals as constants 2024-04-23 12:50:30 -04:00
803995aea2 Prevent doubling up file prefix 2024-04-23 12:25:27 -04:00
a329682d30 Remove _mix_ keyword 2024-04-22 17:26:33 -04:00
5fd85d7e0b Add Num.mix() 2024-04-22 14:49:36 -04:00
d2348f0894 Fix namespace vars 2024-04-21 15:08:53 -04:00
3590bf3407 Better imports for types 2024-04-21 14:58:33 -04:00
3f10460a6e Support loading imports as top-level statements 2024-04-21 11:22:11 -04:00
aa66a38b08 Bugfix 2024-04-21 11:14:54 -04:00
b7881a480f Bugfix for enum num types 2024-04-20 15:18:20 -04:00
8991898a2d Update docs 2024-04-20 15:12:25 -04:00
a4ffdb1798 Fix no-argument main funcs 2024-04-20 15:00:31 -04:00
2dd9392ef9 Fix USE_COLOR 2024-04-20 14:58:32 -04:00
ff3e1c1328 Move arg parsing to inline logic in main() function 2024-04-20 14:55:27 -04:00
e33aff908b Inline color file 2024-04-20 14:24:37 -04:00
e79ce52125 More heap code cleanup 2024-04-19 13:48:06 -04:00
831ba787bb Add license 2024-04-19 13:41:38 -04:00
78bcce2872 Heap cleanup 2024-04-19 13:40:05 -04:00
b25e8e86d4 Clean up heap code 2024-04-19 13:36:19 -04:00
3b0dce04a0 Add heapify(), heap_push(), and heap_pop() 2024-04-19 13:29:04 -04:00
072bd523b9 Updated readme 2024-04-17 14:13:53 -04:00
85a7f9e1c1 Fix arg parsing 2024-04-17 13:52:07 -04:00
e98f6854f5 Use leading underscore for file-local variables and functions instead of
"private" keyword
2024-04-17 13:44:01 -04:00
35339e2aa0 Fix globals issue 2024-04-16 14:02:39 -04:00
1e283dd310 Exit with 1 on failure 2024-04-16 13:56:19 -04:00
f290edbad9 Fix globals 2024-04-16 13:56:11 -04:00
369c601a56 Invert escaping so user symbols get prepended with "$" and builtin
symbols don't
2024-04-16 13:50:07 -04:00
98b93bb159 Remove (void)argc/v 2024-04-16 12:56:59 -04:00
d491235812 Run tests in random order 2024-04-15 20:34:48 -04:00
4c5dc9443e Rename SSS_HASH_VECTOR -> TOMO 2024-04-14 21:58:49 -04:00
c8e2f0faad Rudimentary stack traces 2024-04-13 15:20:42 -04:00
fab547ebc8 Fix issue with empty command line args 2024-04-13 15:03:37 -04:00
63e6ba596a Change table syntax to {key:value} instead of {key=>value} 2024-04-13 13:39:44 -04:00
cc07637134 Tweak command line arguments (add -e and --help) 2024-04-12 14:36:25 -04:00
a8dfeca8cf Update readme 2024-04-12 14:28:41 -04:00
43eaad3571 Update readme 2024-04-12 14:26:52 -04:00
48d272c3fa Support Text arrays as main function arguments 2024-04-12 13:43:23 -04:00
6c01eef851 Introducing the main() function 2024-04-12 13:09:31 -04:00
17cb6ffd88 Add Bool.from_text() 2024-04-10 13:33:40 -04:00
e6f78f1d89 Add from_text() method for ints/nums 2024-04-10 13:23:49 -04:00
ccb9e36704 Fix empty string check 2024-04-10 11:54:09 -04:00
0f9c1f4eb4 Add corecursive func test 2024-04-10 11:53:18 -04:00
4f514378ac Fix corecursive functions and global variables 2024-04-10 11:49:43 -04:00