forked from Orchid/orchid
Added a very rudimentary file I/O system suitable for experimenting with the language further. A better one will be designed when we have sensible error management.
8 lines
316 B
Plaintext
8 lines
316 B
Plaintext
export operators[ + - * % / ]
|
|
|
|
macro ...$a + ...$b =0x2p36=> (add (...$a) (...$b))
|
|
macro ...$a:1 - ...$b =0x2p36=> (subtract (...$a) (...$b))
|
|
macro ...$a * ...$b =0x1p36=> (multiply (...$a) (...$b))
|
|
macro ...$a:1 % ...$b =0x1p36=> (remainder (...$a) (...$b))
|
|
macro ...$a:1 / ...$b =0x1p36=> (divide (...$a) (...$b))
|