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_and
#18
John2024-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
53cf71608asample-code/hex.cl: Fix casting TODO, add to_string_radix functionJohn2024-07-27 17:46:27 -05:00
883c2677d9cl-parser: Index is NOT a low precedence operator!!!John2024-07-27 17:37:29 -05:00
7d98ef87d5sample-code: proper type annotations on HEX_LUT, add FIXME for min and maxJohn2024-07-26 06:22:29 -05:00
a188c5b65ehex.cl: make the lut squareJohn2024-07-26 06:17:00 -05:00
872818fe7csample-code/fib.cl: rename fib-iterative -> fibit (easier to type)John2024-07-26 06:13:59 -05:00
3aef055739sample-code/ascii: Use as casting to print the entire printable ASCII rangeJohn2024-07-26 06:10:59 -05:00
38a5d31b08cl-ast: Escape string and char literals when pretty-printingJohn2024-07-26 05:51:20 -05:00
e43847bbd4conlang: Introduce as casting Arbitrary primitive type conversionJohn2024-07-26 05:26:08 -05:00
a8b8a91c79sample-code: print->println to match interpreter behaviorJohn2024-07-26 05:13:52 -05:00
695c812bf5cl-repl: increase jank: first positional arg is main file, remainder are importsJohn2024-07-26 05:13:06 -05:00
524c84be9ecl_typeck: Add new primitive types (including joking-point numbers)John2024-07-26 03:24:34 -05:00
4096442f75cl-typeck: Turn ref into a linked list. This should be fine, since the only thing you can do with a ref is dereference it.John2024-07-26 02:14:41 -05:00
a462dd2be3stdlib: Use Conlang module layoutJohn2024-07-25 07:05:57 -05:00
4d6b94b570conlang: Bump version to v0.0.6 - Major milestone: cl-typeck doesn't suck as much!
v0.0.6
John2024-07-25 05:56:05 -05:00
fe2b816f27cl-typeck: Crate-spanning refactor part 2 - Removed all unreferenced files - Reimplemented missing/nonfunctional behavior - Added module documentation for most things - TODO: item-level docs on Entry(Mut) - Reparented the stages of Table population into the stage module. - TODO: rewrite type inference to use only the tools provided by Table.John2024-07-25 05:55:11 -05:00
b7ad285a11cl-typeck: give Handle accessors for useful attributesJohn2024-07-24 14:29:27 -05:00
61d8cf8550stdlib: Update num.cl with eased name resolution restrictions
v0.5.0_1
John2024-07-21 06:03:16 -05:00
70872d86f9cl-typeck: Improve path resolution semantics, and DON'T REPARENT IMPLs - Perform heirarchical resolution through "transparent" nodes - Reparenting impls broke relative path traversal entirely. To impl something, it must already be in scope anyway. - TODO: well-formedness checks?John2024-07-21 06:01:54 -05:00
6bf34fdff6cl-typeck: Add path-resolution relative to an ID Great for interactive debuggingJohn2024-07-21 05:57:15 -05:00
9d7ab77999cl-typeck: Add Handle type - Holds a DefID and a reference to the Project - Pretty-prints def signatures - Use handles when printing types (WIP)John2024-07-21 05:45:40 -05:00