ligo/src/passes/2-simplify
Christian Rinderknecht dad9b0f816 Refactoring of the AST and simplfier of PascaLIGO.
Some weeks ago, anonymous functions as expressions were added to
PascaLIGO, unfortunately in a manner that allowed in theory for
contexts in which a named function was found when an anonymous was
expected, and vice-versa. That explains that the simplifier had two new possible errors:

   * unexpected_anonymous_function
     ("you provided a function declaration without name")
   * unexpected_named_function

I changed the AST and the parser so that function expressions
correspond to anonymous functions (without block) and function
declarations correspond to named functions.

I also removed a error in the simplifier, which was unused:

   * bad_bytes
     ("you provided a function expression with a name (remove it)")
2020-01-09 17:26:07 +01:00
..
cameligo.ml Fix a bug, test added: 2020-01-08 20:58:26 +00:00
cameligo.mli Remove original Cameligo and rename Ligodity to Cameligo. 2019-12-12 14:35:07 +01:00
camligo.ml.old Remove original Cameligo and rename Ligodity to Cameligo. 2019-12-12 14:35:07 +01:00
dune first try 2019-12-31 14:23:51 +01:00
pascaligo.ml Refactoring of the AST and simplfier of PascaLIGO. 2020-01-09 17:26:07 +01:00
pascaligo.mli Refactoring of the AST and simplfier of PascaLIGO. 2020-01-09 17:26:07 +01:00
simplify.ml Remove original Cameligo and rename Ligodity to Cameligo. 2019-12-12 14:35:07 +01:00