Go to file
Christian Rinderknecht 8eaf1a90ec
Maps can be defined by extension in declarations.
"map" has become a keyword to introduce definition of maps by extension in declarations ("map" ... "end"). This entails that a grammar rule had to be created to handle the type expressions "map (..., ...)". Concordantly, I added map patches, modelled after record patches.

I created a node in the AST for map expressions (currently only
map look-ups).

I refactored the parser with parametric rules.
2019-03-20 09:11:19 +01:00
Tests Replaced expression "copy ... with ..." by instruction "patch ... with". 2019-03-19 14:32:43 +01:00
.gitignore Hack to get propper dune dependencies for Version.ml 2019-03-01 17:59:58 +01:00
.gitlab-ci.yml gitlab-ci fix… 2019-03-09 01:07:35 +01:00
.Lexer.ml.tag initial commit 2019-02-25 21:29:29 +00:00
.LexerMain.tag initial commit 2019-02-25 21:29:29 +00:00
.links initial commit 2019-02-25 21:29:29 +00:00
.Parser.mly.tag initial commit 2019-02-25 21:29:29 +00:00
.ParserMain.tag initial commit 2019-02-25 21:29:29 +00:00
AST2.ml more typechecker structure 2019-03-14 22:42:40 +01:00
AST.ml Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
AST.mli Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
check_dot_git_is_dir.sh Forgot a file in the previous commit… 2019-03-05 15:23:34 +01:00
dune Made the Verwion.ml more resistant. 2019-03-05 15:18:38 +01:00
dune-project initial commit 2019-02-25 21:29:29 +00:00
Error.mli initial commit 2019-02-25 21:29:29 +00:00
EvalOpt.ml Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
EvalOpt.mli Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
FQueue.ml initial commit 2019-02-25 21:29:29 +00:00
FQueue.mli initial commit 2019-02-25 21:29:29 +00:00
Lexer.mli Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
Lexer.mll Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
LexerMain.ml Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
LexToken.mli Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
LexToken.mll Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
ligo-parser.opam Added instruction 'fail'. I changed the grammar and AST for local functions and removed global mutable variables. 2019-02-28 15:46:34 +01:00
Markup.ml initial commit 2019-02-25 21:29:29 +00:00
Markup.mli Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
MBytes.ml initial commit 2019-02-25 21:29:29 +00:00
MBytes.mli initial commit 2019-02-25 21:29:29 +00:00
Parser.exe added a comment to the dune file 2019-02-25 21:34:32 +00:00
Parser.mly Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
ParserMain.ml Removed keyword "null", replaced by two keywords "do" 2019-03-18 17:47:11 +01:00
ParToken.mly Maps can be defined by extension in declarations. 2019-03-20 09:11:19 +01:00
Pos.ml Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
Pos.mli Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
Region.ml Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
Region.mli Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
Typecheck2.ml more typechecker structure 2019-03-14 22:42:40 +01:00
Typecheck2.mli more typechecker structure 2019-03-14 22:42:40 +01:00
typecheck.ml weird bug 2019-03-06 10:16:01 +01:00
Utils.ml initial commit 2019-02-25 21:29:29 +00:00
Utils.mli initial commit 2019-02-25 21:29:29 +00:00