Commit Graph

5 Commits

Author SHA1 Message Date
Asdine El Hrychy
0327fe9407 Normalize stream environment 2021-11-19 16:25:43 +01:00
Asdine El Hrychy
524e633049 Add Union operator 2021-10-03 12:42:08 +04:00
Asdine El Hrychy
bba4c0a630 Add typeof function 2021-07-25 22:35:18 -04:00
Asdine El Hrychy
f966172cee Introduce Value interface (#422)
This replaces the Value struct by an interface to allow us to override some
values behavior in the future.
It also introduces a new package types, which contains type definitions, comparison,
and arithmetics.
Concerning encoding, Genji now only uses on type of encoding for values. This simplifies
indexing logic as well as table access in general.
2021-07-21 22:05:44 +04:00
Jean Hadrien Chabran
e556fc3048 Add functions packages support (#419)
* Add packaged functions support

* Add tests for math.floor func

* Export FunctionsTable

* Extract func stuff into its own package

* Rename stuff

* Fix tests

* Move doc package to cmd/genji

* Adjust naming, typos
2021-07-17 13:07:16 +02:00