mondo: add highly impractical .(. notation for local infix application

This commit is contained in:
Felix Roos 2025-03-26 02:46:26 +01:00
parent 222e479e30
commit 2938bfd88f
No known key found for this signature in database
3 changed files with 74 additions and 19 deletions

View file

@ -9,7 +9,7 @@ an experimental parser for an *uzulang*, a custom dsl for patterns that can stan
import { MondoRunner } from 'uzu'
const runner = MondoRunner({ seq, cat, s, crush, speed, '*': fast });
const pat = runner.run('s [bd hh*2 cp.(crush 4) <mt ht lt>] . speed .8')
const pat = runner.run('s [bd hh*2 cp.(.crush 4) <mt ht lt>] . speed .8')
```
the above code will create the following call structure: