Commit Graph

5369 Commits

Author SHA1 Message Date
Sander Spies
86de9d27e7 Add errors for properly handling let x = _ cases. 2020-04-01 18:08:31 +02:00
Sander
60070cc8d0 Merge branch 'syntax-switch-fix' into 'dev'
Add background-color to options of Syntax Switch.

See merge request ligolang/ligo!542
2020-04-01 14:41:47 +00:00
Sander Spies
ec7c6e8ad9 Error message shows up again. 2020-04-01 16:34:36 +02:00
Sander Spies
c764f89881 Merge 2020-04-01 15:50:59 +02:00
Sander Spies
3d3da33e3e Add background-color to options of Syntax Switch. 2020-04-01 15:44:53 +02:00
Pierre-Emmanuel Wulfman
037c1cb302 Merge branch 'ast/e_cond_sugar' into 'dev'
Add E_cond as sugar (if .. then .. else ..) for match_bool

See merge request ligolang/ligo!536
2020-04-01 13:12:36 +00:00
Sander Spies
1202ffc8df Add list of boolean operations 2020-04-01 14:49:56 +02:00
Pierre-Emmanuel Wulfman
9dc7e7fcb9 Add E_cond as sugar (if .. then .. else ..) for match_bool 2020-04-01 14:14:20 +02:00
Christian Rinderknecht
968e73b342 Integrated the library for preprocessing.
The build with Makefile works. Dune build to be tested.
2020-03-31 19:44:10 +02:00
Pierre-Emmanuel Wulfman
1fff3dee21 Merge branch 'ast/tuples_are_back' into 'dev'
Adding tuples in ast_sugar

See merge request ligolang/ligo!521
2020-03-31 16:04:19 +00:00
Sander
059bbc8457 Merge branch 'wrong-type-mutez' into 'dev'
API docs: change not existing mutez type to existing tez type

See merge request ligolang/ligo!540
2020-03-31 16:04:16 +00:00
Pierre-Emmanuel Wulfman
c9e509f636 review 1 2020-03-31 17:05:42 +02:00
Pierre-Emmanuel Wulfman
13e9405dee adding tuples in ast_sugar 2020-03-31 17:04:53 +02:00
Sander Spies
0d46be7425 Change not existing mutez type to existing tez type 2020-03-31 17:00:17 +02:00
Sander Spies
257821a764 Use Tezos prefix in Tutorial. 2020-03-31 14:39:26 +02:00
Sander Spies
9fc3c3f01b merge 2020-03-31 14:15:32 +02:00
Sander Spies
c8175a7550 Inline attribute documentation 2020-03-31 14:11:22 +02:00
Pierre-Emmanuel Wulfman
9cd750442a Merge branch 'ast/move_ds_to_constant' into 'dev'
Remove extra AST cases

See merge request ligolang/ligo!499
2020-03-30 16:50:56 +00:00
Pierre-Emmanuel Wulfman
aac7dd3462 review 1 2020-03-30 17:56:17 +02:00
Pierre-Emmanuel Wulfman
6a9547e910 add type map_or_big_map to solve issue of typing big_map_empty from map_add 2020-03-30 17:55:02 +02:00
Pierre-Emmanuel Wulfman
330c48e66a remove Map and BIG_Map 2020-03-30 17:55:02 +02:00
Pierre-Emmanuel Wulfman
a39c900b72 remove set and list 2020-03-30 17:55:00 +02:00
Pierre-Emmanuel Wulfman
c5d9c9ffa3 remove look_up 2020-03-30 17:54:16 +02:00
Pierre-Emmanuel Wulfman
3cbd8f0113 Merge branch 'ast/e_assing_is_back' into 'dev'
Adding E_assign to AST_imperative

See merge request ligolang/ligo!532
2020-03-30 13:37:26 +00:00
Pierre-Emmanuel Wulfman
d91753e493 remove case e_sequance (e_assing, expr) 2020-03-30 14:40:28 +02:00
Pierre-Emmanuel Wulfman
21e8298a4e add assign back 2020-03-30 14:28:31 +02:00
Christian Rinderknecht
ebff258882 The emitted line directives now have the exact same contents as with
cpp. A line made of blanks is now correctly copied out (instead of
single newline).
2020-03-27 19:30:39 +01:00
Pierre-Emmanuel Wulfman
63793ddc76 Merge branch 'ast/loop_construct_for_ast_imperative' into 'dev'
Add for, for_each, while construct in ast_imperatve

See merge request ligolang/ligo!531
2020-03-27 18:28:52 +00:00
Sander
54af2138bf Merge branch 'describe-nested-immutable-path' into 'dev'
Describe nested updates.

See merge request ligolang/ligo!526
2020-03-27 16:07:19 +00:00
Pierre-Emmanuel Wulfman
4003aa4e06 add for, for_each, while construct in ast_imperatve;\n Move the treatment of loops and handling of the assignment in imperative_to_sugar 2020-03-27 16:52:44 +01:00
Sander Spies
1ac6835726 Some changes to get around the negative test errors. 2020-03-27 16:29:50 +01:00
Sander Spies
3c65eafa7b Merge. 2020-03-27 09:18:08 +01:00
Sander Spies
62d1a77b3d ReasonLIGO: Add support for _ as an argument 2020-03-26 20:40:18 +01:00
Christian Rinderknecht
b5a3fb9367 The directive #include is now recursive. 2020-03-26 19:32:48 +01:00
Sander
c28a0f0a60 Merge branch 'remaining-460-docs' into 'dev'
Remaining doc changes of #460

See merge request ligolang/ligo!505
2020-03-26 17:08:47 +00:00
Christian Rinderknecht
9e84d29326 Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@preproc 2020-03-26 18:03:38 +01:00
Sander Spies
c4796d5695 Describe nested updates.
Put record patches section in a pascaligo syntax block.
2020-03-26 17:53:46 +01:00
Sander Spies
40fd4cc2fe Merge 2020-03-26 17:04:50 +01:00
Christian Rinderknecht
ca48e152a0 I removed exceptions for error reporting through the
interfaces ([Stdlib.result] instead).

I added --verbose=preproc to print the preprocessed text until
the error.

Fixed a bug: some whitespace in skip mode was printed out.
2020-03-26 16:51:08 +01:00
Sander
24f4364978 Merge branch 'improve-string-doc' into 'dev'
Improve String.sub api documentation.

See merge request ligolang/ligo!525
2020-03-26 11:09:21 +00:00
Sander
8f62a15f73 Merge branch 'cheat-sheet-testable' into 'dev'
Testable cheat sheet

See merge request ligolang/ligo!509
2020-03-26 11:02:18 +00:00
Sander
0220aac83e Merge branch 'error-tutorial' into 'dev'
Fix tutorial error.

See merge request ligolang/ligo!520
2020-03-26 10:58:08 +00:00
Sander
91a6affdad Merge branch 'enfore_not_allowing_big_maps' into 'dev'
Give an error when nesting a big_map inside another big_map

See merge request ligolang/ligo!518
2020-03-26 10:39:18 +00:00
Sander Spies
38a61f5cb3 Improve String.sub api documentation. 2020-03-26 11:06:52 +01:00
Sander Spies
cb54cd1210 Lambda's and keys shouldn't give errors for nesting big maps. 2020-03-26 09:23:43 +01:00
Tom Jack
84d8da97ec Delete flaky webide test (for now) 2020-03-25 14:47:41 -05:00
Christian Rinderknecht
b24f1f6b1d Added support for -I CLI option (same behaviour as CPP).
Comments are now recognised in accordance with the file extension.
2020-03-25 18:52:23 +01:00
Pierre-Emmanuel Wulfman
e9a26f7db7 Merge branch 'ast/add_printer_in_cli_for_new_ast' into 'dev'
Add command for printing new ast_cases (debug)

See merge request ligolang/ligo!511
2020-03-25 16:22:14 +00:00
Sander Spies
7e59312454 Merge 2020-03-25 17:18:53 +01:00
Pierre-Emmanuel Wulfman
9b192d8ba2 done 2020-03-25 16:23:56 +01:00