ligo/vendors/ligo-utils/simple-utils
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
..
.ppx_let_generalized removing tezos-modded 2019-09-04 20:19:09 +02:00
cover.sh Added --messages. 2020-01-07 22:26:47 +00:00
dictionary.ml move before merging repositories 2019-05-27 11:08:26 +02:00
dune removing tezos-modded 2019-09-04 20:19:09 +02:00
dune-project Unignore dune-project 2019-12-19 19:53:10 +00:00
function.ml move before merging repositories 2019-05-27 11:08:26 +02:00
location.ml modify trace; oldify multifix 2019-06-03 10:33:13 +00:00
logger.ml move before merging repositories 2019-05-27 11:08:26 +02:00
messages.sh Generating .msg files and extracting from them LIGO source files. 2019-12-18 22:17:49 +00:00
ne_list.ml move before merging repositories 2019-05-27 11:08:26 +02:00
par_err.sh Improved formatting of error messages (EOF is handled now). 2020-01-02 15:08:14 +01:00
pos.ml Add ReasonLIGO support 2019-12-10 13:47:31 +00:00
pos.mli I rewrote some comments so [dune build @doc] can extract HTML from 2019-12-07 15:09:49 +00:00
PP_helpers.ml Printing of tokens from the AST is now done in a Buffer.t 2019-10-09 16:07:13 +02:00
region.ml Refactoring of the AST and simplfier of PascaLIGO. 2020-01-09 17:26:07 +01:00
region.mli I rewrote some comments so [dune build @doc] can extract HTML from 2019-12-07 15:09:49 +00:00
simple_utils.ml Mini_c: Inlining optimization 2019-11-27 09:06:31 -06:00
simple-utils.opam y e s s s 2019-09-05 15:21:01 +02:00
trace.ml Kill warning 45 by reusing Pervasives.result for Trace 2019-12-18 21:20:35 +00:00
tree.ml move before merging repositories 2019-05-27 11:08:26 +02:00
tuple.ml Mini_c: Inlining optimization 2019-11-27 09:06:31 -06:00
var.ml Use ADT for types and move type to ast_common 2019-12-04 11:40:58 +00:00
var.mli Use ADT for types and move type to ast_common 2019-12-04 11:40:58 +00:00
wrap.ml move before merging repositories 2019-05-27 11:08:26 +02:00
x_int.ml Mini_c: Inlining optimization 2019-11-27 09:06:31 -06:00
x_list.ml replaces remove_from by take which does not raise any exceptions 2020-01-06 19:24:41 +01:00
x_map.ml move before merging repositories 2019-05-27 11:08:26 +02:00
x_option.ml Mini_c: Inlining optimization 2019-11-27 09:06:31 -06:00