The current syntax of GIL is a bit insane:
- lists are captured by
{{ }}
l-nth should should probably be replaced by an appropriate indexing operator
- integers are postfixed with
i, instead we should go with the ocaml-like notation of n+ is an integer n+\.n* is a float.
- ...
We should:
- Choose a new, better syntax
- Have a script available that translates the old syntax into the new syntax
- Translate every GIL file into the new version syntax
- Get rid of the old syntax entirely, but keep a module available a parser and rewriter old-syntax -> new-syntax just in case.
The current syntax of GIL is a bit insane:
{{ }}l-nthshould should probably be replaced by an appropriate indexing operatori, instead we should go with the ocaml-like notation ofn+is an integern+\.n*is a float.We should: