Commit graph

52 commits

Author SHA1 Message Date
8020f9d1a0
Typeclasses 2026-03-26 21:38:32 -06:00
668ee3e4d8
Type constructors 2026-03-26 19:49:28 -06:00
3132b79aae
Starting to add types 2026-03-25 19:58:37 -06:00
76e6868cac
Palette history 2026-02-22 21:06:43 -07:00
db4abfa450
Fixing too much. also, the OS is actually spawning and managing windows 2026-02-12 16:13:00 -07:00
b1696499e5
Fixing lots of stuff. pretty printer. saving to localStorage again. store stuff. can't remember now 2026-02-11 16:57:51 -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
767416e30a
Moving cg code into its own dir 2026-02-09 13:18:05 -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
2cd5a609bb
compiling. interpreting was too slow 2026-02-08 20:02:06 -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
84ef946281
we have reactivity 2026-02-06 21:03: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
9d1b079361
Better errors! 2026-02-04 21:21:52 -07:00
a9e10b3123
Trying to make a text input. this shit is hard 2026-02-03 22:56:17 -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
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
223eea72e3
Adding Stack and TextInput to the UI 2026-02-03 00:14:33 -07:00
aa7a034368
More stdlib fun 2026-02-02 22:44:40 -07:00
9edee10508
Adding spread operator. starting to build a stdlib. omg 2026-02-02 21:20:39 -07:00
216fe6bd30
Adding builtins as native-functions. desugaring symbols as native function application. except ~ which is the new pipe operator, > is now greater than 2026-02-02 20:10:32 -07:00
5b40e9d298
We have UI! kind of 2026-02-01 23:26:30 -07:00
52647a9ce1
Started working on CG UI primitives. rendering to a canvas 2026-02-01 21:35:04 -07:00
232d9351c1
constructor application 2026-02-01 19:47:53 -07:00
aace8a5a77
recursion! 2026-02-01 19:31:44 -07:00
a85203bc94
evaluating pattern matching 2026-02-01 19:22:50 -07:00
7f94cfe8cd
parsing pattern matching 2026-02-01 18:42:50 -07:00
d81318333e
String & list concatenation 2026-02-01 16:53:45 -07:00
c44a6858ff
interpreting record update, and > (func application pipe thing). cleaning up main.ts test code 2026-02-01 16:46:18 -07:00
59b718619c
interpreting record access 2026-02-01 16:23:52 -07:00
b5bd084ee4
interpreting lists, records, constructors 2026-02-01 16:20:13 -07:00
1d0f1d5423
Fixing the issue that stopped this from parsing correctly: 'sum = x y \ x + y; sum 5 3' 2026-02-01 16:09:49 -07:00
f2f81b5ed6
cleaning up interpreter. adding more types. fixing function application, handling infix binary ops, added currying 2026-02-01 16:06:06 -07:00
b6f7e63e49
parsing record access and update 2026-02-01 01:19:56 -07:00
6e8b5afd3b
parsing lambdas 2026-02-01 01:01:48 -07:00
0f0371461d
Parsing bindings. adding AST pretty printer 2026-02-01 00:43:01 -07:00
1fc116f2fe
parsing function application 2026-02-01 00:18:43 -07:00
1ed325e98b
more CG syntax. parsing the easy stuff 2026-02-01 00:03:32 -07:00
71237d0307
Got parser working. now i'm switching from toy language to CG syntax. lexer is... done??? maybe 2026-01-31 16:07:44 -07:00
f74d374555
baby's first lexer 2026-01-30 23:02:46 -07:00