69 Commits (f378149146722756b157856cc69b666d175538e1)
 

Author SHA1 Message Date
Dustin Swan f378149146
nested rebind now works 3 weeks ago
Dustin Swan 559191c65e
still don't have modules. instead will load all source in /cg/ dir, in alpha filename order 3 weeks ago
Dustin Swan 0deb8f6307
Adding getSource native function 3 weeks ago
Dustin Swan 767416e30a
Moving cg code into its own dir 3 weeks ago
Dustin Swan 6f7f06b748
deleting interpreter now that we have compiler 3 weeks ago
Dustin Swan 60c8f74d50
Letting us redefine functions, reactively 3 weeks ago
Dustin Swan 33f3b2cfc2
Cleaning 3 weeks ago
Dustin Swan cc9f5959d7
Adding measure to new compile code. Cleaning up debug 3 weeks ago
Dustin Swan 2cd5a609bb
compiling. interpreting was too slow 3 weeks ago
Dustin Swan 6edf592637
Adding center and box, more color options to UI stuff, working on command palette styling 3 weeks ago
Dustin Swan da97f53729
Cleaning up UI primitives. fixing parser bugs. still struggling to make a command palette lol 3 weeks ago
Dustin Swan 2d687b5d38
Dead code. cleaning up parse. allowing trailing commas. starting to work on the 'os' palette 3 weeks ago
Dustin Swan a30d2217b8
Adding function to list all store entries. OS command palette thing coming soon 3 weeks ago
Dustin Swan eef4daf8ec
Adding clear-storage helper button 3 weeks ago
Dustin Swan 8c3237e0db
we have persistence. persisting all store values' ASTs to localStorage 3 weeks ago
Dustin Swan 1029b1671f
reactive nested records 3 weeks ago
Dustin Swan 84ef946281
we have reactivity 3 weeks ago
Dustin Swan accf1fd1dd
don't need the tests any more 3 weeks ago
Dustin Swan 6652c0f970
records in the store 3 weeks ago
Dustin Swan 70569dfe48
No more Refs, no more store, every top level def goes in the store, to update store values use := 3 weeks 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 3 weeks ago
Dustin Swan 9b8916eb72
namespacing the store functions. allowing _ in params 3 weeks ago
Dustin Swan 1af838126e
We have Refs! Emit and Update event to update refs in the 'store'. 3 weeks ago
Dustin Swan a39c80fc74
Cleaning 3 weeks ago
Dustin Swan 59dc90cfa5
Fixing my textInput and example app that uses it 3 weeks ago
Dustin Swan a9afb03694
Adding Stateful, giving up on elm style purity, components get their own state 3 weeks ago
Dustin Swan 9d1b079361
Better errors! 3 weeks ago
Dustin Swan c44f06268f
Adding `debug` builtin. Allowing us to assign to _ in lets 3 weeks ago
Dustin Swan 9f078aaeef
Returning coords with Clickable event. Usinsg them to position cursor when clicking in a textfield 3 weeks ago
Dustin Swan 787e071fbd
Adding Clip ui primitive. text boxes looking... well, still awful but getting there 3 weeks 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 weeks ago
Dustin Swan a9e10b3123
Trying to make a text input. this shit is hard 3 weeks 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 weeks ago
Dustin Swan 86422888de
better fonts temporarily 3 weeks ago
Dustin Swan bc186d658c
creating a CG text input 3 weeks ago
Dustin Swan 12d27a1bff
Adding Opacity ui primitive 3 weeks ago
Dustin Swan 441957185e
border radius on rect 3 weeks ago
Dustin Swan 58715f42bf
Fixing ugly canvas. now full browser window, fixing dpi blurry issue 3 weeks ago
Dustin Swan 86996ed4ef
fixing hitTest bounds for clickable. using Constructors for Clickable events. starting to think about design systems.. 3 weeks ago
Dustin Swan 5af3af6b6c
cleaning 3 weeks 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 3 weeks ago
Dustin Swan 645de97db2
text input now passes actual constructors instead of strings 3 weeks ago
Dustin Swan 223eea72e3
Adding Stack and TextInput to the UI 4 weeks ago
Dustin Swan 50bb15e974
Typo 4 weeks ago
Dustin Swan e22f99b796
even more stdlib 4 weeks ago
Dustin Swan aa7a034368
More stdlib fun 4 weeks ago
Dustin Swan 9edee10508
Adding spread operator. starting to build a stdlib. omg 4 weeks 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 weeks ago
Dustin Swan 5b40e9d298
We have UI! kind of 4 weeks ago
Dustin Swan 52647a9ce1
Started working on CG UI primitives. rendering to a canvas 4 weeks ago