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:
2023-08-17 20:47:08 +01:00
parent 751a02a1ec
commit 3fdabc29da
139 changed files with 4269 additions and 1783 deletions

5
src/systems/stl/num.orc Normal file
View 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))