Commit graph

76 commits

Author SHA1 Message Date
01d8a6d67c
Fixing small focus bugs 2026-02-10 19:14:19 -07:00
8bc05efa1e
Fixing pretty print ast. adding a few more builtins :( getting further with inspector 2026-02-10 16:46:31 -07:00
30234875fe
adding autoFocus to stateful components. getting global keys working 2026-02-09 21:28:46 -07:00
244126ee9e
Always passing all keyboard events to OS 2026-02-09 20:48:18 -07:00
0a60d472ea
Fixing keydown events. 2026-02-09 20:35:17 -07:00
3fe7750290
namspacing and lowercasing ui functions. they're functions, not data constructors now. matching CG userspace ui functions 2026-02-09 19:29:08 -07:00
b8a396a734
Allowin thunks in eventHandlers. more progress on OS palette. adding fuzzy match to storeSearch 2026-02-09 17:38:35 -07:00
f378149146
nested rebind now works 2026-02-09 15:22:07 -07:00
559191c65e
still don't have modules. instead will load all source in /cg/ dir, in alpha filename order 2026-02-09 14:04:26 -07:00
0deb8f6307
Adding getSource native function 2026-02-09 13:54:42 -07:00
767416e30a
Moving cg code into its own dir 2026-02-09 13:18:05 -07:00
6f7f06b748
deleting interpreter now that we have compiler 2026-02-09 13:11:39 -07:00
60c8f74d50
Letting us redefine functions, reactively 2026-02-09 12:54:09 -07:00
33f3b2cfc2
Cleaning 2026-02-08 20:36:19 -07:00
cc9f5959d7
Adding measure to new compile code. Cleaning up debug 2026-02-08 20:14:13 -07:00
2cd5a609bb
compiling. interpreting was too slow 2026-02-08 20:02:06 -07:00
6edf592637
Adding center and box, more color options to UI stuff, working on command palette styling 2026-02-07 23:47:11 -07:00
da97f53729
Cleaning up UI primitives. fixing parser bugs. still struggling to make a command palette lol 2026-02-07 15:23:25 -07:00
2d687b5d38
Dead code. cleaning up parse. allowing trailing commas. starting to work on the 'os' palette 2026-02-07 12:57:14 -07:00
a30d2217b8
Adding function to list all store entries. OS command palette thing coming soon 2026-02-07 00:03:08 -07:00
eef4daf8ec
Adding clear-storage helper button 2026-02-06 23:39:36 -07:00
8c3237e0db
we have persistence. persisting all store values' ASTs to localStorage 2026-02-06 23:34:24 -07:00
1029b1671f
reactive nested records 2026-02-06 22:18:48 -07:00
84ef946281
we have reactivity 2026-02-06 21:03:59 -07:00
accf1fd1dd
don't need the tests any more 2026-02-06 21:03:08 -07:00
6652c0f970
records in the store 2026-02-06 20:10:59 -07:00
70569dfe48
No more Refs, no more store, every top level def goes in the store, to update store values use := 2026-02-06 18:06:01 -07:00
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 2026-02-06 17:33:00 -07:00
9b8916eb72
namespacing the store functions. allowing _ in params 2026-02-05 22:55:24 -07:00
1af838126e
We have Refs! Emit and Update event to update refs in the 'store'. 2026-02-05 21:59:05 -07:00
a39c80fc74
Cleaning 2026-02-05 20:42:51 -07:00
59dc90cfa5
Fixing my textInput and example app that uses it 2026-02-05 20:18:33 -07:00
a9afb03694
Adding Stateful, giving up on elm style purity, components get their own state 2026-02-05 20:08:39 -07:00
9d1b079361
Better errors! 2026-02-04 21:21:52 -07:00
c44f06268f
Adding debug builtin. Allowing us to assign to _ in lets 2026-02-04 19:19:35 -07:00
9f078aaeef
Returning coords with Clickable event. Usinsg them to position cursor when clicking in a textfield 2026-02-04 18:58:27 -07:00
787e071fbd
Adding Clip ui primitive. text boxes looking... well, still awful but getting there 2026-02-03 23:12:30 -07:00
4626616b14
Fixing parsing when we have a b {}. that should be applying a to b and {}. instead it was applying b to {} 2026-02-03 23:02:04 -07:00
a9e10b3123
Trying to make a text input. this shit is hard 2026-02-03 22:56:17 -07:00
fadf59c6aa
Fixing parsing matches, now we can grab full expressions in the body, reducing the need for parens to wrap multi-line match cases 2026-02-03 21:52:13 -07:00
86422888de
better fonts temporarily 2026-02-03 18:06:03 -07:00
bc186d658c
creating a CG text input 2026-02-03 18:02:19 -07:00
12d27a1bff
Adding Opacity ui primitive 2026-02-03 14:28:39 -07:00
441957185e
border radius on rect 2026-02-03 13:50:06 -07:00
58715f42bf
Fixing ugly canvas. now full browser window, fixing dpi blurry issue 2026-02-03 13:28:20 -07:00
86996ed4ef
fixing hitTest bounds for clickable. using Constructors for Clickable events. starting to think about design systems.. 2026-02-03 13:00:54 -07:00
5af3af6b6c
cleaning 2026-02-03 12:18:04 -07:00
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 2026-02-03 12:17:41 -07:00
645de97db2
text input now passes actual constructors instead of strings 2026-02-03 11:21:38 -07:00
223eea72e3
Adding Stack and TextInput to the UI 2026-02-03 00:14:33 -07:00