Christian Rinderknecht
10469818c1
Removed entrypoint
and storage
as keywords.
...
Bug fix: `n-1` was scanned as `n` and `-1`, which was rejected by
a style constraint.
I removed useless style constraints in the lexer.
I removed dead code in `pascaligo.ml`.
I added my first draft for the reference manual of PascaLIGO: DO
NOT EDIT. Edit the website instead.
About the bug fix: This was an awkward attempt at rejecting at
lexing time negative integer literals whose sign is separated
from the digits, like `- 1`. The fix was simple: remove the
`integer` regular expression and use `natural`.
2019-09-26 16:35:16 +02:00
Christian Rinderknecht
2a44e0f084
Merge branch 'dev' into 'rinderknecht-dev'
...
# Conflicts:
# src/contracts/website2.ligo
# src/simplify/pascaligo.ml
2019-07-25 10:33:07 +00:00
galfour
9dd8e63cbf
add iter for set and lists
2019-07-20 13:46:42 +02:00
galfour
33101820ec
add set tests
2019-07-19 14:35:47 +02:00
galfour
7b9d861a34
type new operators
2019-07-19 12:13:09 +02:00
Christian Rinderknecht
2f6e17c837
I fixed the heterogeneity in parentheses around constructors in
...
patterns.
2019-06-24 08:42:06 -07:00
Christian Rinderknecht
77a55172ef
I fixed the heterogeneity in parentheses around constructors in
...
patterns.
2019-06-13 16:57:40 +02:00
Christian Rinderknecht
582e95f9a8
Enabled user-defined constant constructors in expressions.
2019-06-11 17:10:27 +02:00
Georges Dupéron
b2ec459b08
Added types for mligo map instructions
2019-06-07 15:16:48 +02:00
Galfour
a4f895882f
more error messages; various fixes
2019-06-06 20:49:36 +00:00
Christian Rinderknecht
0e01353c7d
Finished upgrading the error reporting for Pascaligo.
2019-06-05 17:51:06 +02:00
Christian Rinderknecht
97dd2db4b8
I forbade local entry points in Pascaligo (meaningless).
...
I refactored the projections in Ligodity (AST), so they have the
same name and types as in Pascaligo, which will ease the creation
of module CommonErrors in a file.
2019-06-04 16:12:17 +02:00
Galfour
c32ace3afc
propagate source code locations
2019-05-28 15:36:14 +00:00
Galfour
a852f4997c
rewrote operators
2019-05-23 12:16:12 +00:00
Galfour
c085dae123
remove annotations from ast_simplified; make annotation expression explicit; locally very limited propagation of constraints in binding cases
2019-05-23 06:22:58 +00:00
Galfour
9d873c382b
remove statements from everywhere (very atomic commit)
2019-05-22 00:46:59 +00:00
Georges Dupéron
c773fe61ce
revert let_in as lambda and add let_in
2019-05-17 19:14:00 +02:00
Galfour
ccdbd5bbd0
fix
2019-05-17 16:18:03 +00:00
Christian Rinderknecht
6028cd9abd
I enabled constant data constructors. I added more to the documentation.
2019-05-17 16:29:22 +02:00
Christian Rinderknecht
90a9e1a783
In the process of optimising immediate applications as let-in [Broken].
2019-05-16 18:17:27 +02:00
Georges Dupéron
c43570a82d
Move into src/; add vendors/ subfolder, add CI script.
2019-05-14 17:53:44 +02:00