Christian Rinderknecht
9e7c97637c
Added support for language-specific parse errors for PascaLIGO:
...
* Duplicate variants in the same type declaration
* Duplicate parameter in the same function declaration
* Shadowing of predefined value in a declaration
I fixed the architecture for that support: ParserMain.ml is now where
those specific errors are handled, and they are produced by the
semantic actions of the parsers.
2020-01-08 16:39:52 +01:00
Christian Rinderknecht
de0657e8f2
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht-dev
2020-01-07 12:54:05 +01:00
John David Pressman
aeadaff42b
Merge branch 'docs/map-docs-update' into 'dev'
...
[LIGO-342] Add big maps to docs, change example used for ordinary maps
Closes #115
See merge request ligolang/ligo!297
2020-01-07 07:32:44 +00:00
John David Pressman
3b806d0bb7
[LIGO-342] Add big maps to docs, change example used for ordinary maps
2020-01-07 07:32:44 +00:00
Tom Jack
6b54f43f86
Merge branch 'feature/deep-location' into 'dev'
...
Show 'deepest' location for errors
See merge request ligolang/ligo!288
2020-01-07 01:24:55 +00:00
Tom Jack
6716af9123
Eliminate some spurious synonyms of "location"
2020-01-07 00:34:41 +00:00
Tom Jack
e73c901135
Show 'deepest' location for errors
2020-01-07 00:34:41 +00:00
Rémi Lesenechal
dff0367a56
Merge branch '92-map_update-key_hash-is-not-comparable' into 'dev'
...
Resolve "map_update: key_hash is not comparable"
Closes #92
See merge request ligolang/ligo!310
2020-01-06 22:44:24 +00:00
Lesenechal Remi
d885eb8d4a
check key_hash format
2020-01-06 22:52:30 +01:00
Lesenechal Remi
2667ed62b3
fix indent (unrelated)
2020-01-06 22:29:07 +01:00
Lesenechal Remi
55a8734c81
key_hash now comparable
2020-01-06 21:31:54 +01:00
Lesenechal Remi
6841609362
allow key_hash literals
2020-01-06 21:31:45 +01:00
Rémi Lesenechal
012ee0740b
Merge branch 'fix-entry-point-aggregation' into 'dev'
...
Fix entry point aggregation
See merge request ligolang/ligo!305
2020-01-06 19:32:50 +00:00
Lesenechal Remi
a0a8f114c0
replaces remove_from by take which does not raise any exceptions
2020-01-06 19:24:41 +01:00
Lesenechal Remi
8ce4772ae4
add tests
2020-01-06 18:51:43 +01:00
Lesenechal Remi
7e05b7d276
now removes the entry-point declaration from the program before aggregation
2020-01-06 18:41:53 +01:00
Sander
316ea3bd9a
Merge branch 'gardening_error_handling_parser' into 'dev'
...
Show lexer error messages in CameLIGO + PascaLIGO.
See merge request ligolang/ligo!304
2020-01-06 13:36:07 +00:00
Sander Spies
301defda3f
Show lexer error messages in CameLIGO + PascaLIGO.
2020-01-06 13:46:11 +01:00
Christian Rinderknecht
e8a70411b8
Merge branch 'rinderknecht-dev' into 'dev'
...
Sharing standalone lexers and parsers, and parser error API.
See merge request ligolang/ligo!301
2020-01-06 10:55:56 +00:00
Christian Rinderknecht
ddd438aaa8
Forgot to add.
2020-01-06 10:03:41 +00:00
Christian Rinderknecht
a6e4837aa0
Sharing standalone lexers and parsers, and parser error API.
2020-01-06 10:03:41 +00:00
Rémi Lesenechal
387a248100
Merge branch 'doc-typo' into 'dev'
...
fix definition of predecessor_timestamp
See merge request ligolang/ligo!299
2020-01-05 14:23:50 +00:00
Lesenechal Remi
f133729318
fix dune file warnings
2020-01-05 14:32:15 +01:00
Lesenechal Remi
b1dd35b56d
fix definition of predecessor_timestamp
2020-01-05 14:29:22 +01:00
Christian Rinderknecht
12619232df
Forgot to add.
2020-01-04 23:32:50 +01:00
Christian Rinderknecht
51ccc28e3c
Sharing standalone lexers and parsers, and parser error API.
2020-01-04 19:49:22 +01:00
Christian Rinderknecht
357d83283f
Merge branch 'rinderknecht-dev' into 'dev'
...
Adding to the infrastructure for using the incremental API of Menhir
See merge request ligolang/ligo!277
2020-01-04 17:35:53 +00:00
Christian Rinderknecht
e23350071f
Merge remote-tracking branch 'origin/dev' into rinderknecht-dev
2020-01-04 17:47:20 +01:00
Sander
0cc5240c21
Show lexer error messages in ReasonLIGO
2020-01-04 08:24:16 +00:00
John David Pressman
10b26f610f
Show lexer error messages in ReasonLIGO
2020-01-04 08:24:16 +00:00
John David Pressman
d3fa06d62a
Merge branch '129-allow-passing-timestamp-literals' into 'dev'
...
Resolve "Allow passing timestamp literals"
Closes #129
See merge request ligolang/ligo!298
2020-01-03 21:46:46 +00:00
John David Pressman
e89aace91c
Clean up description of --predecessor-timestamp flag in logs
2020-01-03 12:49:42 -08:00
Lesenechal Remi
0ce29e22b9
add some timestamp doc
2020-01-03 21:39:25 +01:00
Lesenechal Remi
0a676d72a5
add --predecessor-timestamp to compile-storage/parameter
2020-01-03 18:11:44 +01:00
Lesenechal Remi
1a2a29bc03
negative timestamp literal test
2020-01-03 18:11:37 +01:00
Lesenechal Remi
c805a27b99
adding timestamp literals as string or int
2020-01-03 18:11:27 +01:00
Rémi Lesenechal
90955c35b2
Merge branch '123-unbound-variable-errors-are-hard-to-decipher' into 'dev'
...
Resolve "Unbound variable errors are hard to decipher"
Closes #123
See merge request ligolang/ligo!296
2020-01-03 16:14:19 +00:00
Christian Rinderknecht
1806d6d74c
Merge remote-tracking branch 'origin/dev' into rinderknecht-dev
2020-01-03 16:58:37 +01:00
Lesenechal Remi
a3a09dc0e5
functionize the name in the error
2020-01-03 16:23:18 +01:00
Lesenechal Remi
4d56a71bd1
propagate location for cameligo variables
2020-01-03 16:23:18 +01:00
Lesenechal Remi
3288696784
add the name of the variable in the unbound variable error message title
2020-01-03 16:23:18 +01:00
Rémi Lesenechal
3b73a7a5c8
Merge branch '104-seemingly-simple-contract-does-not-typecheck-error-is-uninformative' into 'dev'
...
Resolve "Seemingly simple contract does not typecheck, error is uninformative"
Closes #104
See merge request ligolang/ligo!290
2020-01-03 15:17:23 +00:00
Lesenechal Remi
72f4ed35f1
print ill-typed michelson code
2020-01-03 15:25:37 +01:00
John David Pressman
5108b820cf
Fix minor typos in wrong michelson contract parameter/storage msgs
2020-01-03 15:25:37 +01:00
Lesenechal Remi
e834e2ac20
More informative errors when calling michelson typecheck function
2020-01-03 15:25:37 +01:00
Sander
5f1182468c
Add support for empty constructors.
2020-01-03 13:01:13 +00:00
Sander
ce6ccab728
Add support for empty constructors.
2020-01-03 13:01:13 +00:00
John David Pressman
d11949b172
Merge branch 'docs/loop-doc' into 'dev'
...
Add docs page for loops
Closes #107
See merge request ligolang/ligo!291
2020-01-02 21:19:04 +00:00
John David Pressman
fcd33026bb
Fix loops page with ReasonLIGO
2020-01-02 12:26:02 -08:00
John David Pressman
2f25c4b683
Merge branch 'docs/loop-doc' of ssh://gitlab.com/ligolang/ligo into docs/loop-doc
2020-01-02 12:23:26 -08:00