Felix Roos
|
10ac7c353c
|
use + and - as late / early
+ add some extra error handling
|
2025-06-18 22:07:16 +02:00 |
|
Felix Roos
|
c751bb7e5f
|
allow _ as silence
|
2025-06-18 21:36:34 +02:00 |
|
alex
|
1b3b07842e
|
format again..
|
2025-05-03 21:57:01 +01:00 |
|
alex
|
98efd72ab4
|
delint
|
2025-05-03 20:59:05 +01: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
|
2951a60fac
|
fix: rests at the end
|
2025-05-03 11:44:02 +02:00 |
|
Felix Roos
|
607a6121bc
|
rename mondo package to mondolang
|
2025-05-02 16:20:23 +02:00 |
|
Felix Roos
|
ffe831d24b
|
mondo: strings now get type "string" to be discernable from plain variables
|
2025-05-02 08:53:55 +02:00 |
|
Felix Roos
|
60dd8bd763
|
tweak again
|
2025-05-02 08:35:16 +02:00 |
|
Felix Roos
|
29e5833c8c
|
tweak
|
2025-05-02 08:32:46 +02: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
|
94a3a60e49
|
mondo: remember pair locations
+ allow passing a scope to MondoRunner.run
+ make def a side effect
+ proper lambda with multiple args + closure
|
2025-04-01 21:49:28 +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
|
b4027fd92a
|
fix: mondo dont mutate (breaks lambdas)
|
2025-03-30 11:42:50 +02:00 |
|
Felix Roos
|
c9cafa37fd
|
mondo: improve mondo package api + update readme
|
2025-03-29 21:33:51 +01:00 |
|
Felix Roos
|
2e017e46f9
|
trim readme
|
2025-03-29 20:17:09 +01:00 |
|
Felix Roos
|
6b2b8b5124
|
fix: test
|
2025-03-26 09:30:49 +01:00 |
|
Felix Roos
|
64a6dacc1e
|
mondo: patternable function names
|
2025-03-26 09:27:02 +01:00 |
|
Felix Roos
|
1738e4d538
|
fix: lint
|
2025-03-26 03:55:54 +01:00 |
|
Felix Roos
|
abc7a1e48d
|
mondo: this is the way
|
2025-03-26 03:55:00 +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
|
6d21456423
|
mondo: allow # character in plain values (for sharps)
|
2025-03-23 11:18:18 +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
|
5d4ef46ac7
|
mondo cleanup
|
2025-03-21 22:43:39 +01:00 |
|
Felix Roos
|
bd93e44154
|
mondo: fix combination of | and ,
|
2025-03-21 22:34:53 +01:00 |
|
Felix Roos
|
6fd89ddee7
|
mondo: add | and ?
|
2025-03-21 11:10:43 +01:00 |
|
Felix Roos
|
c691916cbf
|
mondo: generic bracket names + simplify call handler + refactor mondough
|
2025-03-20 17:55:40 +01:00 |
|
Felix Roos
|
e16295623d
|
mondo: use stepcat for curly braces
|
2025-03-20 14:09:32 +01:00 |
|
Felix Roos
|
9626f3cc9a
|
mondo add % for pace
|
2025-03-20 13:24:31 +01:00 |
|
Felix Roos
|
432e8dcccc
|
mondo: support ! and @, also express seq and cat with stepcat
|
2025-03-20 13:15:48 +01:00 |
|
Felix Roos
|
d2e93a99f1
|
fix: lint
|
2025-03-20 10:24:22 +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 |
|