7a8da33de9cl-interpret: Tuple structs + fix tuple member accessJohn2025-02-22 03:31:27 -06:00
697d139cfdconlang: Add Tuple-Struct Patterns - Patterns are no longer parsed with the highest precedence - Function calls with just a path and a tuple of args can now be transformed into a PatternJohn2025-02-22 01:37:08 -06:00
5db77db6b8cl-interpret: Use dyn dispatch for iterators. - This is a hack because the language has the syntax but no concept of iteratorsJohn2025-01-28 06:25:04 -06:00
145a24c5ffcl-interpret: Assignment 2.0, now with more destructuring! TODO: Destructuring let, destructuring patterns in function args..?John2025-01-28 06:23:37 -06:00
485afb7843cl-interpret: Make ConValues act like value types (Aside from the fact that they're smothered in heap allocations)John2025-01-28 06:20:10 -06:00
ae11d87d68Merge pull request 'Basic floating point support (WIP)' (#18) from floats into mainJohn2024-09-19 19:27:51 +00:00
96be5aba6crepline: Add a code sample demonstrating the use of prebaked::read_andJohn2024-09-19 14:08:50 -05:00
b9f4994930sample-code: update sqrt.cl to use new float syntaxJohn2024-09-19 14:02:58 -05:00
f4fe07a08bcl-lexer: Hack around ambiguity between 1.0 and 1..0John2024-09-19 14:02:02 -05:00
94be5d787fcl-ast: always pretty-print decimal for floatsJohn2024-09-19 14:00:22 -05:00
5deb585054cl-ast: Add float support - Smuggle floats as integers to maintain eq - This is bad, but not terrible for spec-compliant floats. Might have issues with NaN.John2024-09-19 13:20:19 -05:00
56e71d6782cl-lexer: Add a hacky workaround for float support.John2024-09-19 13:16:27 -05:00
b17164b68bcl-interpret: Write an example for driving the interpreterJohn2024-07-29 15:42:05 -05:00
ecebefe218cl-interpret: Knock those modules free!John2024-07-27 22:47:46 -05:00
fc374e0108ascii.cl: TODO: throw out the interpreter (EVIL)John2024-07-27 20:00:22 -05:00
4295982876ascii.cl: Cleanup on aisle "bitwise"John2024-07-27 19:59:35 -05:00
729155d3a4ascii.cl: Fix type annotations (though they're not yet evaluated in the interpreter)John2024-07-27 19:38:41 -05:00
8c0ae02a71sample-code/ascii.cl: Make it cooler - Compute char value of digit - Substitute C0 control codes for Unicode C0 Control Pictures - Extend through Unicode Latin-1 Supplement - Blank out C1 control code rangeJohn2024-07-27 19:34:37 -05:00
7f7836877esample-code: Add shebang comments to samples with a main() functionJohn2024-07-27 18:56:36 -05:00
b2733aa171cl-interpret/builtin: Add len builtin as a quick hack to write more interesting programs.John2024-07-27 18:43:03 -05:00
a233bb18bccl-lexer: Record the contents of commentsJohn2024-07-27 18:41:50 -05:00
e06a27a5b1cl-lexer: Treat #!/ | #!\ as a commentJohn2024-07-27 18:41:18 -05:00