forked from Orchid/orchid
Most files suffered major changes
- Less ambiguous syntax - Better parser (Chumsky only does tokenization now) - Tidy(|ier) error handling - Facade for simplified embedding - External code grouped in (fairly) self-contained Systems - Dynamic action dispatch - Many STL additions
This commit is contained in:
5
src/systems/stl/num.orc
Normal file
5
src/systems/stl/num.orc
Normal file
@@ -0,0 +1,5 @@
|
||||
export macro ...$a + ...$b =0x2p36=> (add (...$a) (...$b))
|
||||
export macro ...$a - ...$b:1 =0x2p36=> (subtract (...$a) (...$b))
|
||||
export macro ...$a * ...$b =0x1p36=> (multiply (...$a) (...$b))
|
||||
export macro ...$a % ...$b:1 =0x1p36=> (remainder (...$a) (...$b))
|
||||
export macro ...$a / ...$b:1 =0x1p36=> (divide (...$a) (...$b))
|
||||
Reference in New Issue
Block a user