Commit Graph

5346 Commits

Author SHA1 Message Date
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
Christian Rinderknecht
ab79fe4eda Added some interfaces and removed submodules [Error]. 2020-03-24 21:05:39 +01:00
Christian Rinderknecht
9b6b13cda3 Fixed dune file. 2020-03-24 18:52:00 +01:00
Christian Rinderknecht
8ce6d00d06 Remove redundant \n in error messages. 2020-03-24 18:43:15 +01:00
Christian Rinderknecht
2a1167428f Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@preproc 2020-03-24 17:48:24 +01:00
Christian Rinderknecht
9c9321029a First working version. 2020-03-24 17:48:01 +01:00
Sander
2182054c1c Merge branch 'rinderknecht@reasonligo_parsing' into 'dev'
Fixed the parsing of type t = list ((u,v));

See merge request ligolang/ligo!473
2020-03-24 14:17:04 +00:00
Sander Spies
75735cd6ed Fix tutorial error. 2020-03-24 14:41:37 +01:00
Sander Spies
caac8caf8e Add test for tuple list in ReasonLIGO 2020-03-24 14:16:08 +01:00
Sander Spies
af319ba236 Merge branch 'dev' of https://gitlab.com/ligolang/ligo into rinderknecht@reasonligo_parsing
# Conflicts:
#	src/passes/1-parser/reasonligo/error.messages.checked-in
2020-03-24 14:10:30 +01:00
Sander Spies
715c3a8eac Inform that it's not possible to nest a big map inside another big map 2020-03-24 14:01:04 +01:00
Sander Spies
d059cf991b Give an error when nesting a big_map inside another big_map 2020-03-24 13:58:18 +01:00
Maksym Bykovskyy
cb592dfd9c Updated logo and favicon 2020-03-23 16:39:11 -07:00
Eowyn Dean
5eada8c5e4 Merge branch 'dernhelm7-dev-patch-89863' into 'dev'
Added FAQ

See merge request ligolang/ligo!513
2020-03-23 20:50:43 +00:00
Eowyn Dean
f266b3f0ee Added FAQ 2020-03-23 19:52:02 +00:00
Christian Rinderknecht
37faf9022e [WIP] Does not compile yet. 2020-03-23 19:43:06 +01:00
Suzanne Dupéron
c491b826ff Blank commit to trigger the CI due to some GitLab failure. 2020-03-23 16:34:21 +01:00
Sander Spies
7896de89f3 Make cheatsheet testable. 2020-03-19 21:27:58 +01:00
Pierre-Emmanuel Wulfman
926a83f7df Merge branch 'ast/ast_imperative+sugar' into 'dev'
Adding two new stages 'Ast_imperative' and 'Ast_complex' to improve architecture

See merge request ligolang/ligo!501
2020-03-18 18:08:58 +00:00
Pierre-Emmanuel Wulfman
6cafb4026b adding E_sequence in sugar 2020-03-18 18:13:02 +01:00
Sander Spies
ebbaccd064 wip 2020-03-18 16:53:59 +01:00
Pierre-Emmanuel Wulfman
cb1bc95d59 remove E_skip from core 2020-03-18 16:16:43 +01:00
Pierre-Emmanuel Wulfman
5a4c0b32fb rewrite test suite to compare value from ast_imperative instead of ast_core; includes uncompiler fo stage 4 and 6 2020-03-18 16:00:34 +01:00
Pierre-Emmanuel Wulfman
6dd7afbeb1 change passes name concrete_to_imperative, imperative_to_sugar, sugar_to_core 2020-03-18 16:00:34 +01:00