Commit graph

2414 commits

Author SHA1 Message Date
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
51e3aa257c
mondolang function for mondo repl + fix rests 2025-03-23 22:49:03 +01:00
Felix Roos
5eabcf0618
mondo mode for StrudelMirror / repl / mini repl 2025-03-23 22:47:33 +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
cf1f4ec35c
fix: patterns without structure would error on draw 2025-03-21 11:10:25 +01:00
Felix Roos
12bb82d295
add chooseIn + chooseOut 2025-03-21 11:10:06 +01:00
Felix Roos
c33cfc78c5
waveform aliases: tri, sqr, saw, sin 2025-03-20 21:19:47 +01:00
Felix Roos
ac6472a43a
mondo: mondo as minilang (inactive) 2025-03-20 21:19:21 +01:00
Felix Roos
989fdfa20b
transpiler: add mechanism to register custom mini language 2025-03-20 21:18:32 +01:00
Felix Roos
05ae31838e
add sin sqr cos aliases 2025-03-20 18:01:41 +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
55a5f1d62a
transpiler cleanup 2025-03-20 09:10:54 +01:00
Felix Roos
3657e2fd65
mondo: change default markcss 2025-03-20 09:10:45 +01:00
Felix Roos
65a7b3030e
fix: markcss can now override styles (like color) 2025-03-20 09:10:12 +01:00
Felix Roos
208706fb52
simplify mondo: ":" is just another operator 2025-03-20 09:09:29 +01:00
Felix Roos
e04f250adb
mondo: proper lambda functions with local scope 2025-03-19 18:16:37 +01:00
Felix Roos
642ddcdb59
support : in mondo 2025-03-19 17:03:17 +01:00
Felix Roos
88ca54461e
rename @strudel/mondough to @strudel/mondo 2025-03-19 00:15:53 +01:00
Felix Roos
129fd7d6b0
add notes 2025-03-19 00:13:06 +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
40f6489111
reify variables 2025-03-16 23:30:41 +01:00
Felix Roos
118b619b74
mondo: support - ~ in plain type + simplify errors 2025-03-16 23:10:52 +01:00
Felix Roos
2dd445c102
mondo: support variables 2025-03-16 23:10:23 +01:00
Felix Roos
3c3832dbce
superdough: native support for rest symbols - ~ in s 2025-03-16 23:08:31 +01:00
Felix Roos
9b8761bc45
fix: top-level functions arp/arpWith 2025-03-16 22:31:40 +01:00
Felix Roos
77ade0758e
mondo: slightly improve error handling 2025-03-16 22:07:03 +01:00
Felix Roos
902012759a
fix:support negative numbers 2025-03-16 21:24:22 +01:00
Felix Roos
ea61627963
fix: lint error 2025-03-16 21:05:04 +01:00
Felix Roos
95526ac99c
fix: formatting 2025-03-16 21:04:28 +01:00
Felix Roos
b0da353115
mondo highlighting 2025-03-16 21:04:05 +01:00
Felix Roos
fae59a6bcd
feat: add mondough package to run strudel via mondo 2025-03-16 10:49:18 +01:00
Felix Roos
11196fb1e6
breaking: refactor controls
- multiple args wont be interpreted as sequence anymore
- you can now pass value, pat to set value to pat
2025-03-16 10:48:38 +01:00
Felix Roos
e782dc09dd
export strudelScope for mondo to use 2025-03-16 10:47:32 +01:00
Felix Roos
e3df504423
rename uzu to mondo 2025-03-16 02:01:16 +01:00
Felix Roos
b71b1354c3
uzu: stacks now work within () + write more tests 2025-03-16 00:51:59 +01:00
Felix Roos
dbe3915368
fix: lint errors 2025-03-15 10:35:22 +01:00