Commit graph

34 commits

Author SHA1 Message Date
Felix Roos
319a2d7289
fix: tests 2025-10-07 23:05:00 +02:00
Tristan de Cacqueray
3dc9b3524c mondo: add & sugar 2025-10-07 17:19:27 +02:00
alex
1eb5f6a995 format 2025-05-03 20:38:43 +01:00
alex
9b10dc8535 change pipe symbol from '.' to '#' 2025-05-03 20:37:44 +01:00
Felix Roos
e3a6444f41
mondo: support line comments 2025-05-02 08:30:09 +02:00
Felix Roos
243adda3dd
mondo: more sicp tests 2025-05-01 10:56:33 +02:00
Felix Roos
7fc21d55d7
mondo: rational number test 2025-04-04 10:04:22 +02:00
Felix Roos
d5ef686fe0
mondo: sicp 100 2025-04-04 00:45:00 +02:00
Felix Roos
d4733a30ab
mondo: add half interval method example 2025-04-03 17:30:03 +02:00
Felix Roos
989bd0990e
mondo: let expressions 2025-04-03 17:01:36 +02:00
Felix Roos
60d09adb44
mondo: more tests 2025-04-02 22:33:18 +02:00
Felix Roos
b2588e8c93
fix: lint 2025-04-02 22:11:06 +02:00
Felix Roos
39d2784441
mondo: more sicp tests
+ support special form for function def (might remove later)
+ support multiple expressions in fn body
+ support lexical scoping
2025-04-02 22:09:17 +02:00
Felix Roos
aa70246afc
mondo: more sicp 2025-04-01 23:24:47 +02:00
Felix Roos
f6ffdd6ae6
mondo: move +- to ops
+ add "raw" to parsed pairs
+ implement match + if
+ add more sicp examples
2025-04-01 22:31:42 +02:00
Felix Roos
077aac1888
mondo: add some examples from sicp book 2025-04-01 21:50:03 +02:00
Felix Roos
f2372e7a41
mondo: refactor evaluate function into bits 2025-03-30 17:55:37 +02:00
Felix Roos
a0fb8fb37f
mondo: def node 2025-03-30 11:43:01 +02:00
Felix Roos
c9cafa37fd
mondo: improve mondo package api + update readme 2025-03-29 21:33:51 +01:00
Felix Roos
6b2b8b5124
fix: test 2025-03-26 09:30:49 +01:00
Felix Roos
7716fdb98e
mondo: refactor
- rename MondoRunner.call => .evaluate
- can now evaluate leafs
- remove .( because it's confusing and half baked
- support (.) as id function
2025-03-26 03:22:23 +01:00
Felix Roos
2938bfd88f
mondo: add highly impractical .(. notation for local infix application 2025-03-26 02:46:26 +01:00
Felix Roos
dd5743ab8c
mondo: bring back $ for stacking 2025-03-23 22:49:23 +01:00
Felix Roos
bca16cdf99
mondo: rename resolve_ -> desugar_ 2025-03-22 23:51:23 +01:00
Felix Roos
492271d786
mondo: support $ tidal style 2025-03-22 23:28:57 +01:00
Felix Roos
f71db4aeed
mondo: flip pipe order: now pining to the end of the function... 2025-03-21 23:50:14 +01:00
Felix Roos
bd93e44154
mondo: fix combination of | and , 2025-03-21 22:34:53 +01:00
Felix Roos
c691916cbf
mondo: generic bracket names + simplify call handler + refactor mondough 2025-03-20 17:55:40 +01:00
Felix Roos
3505732afa
mondo: add .. operator 2025-03-20 09:34:47 +01:00
Felix Roos
208706fb52
simplify mondo: ":" is just another operator 2025-03-20 09:09:29 +01:00
Felix Roos
642ddcdb59
support : in mondo 2025-03-19 17:03:17 +01:00
Felix Roos
7db52b3dc2
mondo improvements:
- add second string type
- add $ as alias for stack
- simplify leaf handling
2025-03-18 22:33:14 +01:00
Felix Roos
b0da353115
mondo highlighting 2025-03-16 21:04:05 +01:00
Felix Roos
e3df504423
rename uzu to mondo 2025-03-16 02:01:16 +01:00