Commit Graph

28 Commits

Author SHA1 Message Date
61e482f6f3 Initial WIP first past 2024-09-02 18:47:39 -04:00
dceb925573 Bugfix for parsing ints 2024-08-23 11:38:54 -04:00
ad51b208b4 Overhaul of import syntax. Now everything uses use: use foo, `use
./foo.tm`, `use <foo.h>`, `use libfoo.so`
2024-08-22 14:02:48 -04:00
752ab8212c Split BigIntType out of IntType and switch to using enums for the size
of ints/nums
2024-08-18 11:49:51 -04:00
9c2d7c437d Fix up type conversions with ints and nums 2024-08-14 14:57:01 -04:00
32a6a5ce37 Support more binops 2024-08-13 14:29:51 -04:00
b608d7fbbb Improvements to repl 2024-08-13 14:28:02 -04:00
d08f795794 Partially working first draft of bigints 2024-08-13 01:30:25 -04:00
b37bd70b60 For tables, deprecate support for square bracket indexing and .default
values, replacing them with a `:bump()` function for tables with numeric
values. This means that counters can be implemented easily without the
need to mask complexity.
2024-08-10 16:03:41 -04:00
167634eaa4 Change array API to take a padded item size instead of a type info in
most cases
2024-08-03 15:33:50 -04:00
b2e752ee32 Replace heap_str with GC_strdup 2024-07-26 13:30:24 -04:00
39576466a7 Add ReturnType(ret) so we can more accurately track return values for
`if` statements
2024-07-13 18:43:50 -04:00
a86dc05d36 Cache AST parsings so we don't have to re-parse files 2024-07-05 15:51:23 -04:00
9f8be0c502 Support library name as a separate environment field from namespace 2024-06-16 16:08:35 -04:00
1df26851d7 Add syntax for "inline C(...)" 2024-05-18 16:31:34 -04:00
fe28816b50 Fix REPL 2024-05-14 14:25:27 -04:00
2e27b88c1b Improved syntax for optionals 2024-04-30 13:18:47 -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