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
Christian Rinderknecht
29df2ff9aa
Declarations can now be written in any order. Removed top-level block.
...
The parser exports now an entry rule for parsing Ligo expressions.
2019-03-11 12:51:50 +01:00
Christian Rinderknecht
8746802571
Storage and operations are now explicitly named.
...
Refactoring of AST to enable the detection of incomplete pattern
matchings by the OCaml compiler. Some record fields renamed for
better readability.
2019-03-10 19:41:27 +01:00
Christian Rinderknecht
7dcad4779e
I added entrypoints (and removed the parameter declaration).
...
I fixed the pretty-printing of strings.
2019-03-10 13:55:24 +01:00
Christian Rinderknecht
0b5932f986
Removed the looping visitor.
2019-03-10 13:37:03 +01:00
Christian Rinderknecht
b3a283d8b8
Merge branch 'master' of gitlab.com:gabriel.alfour/ligo-parser
2019-03-10 12:53:52 +01:00
Your Name
25356c5695
Configured GitLab CI
2019-03-09 01:45:57 +01:00
Your Name
c439786440
gitlab-ci fix…
2019-03-09 01:07:35 +01:00
Your Name
31c6a33c49
gitlab-ci fix…
2019-03-09 00:48:33 +01:00
Your Name
a7e06efddb
gitlab-ci fix…
2019-03-08 23:40:36 +01:00
Your Name
178224c734
gitlab-ci fix…
2019-03-08 23:32:06 +01:00
Christian Rinderknecht
ad2b3cb1f9
Merge branch 'master' of gitlab.com:gabriel.alfour/ligo-parser
2019-03-08 22:05:41 +01:00
Your Name
bccbeb352e
gitlab-ci fix…
2019-03-08 22:03:31 +01:00
Christian Rinderknecht
00a255aa9e
Changed the line comments to start with "//". The list constructor is now "#".
2019-03-08 16:06:50 +01:00
Christian Rinderknecht
09f790680f
I extended the grammar with optional semicolons and vertical bars.
2019-03-07 17:06:02 +01:00
Your Name
bcb9992921
gitlab-ci fix…
2019-03-06 10:43:44 +01:00
Your Name
89d22c3be8
gitlab-ci fix…
2019-03-06 10:37:53 +01:00
Your Name
5fea21359c
gitlab-ci fix…
2019-03-06 10:35:55 +01:00
Your Name
6c3d6ceb18
Added opam commands to .gitlab-ci.yml
2019-03-06 10:33:09 +01:00
Your Name
43ebc969ec
GitLab does not have a sudo command
2019-03-06 10:26:21 +01:00
Your Name
ebf382093e
Typo in .gitlab-ci.yml
2019-03-06 10:21:23 +01:00
Your Name
20052c843a
Simplification of the AST. expr and pattern are not implemented yet.
2019-03-06 10:16:01 +01:00
Your Name
d89483f04d
First version of GitLab CI configuration
2019-03-06 10:16:01 +01:00
Your Name
172986bc03
weird bug
2019-03-06 10:16:01 +01:00
Your Name
9d2efe74e5
Merge branch 'thread-type-parameter-experiment' into HEAD
2019-03-06 10:15:29 +01:00
Your Name
00ff4bc322
Revert "Threaded 'a parameter everywhere"
...
This reverts commit 40377a80df
.
2019-03-05 21:00:48 +01:00
Your Name
b5f7779a68
Revert "Renamed the extensibility type parameter to 'x so that it can easily be grepped for."
...
This reverts commit fb85ea1f18
.
2019-03-05 21:00:48 +01:00
Your Name
78629b6652
Revert "WIP…"
...
This reverts commit 9b9760f052
.
2019-03-05 21:00:47 +01:00
Your Name
a6585b6e91
Revert "Does not work"
...
This reverts commit cbf565d4c0
.
2019-03-05 21:00:44 +01:00
Your Name
cbf565d4c0
Does not work
2019-03-05 20:41:58 +01:00
Your Name
9b9760f052
WIP…
2019-03-05 20:37:48 +01:00
Your Name
fb85ea1f18
Renamed the extensibility type parameter to 'x so that it can easily be grepped for.
...
Review this commit with:
git diff --color-words=.
2019-03-05 18:19:20 +01:00
Your Name
40377a80df
Threaded 'a parameter everywhere
2019-03-05 18:17:57 +01:00
Your Name
ec6cefb1ff
Forgot a file in the previous commit…
2019-03-05 15:23:34 +01:00
Your Name
32c024cf4f
Made the Verwion.ml more resistant.
...
Now in most conditions it should produce the correct commit number or
an error in the rare case where a dune clean is needed.
2019-03-05 15:18:38 +01:00
Your Name
9b1cdab3d2
Put back the full hash and -dirty in Verson.ml
2019-03-05 15:00:34 +01:00
Christian Rinderknecht
ee8ff6ce41
Small refactoring.
2019-03-07 12:24:57 +01:00
Christian Rinderknecht
c0f541a803
Escaped invalid characters before printing lexical error message.
2019-03-06 17:26:28 +01:00
Your Name
61575e13ea
Merge commit '45d18f7'
2019-03-05 11:15:02 +01:00
Your Name
629bb48b8f
Used records everywhere instead of objects.
2019-03-05 09:53:58 +01:00
Your Name
26eafdf87e
tmp, compiles
2019-03-04 13:18:55 +01:00
Your Name
0cb43cff8b
Transformation of the printer into a visitor: first part (this compiles)
2019-03-01 19:58:04 +01:00
Your Name
30cf888734
Started work on the typechecker.
2019-03-01 18:54:41 +01:00
Your Name
bbd590bc49
Propper dependency on .git/HEAD and .git/refs/heads/the_current_branch to regenerate Version.ml. Will not update correctly if a git worktree or its main .git are moved, in these cases use dune clean.
2019-03-01 18:49:25 +01:00
Your Name
15d5f2485d
Hack to get propper dune dependencies for Version.ml
2019-03-01 17:59:58 +01:00
Your Name
0909650814
tmp
2019-03-01 17:53:52 +01:00
Christian Rinderknecht
45d18f7b12
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
Galfour
4893fe8826
added a comment to the dune file
2019-02-25 21:34:32 +00:00
Galfour
9df0f6ad3a
initial commit
2019-02-25 21:29:29 +00:00