23 Commits (70569dfe48cfb2b3cc47698701dcb62122bbd4ab)

Author SHA1 Message Date
Dustin Swan 70569dfe48
No more Refs, no more store, every top level def goes in the store, to update store values use := 10 hours ago
Dustin Swan 31ef279f16
Language now supports top level definitions. no more last-expression-is-a-value thing, it's also a def. Host knows to run the special `os` def 11 hours ago
Dustin Swan 9b8916eb72
namespacing the store functions. allowing _ in params 1 day ago
Dustin Swan a9afb03694
Adding Stateful, giving up on elm style purity, components get their own state 1 day ago
Dustin Swan 9d1b079361
Better errors! 2 days ago
Dustin Swan c44f06268f
Adding `debug` builtin. Allowing us to assign to _ in lets 2 days ago
Dustin Swan 4626616b14
Fixing parsing when we have `a b {}`. that should be applying a to b and {}. instead it was applying b to {} 3 days ago
Dustin Swan fadf59c6aa
Fixing parsing matches, now we can grab full expressions in the body, reducing the need for parens to wrap multi-line match cases 3 days ago
Dustin Swan 5af3af6b6c
cleaning 4 days ago
Dustin Swan d55ae33848
Just realized `point { x = 1 }` was ambiguous, could be record update or function application. changed record update syntax to: `point.{ x = 1 }`. And starting on ui components 4 days ago
Dustin Swan 9edee10508
Adding spread operator. starting to build a stdlib. omg 4 days ago
Dustin Swan 216fe6bd30
Adding builtins as native-functions. desugaring symbols as native function application. except ~ which is the new pipe operator, > is now greater than 4 days ago
Dustin Swan 5b40e9d298
We have UI! kind of 5 days ago
Dustin Swan a85203bc94
evaluating pattern matching 5 days ago
Dustin Swan 7f94cfe8cd
parsing pattern matching 5 days ago
Dustin Swan c44a6858ff
interpreting record update, and > (func application pipe thing). cleaning up main.ts test code 5 days ago
Dustin Swan 1d0f1d5423
Fixing the issue that stopped this from parsing correctly: 'sum = x y \ x + y; sum 5 3' 6 days ago
Dustin Swan b6f7e63e49
parsing record access and update 6 days ago
Dustin Swan 6e8b5afd3b
parsing lambdas 6 days ago
Dustin Swan 0f0371461d
Parsing bindings. adding AST pretty printer 6 days ago
Dustin Swan 1fc116f2fe
parsing function application 6 days ago
Dustin Swan 1ed325e98b
more CG syntax. parsing the easy stuff 6 days ago
Dustin Swan 71237d0307
Got parser working. now i'm switching from toy language to CG syntax. lexer is... done??? maybe 7 days ago