mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
* Integrated # and ~ decorators into the expression system. Created associated operators. * # and ~ decorators only affect their current line. That's more useful... * Fix our priority system to evaluate left-to-right instead of right-to-left (if there was a reason why I did it this way initially, I don't remember it so ¯\_(ツ)_/¯) * a lotta internal changes Various other small adjustments, see the diff of REFERENCE.md for details.
35 lines
240 B
Text
35 lines
240 B
Text
> a ~ 1
|
|
-> a
|
|
> b
|
|
-> b
|
|
~ choose(1)
|
|
|
|
> a ~ 1
|
|
-> a
|
|
> b
|
|
-> b
|
|
~ choose(2)
|
|
|
|
> a ~ 0
|
|
-> a
|
|
> b
|
|
-> b
|
|
~ choose(1)
|
|
|
|
> a
|
|
-> a
|
|
> b # 25
|
|
-> b
|
|
~ choose(2)
|
|
|
|
> a ~ 0 # 12
|
|
-> a
|
|
> b # 3
|
|
-> b
|
|
~ choose(1)
|
|
|
|
> a ~ 1 # 12
|
|
-> a
|
|
> b # 3
|
|
-> b
|
|
~ choose(1)
|