Commit Graph

158 Commits

Author SHA1 Message Date
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
47fca94606 Bugfix for 1e-2-3 2024-10-09 04:17:34 -04:00
9dcc7ee7a9 Get rid of fn:func(Int,Num) syntax (unnamed arguments) 2024-10-09 01:56:33 -04:00
6ae27d409a Better message 2024-10-08 21:46:03 -04:00
6b9055db7c Deprecate readonly pointers for now 2024-10-04 13:21:56 -04:00
8f346b48aa Fix up some compiler flags around floating point numbers so they work
better with -Ofast and have more standardized behavior
2024-10-03 14:19:23 -04:00
ec0606091b Add datetime literal and tests 2024-09-30 13:55:55 -04:00
566356d82e Fix parsing of REPL code 2024-09-28 14:45:15 -04:00
ca93e6f3cb Simplify code by making name := use ... a Use AST instead of a Declare 2024-09-27 14:56:24 -04:00
d2ef94104e Convert used URLs to hashes 2024-09-23 22:42:15 -04:00
7f5af625e5 Support useing .c files and .S files (assembly) 2024-09-18 15:39:22 -04:00
63affe6d24 Support use "foo.h" 2024-09-18 14:58:19 -04:00
2c30feaa7c Clean up parser forward declarations 2024-09-18 00:51:30 -04:00
6f5de04b14 Deprecate dead code 2024-09-18 00:43:50 -04:00
7e0b1a3214 Deprecate linker directives 2024-09-18 00:43:13 -04:00
8e3c871f27 Code cleanup 2024-09-18 00:42:33 -04:00
4e670c8bca Clean up some dead code 2024-09-18 00:35:01 -04:00
10a51ad996 Bugfix for string escaping in printouts 2024-09-16 00:15:54 -04:00
6b5a9d65e3 Overhaul of how libraries are installed 2024-09-15 21:18:42 -04:00
8ee23054bf Update Inline C syntax and documentation/tests 2024-09-15 17:34:34 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
c455e7b67d Rename builtins/ -> stdlib/ 2024-09-13 20:18:08 -04:00
4380039acc Rename builtins to use plurals when appropriate 2024-09-13 20:08:20 -04:00
51c346bbc5 Code cleanup 2024-09-13 19:59:28 -04:00
34c562e88e Move cord helper functions into their own file 2024-09-13 14:23:24 -04:00
46a2aa2ffc Fix up comprehensions so set comprehensions work and everything is a bit
more clean
2024-09-12 14:27:13 -04:00
56a4d13975 Automatic promotion to single-argument enum tags with a unique type 2024-09-12 13:05:08 -04:00
05724a659f Change unicode escape to \{name} and add escape for ANSI CSI sequences:
\[...]
2024-09-12 01:43:00 -04:00
de23577091 Allow trailing whitespace in parens expressions 2024-09-12 01:04:53 -04:00
fa7e52787f Add postfix ! operator for optionals 2024-09-12 00:13:53 -04:00
b0b23acf88 Rename "Nil"->"Null" for consistency 2024-09-11 13:55:41 -04:00
210179ee67 Optional enums (deprecated custom tag values) 2024-09-11 12:29:48 -04:00
989dc3f442 Support if x := blah: ... 2024-09-11 01:48:15 -04:00
7126755275 Add optional types 2024-09-11 01:31:31 -04:00
0570acfa15 Fix path escapes 2024-09-09 03:20:31 -04:00
1fbe2cb5dd For parsing paths, use nested parens: (./foo), also add some methods 2024-09-09 02:02:08 -04:00
11c560ebcc More path stuff including some methods 2024-09-09 01:14:33 -04:00
13a9304dec Initial working version 2024-09-09 00:22:12 -04:00
aeed1992e9 Fix nearly every GCC warning and add __attribute__((pure/const)) where
appropriate
2024-09-08 17:17:15 -04:00
b0d806a1f0 Add unicode name escapes: \U[penguin] 2024-09-07 01:43:36 -04:00
a90ef1973f Don't parse suffixes on interpolations 2024-09-06 22:30:46 -04:00
9581231408 Remove unused 'import' keyword 2024-09-06 15:01:27 -04:00
176205a22d Print stack trace if $TOMO_STACKTRACE is set 2024-09-06 14:41:34 -04:00
4b352f89a3 Add Shell dsl type 2024-09-06 11:37:33 -04:00
391c1b6bde Rename table_t -> Table_t 2024-09-05 14:57:31 -04:00
fa5ca582ff Clean up some imports 2024-09-05 02:37:45 -04:00
d1b2e9f598 Disallow 'use' statements that aren't top level 2024-09-04 13:48:26 -04:00
64143f0a13 Syntax overhaul (comments back to #, print statments to !!),
using `$/.../` for patterns and using a DSL for patterns
2024-09-03 13:19:41 -04:00
61e482f6f3 Initial WIP first past 2024-09-02 18:47:39 -04:00
9496c4abcb Minor cleanup 2024-08-25 14:35:38 -04:00