Go to file
Christian Rinderknecht 269fd475ad
Enabled the preprocessing by CPP of #include directives in Ligo.
Now it is possible to write anywhere in a Ligo source file

and have error messages refer to the correct file and line. This
is done by extending the lexer to recognise #line
directives (generated by CPP).

I added the stage "cpp" for the --verbose command-line option: if
given, the preprocessed source file is created in the current
directory with the name <input>.pp.li, where <input>.li is the
original input file. Also the CPP command actually run is
printed.

I added setter to modules [Pos] and [Region].
2019-03-12 18:33:29 +01:00
Tests Declarations can now be written in any order. Removed top-level block. 2019-03-11 12:51:50 +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 Storage and operations are now explicitly named. 2019-03-10 19:41:27 +01:00
AST.ml Declarations can now be written in any order. Removed top-level block. 2019-03-11 12:51:50 +01:00
AST.mli Declarations can now be written in any order. Removed top-level block. 2019-03-11 12:51:50 +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 Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
EvalOpt.mli initial commit 2019-02-25 21:29:29 +00: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 initial commit 2019-02-25 21:29:29 +00:00
Lexer.mll Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
LexerMain.ml Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
LexToken.mli Storage and operations are now explicitly named. 2019-03-10 19:41:27 +01:00
LexToken.mll I added entrypoints (and removed the parameter declaration). 2019-03-10 13:55:24 +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 initial commit 2019-02-25 21:29:29 +00: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 Declarations can now be written in any order. Removed top-level block. 2019-03-11 12:51:50 +01:00
ParserMain.ml Enabled the preprocessing by CPP of #include directives in Ligo. 2019-03-12 18:33:29 +01:00
ParToken.mly Storage and operations are now explicitly named. 2019-03-10 19:41:27 +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
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