mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 22:35:15 -04:00
mondough: interpret &
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
chooseIn,
|
||||
degradeBy,
|
||||
silence,
|
||||
e,
|
||||
} from '@strudel/core';
|
||||
import { registerLanguage } from '@strudel/transpiler';
|
||||
import { MondoRunner } from 'mondolang';
|
||||
@@ -40,6 +41,7 @@ lib['!'] = extend;
|
||||
lib['@'] = expand;
|
||||
lib['%'] = pace;
|
||||
lib['?'] = degradeBy; // todo: default 0.5 not working..
|
||||
lib['&'] = (a, b) => a.e(b);
|
||||
lib[':'] = tail;
|
||||
lib['..'] = range;
|
||||
lib['def'] = () => silence;
|
||||
|
||||
Reference in New Issue
Block a user