Christian Rinderknecht
6c1a1f91e2
Removed error "Invalid directive" as PascaLIGO has the operator #
.
2020-04-03 19:06:35 +02:00
Christian Rinderknecht
f5e0dad979
Added # line directive at the start to recover the file name. Continued integration.
2020-04-01 19:22:46 +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
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
Christian Rinderknecht
b5a3fb9367
The directive #include is now recursive.
2020-03-26 19:32:48 +01:00
Christian Rinderknecht
9e84d29326
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@preproc
2020-03-26 18:03:38 +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
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
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
Pierre-Emmanuel Wulfman
8b3877a92c
rename AST to imperative, sugar and core. Factor code in compile
2020-03-18 16:00:34 +01:00
Pierre-Emmanuel Wulfman
6dfd2dac32
test passed
2020-03-18 16:00:34 +01:00
Pierre-Emmanuel Wulfman
2abd737ed3
compiling
2020-03-18 16:00:34 +01:00
Gabriel Alfour
2c9100d6f7
Merge branch 'nested-functions' into 'dev'
...
Documentation on nested functions
See merge request ligolang/ligo!507
2020-03-18 10:49:32 +00:00
Sander Spies
626054ed66
Describe nested functions
2020-03-18 09:49:35 +01:00
Sander
78faa138da
Merge branch 'more-api-docs-syntax-headers' into 'dev'
...
Add remaining API docs
See merge request ligolang/ligo!503
2020-03-17 15:38:41 +00:00
Sander
78ae61c5e0
Add remaining API docs
2020-03-17 15:38:41 +00:00
Sander
24197f594e
Merge branch 'syntax-test' into 'dev'
...
Syntax test
See merge request ligolang/ligo!504
2020-03-16 22:34:50 +00:00
Sander Spies
16a2355294
Remove empty lines.
2020-03-16 22:30:28 +01:00
Rémi Lesenechal
222bc3cb5c
Merge branch 'feature/flag-for-michelson-typecheking' into 'dev'
...
add a flag to disable michelson typechecking in compile-contract
See merge request ligolang/ligo!500
2020-03-16 12:41:29 +00:00
Lesenechal Remi
97a85766d3
add a flag to disable michelson typechecking in compile-contract
2020-03-16 12:19:23 +01:00