Commit Graph

7 Commits

Author SHA1 Message Date
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
Jean Hadrien Chabran
c829fc8e5c Fix typo: litteral -> literal (#420) 2021-07-10 08:58:49 +04:00
Asdine El Hrychy
6af0a6f114 Add new environment package 2021-07-02 18:59:20 +04:00
Asdine El Hrychy
6fff623cd1 Stringify unquoted document keys when possible 2021-05-23 23:10:44 +04:00
Asdine El Hrychy
f402374ca3 Move parser to internal package 2021-05-23 21:03:11 +04:00
Asdine El Hrychy
3cd2ef59f7 Remove buffered literal expr from parser
This was used to buffer parsed expressions to be used as keys in the
projected documents.
This is no longer necessary, as every expression can now be stringified.
2021-05-23 12:36:36 +04:00
Asdine El Hrychy
37ebf47ea8 Move packages under internal package
These packages are not part of the public API and can break at any time.
2021-05-23 11:05:41 +04:00