Commit graph

39 commits

Author SHA1 Message Date
1d54ac1433 cleanup code 2025-05-18 10:53:51 +02:00
c45f19143b improve type inferencing + fix bug in CallBlock suggestion priorities 2025-05-18 10:33:43 +02:00
24689b3783 correct suggestion order also in body of lambda function 2025-05-17 23:32:35 +02:00
1ff4b181ff fix suggestion order 2025-05-17 22:40:17 +02:00
46baad7cf4 self-host fonts; proper error bubbling 2025-05-17 18:01:31 +02:00
68104a8102 add example + only show scrollbars in Chrome when necessary 2025-05-17 12:13:44 +02:00
51ff4d24b0 eval lambda block: bubble up substitutions 2025-05-17 12:06:27 +02:00
496463bbac use unused typevar when encountering unknown value or lambda parameter - type inferencing still not entirely correct 2025-05-17 10:38:54 +02:00
d7a4e210a2 can disable syntactic sugar also for let...in... blocks + nicer looking fn input parameters 2025-05-17 09:50:16 +02:00
e850952738 nicer looking 2025-05-17 09:25:13 +02:00
8abbac4bc9 Let ... in ... block autocomplete also sorted by best 'match', type-wise 2025-05-16 08:51:58 +02:00
2d81e42447 change the way text suggestions are rendered + option to disable syntactic sugar 2025-05-15 22:22:45 +02:00
ea8c015eff when sorting suggestions, not only function and input type are matched, but also output type (=input of surrounding function) 2025-05-15 10:09:22 +02:00
d3138e6617 add 'filter' property to CallBlock to prepare to filter suggestions on output type 2025-05-14 10:36:49 +02:00
0a8d430d3a fix suggestion order 2025-05-14 10:29:07 +02:00
18e28fe8b0 small fix 2025-05-14 08:19:50 +02:00
5964510036 greatly simplify state + cleanup code 2025-05-14 08:09:35 +02:00
2d0deca127 don't re-compute values on first render (unnecessary, values are part of state) 2025-05-14 06:46:03 +02:00
174bab79e4 now it really works! 2025-05-13 20:56:16 +02:00
c31ba88dfd when currying, errors highlight the offending parameter (almost) 2025-05-13 18:54:31 +02:00
35d1034c67 greatly simplified app 2025-05-13 18:29:37 +02:00
9c0c2dab90 trying to simplify things a bit more... will get rid of 'onResolve' 2025-05-13 16:33:25 +02:00
897824e07d Let ... in ... block is working 2025-05-13 15:06:15 +02:00
f09261df93 move 'env' from state to context 2025-05-13 14:33:35 +02:00
9ef160aeb7 simplify some things 2025-05-13 13:11:57 +02:00
fa70d2f3f4 further improved keyboard handling 2025-05-13 00:15:47 +02:00
95eb8aef84 better-looking parameters 2025-05-12 23:40:58 +02:00
9afaa41fbb implement nested handlers in call block 2025-05-12 17:18:57 +02:00
1f831b0517 simple undo/redo of application state 2025-05-12 16:45:17 +02:00
8744bad0b8 nicer, nested rendering when currying 2025-05-12 16:26:25 +02:00
f75d0641b4 set default editor state to something non-empty 2025-05-12 15:50:13 +02:00
0a9dbd454f simplify rollback 2025-05-12 11:26:37 +02:00
ebae0afc81 more progress 2025-05-12 11:11:18 +02:00
2b0d8bc2c6 a bit more progress 2025-05-12 00:02:14 +02:00
a9ae4f9888 decent progress 2025-05-11 22:54:23 +02:00
e901fc3f76 making some good progress 2025-05-11 13:22:12 +02:00
5f3d697866 use <div> with property 'contenteditable' to accept text input (much simpler) 2025-05-10 22:01:24 +02:00
cc65498b12 delete README 2025-05-10 16:38:19 +02:00
d05d9125c9 very simple hacked-together auto-completion demo 2025-05-10 16:36:49 +02:00