Commit graph

53 commits

Author SHA1 Message Date
bb6e742f5f simplify suggestions ordering 2025-05-20 16:53:04 +02:00
fdbf43a4e9 refactor a bit more 2025-05-20 15:35:39 +02:00
230916ceb1 refactor a bit 2025-05-20 14:53:24 +02:00
4fee37944d fix configurations 2025-05-20 09:05:18 +02:00
5c3018b8c7 hitting spacebar always adds a parameter to the first ancestor that is a CallBlock 2025-05-20 09:02:19 +02:00
5b6bcf5ffa everything seems to work ... but code is dirty 2025-05-19 23:59:21 +02:00
a19dbe1b34 bump dope lib version because a bug was fixed 2025-05-19 17:05:43 +02:00
f9c28ac8c8 add example: defining a higher-order function (doesn't work yet) 2025-05-19 15:55:04 +02:00
ec2944cdb7 more improvements 2025-05-19 15:43:11 +02:00
d877b42a12 much improved type inferencing 2025-05-19 15:01:30 +02:00
28e5032923 small changes - disable suggestions temporarily 2025-05-18 12:01:56 +02:00
93f665ba8f rename Editor -> ExprBlock 2025-05-18 11:10:25 +02:00
fe83532261 more cleanup 2025-05-18 11:05:03 +02:00
802373ba16 cleanup more 2025-05-18 10:59:25 +02:00
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