265 Commits
Author SHA1 Message Date
jacob 24f93ce750 Not sure what I just fixed. v1.0 stable 2025-10-18 10:26:39 -04:00
jacob 2fc3f1e1df Fixed some bugs and memory leaks. 2025-10-18 10:24:59 -04:00
jacob 9525535323 Got arrow syntax working. 2025-10-11 11:04:23 -04:00
jacob 0fa1c176f4 Added force & preserve operators. 2025-10-11 10:09:17 -04:00
jacob 868dcb6788 Merge branch 'types'. 2025-10-11 09:27:15 -04:00
jacob 4fb698918c Simple type checking. 2025-10-04 11:16:59 -04:00
jacob df74d29e54 Type parsing is good enough. 2025-10-04 10:04:15 -04:00
jacob 7181b31d4b Updated readme with tail-recursive factorial. 2025-10-04 09:33:47 -04:00
jacob 7630e4b99f Cleaned up remains of recursive destroy functions.
Not needed with new GC.
2025-09-27 13:35:34 -04:00
jacob 74d5a212cd Merge branch 'types'.
Just bumping master before it lags too out of date. Should be pretty
stable at this point.
2025-09-27 13:31:30 -04:00
jacob 90fce2fce4 Added types to ast. Added new call syntax. 2025-09-27 11:06:48 -04:00
jacob 94689be83b Refactoring.
VRef -> Ref
VDef -> Def
2025-09-27 10:13:57 -04:00
jacob cb5fa27eb3 Plans. 2025-09-12 16:38:16 -04:00
jacob 7c08e8da4d Fixed depends. 2025-09-12 16:33:45 -04:00
jacob fdf526750d Cleaned up more fdef stuff. 2025-09-12 16:32:58 -04:00
jacob 4e5b12b5b2 Updated README.md. 2025-09-01 00:18:59 -04:00
jacob b102a32999 Cleaned up fdef detritus. 2025-08-30 09:47:48 -04:00
jacob 518f2e9803 Changes to nomenclature.
"Kind" is how user-level types are called internally, to avoid
confusion. Kind literals in the AST have also been renamed to better
represent their function.
2025-08-29 09:56:40 -04:00
jacob 0e6bb7aa16 Cleaned up. 2025-08-28 11:12:19 -04:00
jacob 14ddf51f3c Bump version in README.md.
NOTE: changed versioning system slightly.
v0.3
2025-08-27 12:30:28 -04:00
jacob ac1d76361f Updated README.md. 2025-08-27 01:14:49 -04:00
jacob b789193484 Recursion works.
FINALLY YESSSS 🎉🎉🎉
2025-08-27 01:10:58 -04:00
jacob ab97f78fab Work on conditionals and equalities. 2025-08-27 00:41:48 -04:00
jacob 7c0b212ab4 Added a bit of familiar sugar to conditionals. 2025-08-26 23:50:06 -04:00
jacob 80c8038374 Added basic conditionals. 2025-08-26 23:47:15 -04:00
jacob e3cd78e1b4 Added basic implementation of booleans. 2025-08-26 22:58:58 -04:00
jacob b7b90f528b Created an awful hack for a clean exit on die(). 2025-08-26 18:30:08 -04:00
jacob 0ef44be808 Fixed some builtin arithmetic logic. 2025-08-26 18:24:28 -04:00
jacob 8924818ec4 Updated README.md. 2025-08-26 16:37:48 -04:00
jacob 73efa7e136 Cleaned up a bit. 2025-08-26 16:37:38 -04:00
jacob 4e8d7131d6 Merge branch 'lambda' 2025-08-26 16:26:06 -04:00
jacob bfce18ab81 Completed lambda implementation of functions.
Hooray! 🎉
2025-08-26 16:25:20 -04:00
jacob 7b648c4bd7 Fixed negative expressions. 2025-08-26 16:17:54 -04:00
jacob 4ec5d1c075 Fixed everything.
- Cleaned up call stack
- Fixed builtin function execution
- Fixed lambda execution
- Fixed call parsing
2025-08-23 10:53:12 -04:00
jacob 5ba070ced7 Things are still in motion. Last thing worked on: call execution. 2025-07-05 11:00:11 -04:00
jacob 8256643c0b Updated example. 2025-06-30 01:24:26 -04:00
jacob 29a217928e Things are in motion. 2025-06-30 01:22:39 -04:00
jacob 482f2b4877 Big refactor to unclutter ast.h.
Moves all print functions to own file for sanity.

Also, just hit 2,000 lines; nice.
2025-06-28 12:25:10 -04:00
jacob 36fd838a8f Done with some things, saving here. 2025-06-28 12:05:07 -04:00
jacob 289243de38 Added lambda parsing. 2025-06-28 11:15:21 -04:00
jacob 67aafb3ead Updated syntax to abbreviate functions defs. 2025-06-28 10:55:15 -04:00
jacob 3b5bee0695 Added trap for GDB &c. 2025-06-18 17:21:45 -04:00
jacob 970fc39198 Cleaned up types with anonymous structs. 2025-06-14 11:22:07 -04:00
jacob 8d3e43d7dc Bump version in README.md. v0.2 2025-06-14 14:09:54 +00:00
jacob d4293e87f3 Everything works. 2025-06-14 10:02:04 -04:00
jacob abb8ff6b58 Finished garbage collector.
🎉
2025-06-14 09:23:49 -04:00
jacob 80122b6572 I try. 2025-05-31 19:13:26 -04:00
jacob a4afd3b58a Fixed segfault on spacey input. 2025-05-31 18:25:11 -04:00
jacob 90c8c91410 Somethings working. 2025-05-31 18:19:04 -04:00
jacob f5ab0e9cb0 Fixed memory leak. 2025-05-24 10:52:27 -04:00