Commit Graph

5796 Commits

Author SHA1 Message Date
Lesenechal Remi
e8d1e359f4 exclude PPs from coverage 2019-12-31 14:23:51 +01:00
Lesenechal Remi
46ac00e94d makefile target 2019-12-31 14:23:51 +01:00
Lesenechal Remi
c8339ed2ef first try 2019-12-31 14:23:51 +01:00
John David Pressman
c5d1b74c00 Merge branch 'feature/cameligo-tuple-param-destruct' into 'dev'
[LIGO-288] Allow tuple parameter destructuring in CameLIGO

See merge request ligolang/ligo!278
2019-12-29 01:24:22 +00:00
John David Pressman
dcfc8d6391 Horrible hack to rewrite CST for tuple param destruct,
Fails because Let In doesn't support multi-bind
2019-12-29 01:24:22 +00:00
Christian Rinderknecht
ea7460f8c9 Miscellaneous. 2019-12-28 17:58:15 +01:00
Christian Rinderknecht
c92e3b28ad Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht-dev 2019-12-28 17:58:09 +01:00
John David Pressman
45224c7f74 Merge branch 'feature/cameligo-multi-bind-let-in' into 'dev'
[LIGO-319] Add let ... in multi-bind to CameLIGO

See merge request ligolang/ligo!285
2019-12-27 18:18:21 +00:00
John David Pressman
3d9489530a Merge branch 'dev' into feature/cameligo-multi-bind-let-in 2019-12-27 09:29:30 -08:00
John David Pressman
e1ecb36e61 Have let ... in evaluate right hand side first during multi-bind 2019-12-26 21:06:24 -08:00
Christian Rinderknecht
6814e7786a Same error formatting for the incremental and monolithic API of Menhir. 2019-12-26 18:57:02 +01:00
Christian Rinderknecht
379311a748 Shortened the parser's API.
Unfortunately, even thought all the front-ends use the same
ParserAPI.ml, that file cannot be moved to the folder `shared` due to
a dependency on AST.ml produced by Menhir.
2019-12-26 18:17:57 +01:00
Christian Rinderknecht
548b1267a4 Added .gitignore for all syntaxes. 2019-12-26 14:13:19 +01:00
Christian Rinderknecht
07a70b4648 Added unlexing to ReasonLIGO. 2019-12-26 13:31:54 +01:00
Christian Rinderknecht
ea4eb76013 I added support for unlexing to CameLIGO. Fixed cover.sh. 2019-12-26 13:23:32 +01:00
John David Pressman
2d9de2aef0 Clean up let ... in multi-bind 2019-12-24 15:35:05 -08:00
John David Pressman
48a3bebadd Working rough draft of let ... in multi-bind 2019-12-24 14:54:22 -08:00
John David Pressman
7454e8b01f Add let-in multi bind test 2019-12-24 13:48:14 -08:00
Christian Rinderknecht
7c1d637226 Fixing the constant constructors in CameLIGO's simplifier. 2019-12-24 18:56:21 +01:00
Rémi Lesenechal
43e4bf3149 Merge branch 'plusplus' into 'dev'
Fixed the stratification of "++".

See merge request ligolang/ligo!284
2019-12-24 16:51:19 +00:00
Christian Rinderknecht
e99c9b32de Fixed the [dune] file for building [pascaligo/Unlexer.exe]. 2019-12-24 17:35:43 +01:00
Christian Rinderknecht
dadf1fbe41 Fixed the stratification of "++". 2019-12-24 17:01:39 +01:00
Christian Rinderknecht
7b9b6866b2 Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht-dev 2019-12-24 14:26:32 +01:00
Christian Rinderknecht
ce857fbe40 Fixed the [dune] files to build ParserMain.exe 2019-12-24 14:25:40 +01:00
Rémi Lesenechal
e9c36f1688 Merge branch '99-ligo-dies-instead' into 'dev'
Resolve "ligo dies instead a when using the wrong type with map"

Closes #99

See merge request ligolang/ligo!283
2019-12-24 12:31:49 +00:00
Lesenechal Remi
bdd1d09c04 t_operator can not throw exceptions 2019-12-24 12:43:32 +01:00
Christian Rinderknecht
b0e92a58bf Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht-dev 2019-12-24 11:59:34 +01:00
Christian Rinderknecht
96b0572bb1 Merge branch 'parser-main-build-fix' into 'dev'
Fix 'dune build ParserMain.exe'.

See merge request ligolang/ligo!282
2019-12-24 10:59:15 +00:00
Sander Spies
29c96fb021 Fix 'dune build ParserMain.exe'. 2019-12-24 08:08:50 +01:00
Christian Rinderknecht
e6a9bf6510 Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht-dev 2019-12-23 21:46:21 +01:00
Christian Rinderknecht
24f067b69e Added nat and bytes to ReasonLIGO and CameLIGO (expressions).
Use the correct ParserAPI for ReasonLIGO now.
2019-12-23 20:37:48 +01:00
John David Pressman
d6398d7e8b Merge branch 'feature/set-delegate' into 'dev'
[LIGO-301] Add SET_DELEGATE to LIGO

Closes LIGO-301

See merge request ligolang/ligo!264
2019-12-20 17:23:09 +00:00
John David Pressman
1bf04574c1 Merge branch 'dev' into feature/set-delegate 2019-12-20 08:37:01 -08:00
Christian Rinderknecht
705b425589 Merge remote-tracking branch 'origin/dev' into rinderknecht-dev 2019-12-20 16:46:33 +01:00
Christian Rinderknecht
072dea757c [WIP] Adding the infrastructure for supporting the incremental API of Menhir.
* I added CLI option "--mono" to select the monolithic API of Menhir.
  * I added a field "win" to the state of the lexer (a two-token
    window for error reporting).
  * I escaped LIGO strings before making them OCaml strings (for
    example for printing).
2019-12-20 16:44:03 +01:00
Suzanne Dupéron
de56e170ee Merge branch '33-duplicated-variant-case-gives-missing-case-error' into 'dev'
Resolve "Duplicated variant case gives "missing case" error"

Closes #33

See merge request ligolang/ligo!275
2019-12-20 13:05:44 +00:00
Lesenechal Remi
638b45611d fix message of redundant_match_case error 2019-12-20 12:17:47 +00:00
Rémi Lesenechal
a465e54340 Merge branch 'contract-time-lock' into 'dev'
Contract time lock

See merge request ligolang/ligo!269
2019-12-20 12:05:41 +00:00
Lesenechal Remi
70977d1f00 improve badly annotated timestamp error 2019-12-20 12:18:36 +01:00
Lesenechal Remi
e18233434d dune promote 2019-12-20 12:18:36 +01:00
Lesenechal Remi
2086dd9ab5 add predecessor timestamp to the CLI 2019-12-20 12:18:36 +01:00
Lesenechal Remi
e8c8aa4d2b Time lock : contract + tests 2019-12-20 12:18:36 +01:00
Lesenechal Remi
92523bc4a5 exposing context type to be able to modify the timestamps in the tests 2019-12-20 12:18:36 +01:00
Tom Jack
d71ac66f07 Merge branch 'dune-ignore' into 'dev'
Adjust dune ignores

See merge request ligolang/ligo!267
2019-12-19 20:41:00 +00:00
Tom Jack
8374d4a316 Ignore ligo.install 2019-12-19 19:53:10 +00:00
Tom Jack
d7bea52d44 Unignore dune-project 2019-12-19 19:53:10 +00:00
Tom Jack
40411c39ea Merge branch 'feature/hex-printing' into 'dev'
Fix one hex printing bug

See merge request ligolang/ligo!274
2019-12-19 19:53:07 +00:00
Tom Jack
71e2670572 Fix one hex printing bug 2019-12-19 13:05:30 -06:00
Suzanne Dupéron
a59499e4bc Merge branch 'feature/typer-error-messages' into 'dev'
Better typer error messages

See merge request ligolang/ligo!268
2019-12-19 18:15:25 +00:00
Suzanne Dupéron
e5acdc4228 All typer errors in ast_typed/misc.ml are covered it seems. 2019-12-19 17:27:17 +00:00