46 Commits (a39c80fc744e02e6c4ea81bc6ab78b650575dc00)

Author SHA1 Message Date
Dustin Swan a39c80fc74
Cleaning 1 day ago
Dustin Swan 59dc90cfa5
Fixing my textInput and example app that uses it 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 9f078aaeef
Returning coords with Clickable event. Usinsg them to position cursor when clicking in a textfield 2 days ago
Dustin Swan 787e071fbd
Adding Clip ui primitive. text boxes looking... well, still awful but getting there 3 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 a9e10b3123
Trying to make a text input. this shit is hard 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 86422888de
better fonts temporarily 4 days ago
Dustin Swan bc186d658c
creating a CG text input 4 days ago
Dustin Swan 12d27a1bff
Adding Opacity ui primitive 4 days ago
Dustin Swan 441957185e
border radius on rect 4 days ago
Dustin Swan 58715f42bf
Fixing ugly canvas. now full browser window, fixing dpi blurry issue 4 days ago
Dustin Swan 86996ed4ef
fixing hitTest bounds for clickable. using Constructors for Clickable events. starting to think about design systems.. 4 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 645de97db2
text input now passes actual constructors instead of strings 4 days ago
Dustin Swan 223eea72e3
Adding Stack and TextInput to the UI 4 days ago
Dustin Swan 50bb15e974
Typo 4 days ago
Dustin Swan e22f99b796
even more stdlib 4 days ago
Dustin Swan aa7a034368
More stdlib fun 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 52647a9ce1
Started working on CG UI primitives. rendering to a canvas 5 days ago
Dustin Swan 232d9351c1
constructor application 5 days ago
Dustin Swan aace8a5a77
recursion! 5 days ago
Dustin Swan a85203bc94
evaluating pattern matching 5 days ago
Dustin Swan 7f94cfe8cd
parsing pattern matching 5 days ago
Dustin Swan d81318333e
String & list concatenation 6 days ago
Dustin Swan c44a6858ff
interpreting record update, and > (func application pipe thing). cleaning up main.ts test code 6 days ago
Dustin Swan 59b718619c
interpreting record access 6 days ago
Dustin Swan b5bd084ee4
interpreting lists, records, constructors 6 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 f2f81b5ed6
cleaning up interpreter. adding more types. fixing function application, handling infix binary ops, added currying 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
Dustin Swan f74d374555
baby's first lexer 1 week ago
Dustin Swan 920151f49c
lambdas and application now in AST, types and interpreter 1 week ago
Dustin Swan d60e5aa29f
First commit for CG 1 week ago