Commit graph

68 commits

Author SHA1 Message Date
Jade (Rose) Rowland
d198910a86 Publish
- @strudel/codemirror@1.2.7
 - @strudel/core@1.2.6
 - @strudel/csound@1.2.7
 - @strudel/draw@1.2.6
 - @strudel/embed@1.1.2
 - @strudel/gamepad@1.2.6
 - @strudel/hydra@1.2.6
 - @strudel/midi@1.2.7
 - @strudel/mini@1.2.6
 - mondolang@1.1.2
 - @strudel/mondo@1.1.6
 - @strudel/motion@1.2.6
 - @strudel/mqtt@1.2.6
 - @strudel/osc@1.3.1
 - @strudel/reference@1.2.2
 - @strudel/repl@1.2.8
 - @strudel/sampler@0.2.4
 - @strudel/serial@1.2.6
 - @strudel/soundfonts@1.2.7
 - superdough@1.2.7
 - supradough@1.2.5
 - @strudel/tonal@1.2.6
 - @strudel/transpiler@1.2.6
 - vite-plugin-bundle-audioworklet@0.1.2
 - @strudel/web@1.2.7
 - @strudel/webaudio@1.2.7
 - @strudel/xen@1.2.6
2026-01-17 15:26:28 -08:00
Alex Victoria
247bf9b930 fix for node 24 support #1718 2025-11-04 20:54:21 -06:00
Felix Roos
319a2d7289
fix: tests 2025-10-07 23:05:00 +02:00
Felix Roos
3a7d50924d
refactor: add op_precedence to express & with desugar_ops 2025-10-07 22:59:50 +02:00
Felix Roos
f33db5f07f
- refactor bjork -> bjorklund
- refactor e -> bjork
- flip & desugared arguments
2025-10-07 22:35:29 +02:00
Tristan de Cacqueray
3dc9b3524c mondo: add & sugar 2025-10-07 17:19:27 +02:00
Jade (Rose) Rowland
f17a4d045f Publish
- @strudel/codemirror@1.2.3
 - @strudel/core@1.2.3
 - @strudel/csound@1.2.4
 - @strudel/draw@1.2.3
 - @strudel/embed@1.1.1
 - @strudel/gamepad@1.2.3
 - @strudel/hydra@1.2.3
 - @strudel/midi@1.2.4
 - @strudel/mini@1.2.3
 - mondolang@1.1.1
 - @strudel/mondo@1.1.1
 - @strudel/motion@1.2.3
 - @strudel/mqtt@1.2.3
 - @strudel/osc@1.2.3
 - @strudel/reference@1.2.1
 - @strudel/repl@1.2.4
 - @strudel/serial@1.2.3
 - @strudel/soundfonts@1.2.4
 - superdough@1.2.4
 - @strudel/tonal@1.2.3
 - @strudel/transpiler@1.2.3
 - @strudel/web@1.2.4
 - @strudel/webaudio@1.2.4
 - @strudel/xen@1.2.3
2025-08-18 11:46:29 -04:00
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