Rémi
ec2c1571af
CLI: --output option for compile-contract
2020-07-03 14:35:45 +02:00
Lesenechal Remi
ab773a56a4
errors are printed to std err:
...
this has the weird side effect to indent the error after 'ligo: error'
2020-07-03 14:32:43 +02:00
Rémi Lesenechal
567515a5ce
Merge branch 'feature/initial_req_serokell' into 'dev'
...
get-scope command
See merge request ligolang/ligo!690
2020-07-03 11:57:53 +00:00
Lesenechal Remi
f25c9bd33a
get-scope: adding a test with includes
2020-07-03 12:37:35 +02:00
Rémi Lesenechal
43b70361bc
Merge branch 'gardening/improve_on_error_formatting' into 'dev'
...
bunch of fixes to the PPs
See merge request ligolang/ligo!705
2020-07-02 18:10:56 +00:00
Rémi
d0071ca0e8
bunch of fixes to the PPs:
...
* Now uses the expression variable location in constant declaration tracer
* switched to horizontal boxes for record/sum types PP's
* removed weird indentation
2020-07-02 18:17:11 +02:00
Lesenechal Remi
6a3ab09f7c
get_scope: scopes for records update/access, constants and applications
2020-07-01 15:37:49 +02:00
Lesenechal Remi
728cf3f1ba
get_scope fixes:
...
- merge inner_def maps in the main fold
- make use of the expression variable locations
2020-07-01 13:10:52 +02:00
Lesenechal Remi
50a1e48f28
get_scope command: fix recursive handling
2020-07-01 01:22:10 +02:00
Lesenechal Remi
8a551114c3
ignore generated variables
2020-07-01 01:22:10 +02:00
Lesenechal Remi
21904f7e53
get_scope command : tests
2020-07-01 01:22:10 +02:00
Christian Rinderknecht
b304b82e11
Merge branch 'dev' into rinderknecht@pprint_comments
2020-06-30 17:10:48 +02:00
Pierre-Emmanuel Wulfman
bc259fcde7
Feature/transpiler
2020-06-29 13:05:34 +00:00
Lesenechal Remi
0cf9dc576e
rework error when comparing two sum types
2020-06-23 22:45:16 +01:00
Pierre-Emmanuel Wulfman
c8b8492ed9
remaking PacscaLIGO simplifier
2020-06-18 17:53:00 +02:00
Lesenechal Remi
3fd93fc7b5
result monad refactoring: update test
2020-06-15 15:25:40 +02:00
Pierre-Emmanuel Wulfman
195175287a
review 2
2020-06-11 11:40:45 +02:00
Christian Rinderknecht
838fdf6a5f
Fixed build.
2020-06-08 12:40:14 +02:00
Christian Rinderknecht
c67fc4aa34
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@pprint
2020-06-04 13:26:29 +02:00
Pierre-Emmanuel Wulfman
cc615f1c9f
Change type_operator
2020-06-03 14:29:46 +02:00
Christian Rinderknecht
3264277310
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@pprint
2020-05-30 13:50:43 +02:00
Gabriel Alfour
54a0fb63d8
Merge branch 'opt-strip-annots' into 'dev'
...
Strip type annotations from some instructions
See merge request ligolang/ligo!638
2020-05-28 15:30:29 +00:00
Christian Rinderknecht
4779d12295
Merge branch 'rinderknecht@pprint' of gitlab.com:ligolang/ligo into rinderknecht@pprint
2020-05-28 12:57:06 +02:00
Lesenechal Remi
66c1e51cb2
updating tests
2020-05-26 15:39:06 +02:00
Lesenechal Remi
f455fa2376
add a test case for double fold env recomputing
2020-05-26 15:39:06 +02:00
Sander Spies
cade57a47c
Fix expect help tests.
2020-05-26 12:41:42 +02:00
Tom Jack
daa1c18573
Strip type annotations from some instructions
2020-05-25 17:42:31 -05:00
Christian Rinderknecht
36cecfb019
* Renamed AST.TStringLiteral into AST.TString
...
* Fixed parsing of "begin let x = e1 in e2; e3 end"
2020-05-20 16:36:44 +00:00
Pierre-Emmanuel Wulfman
7244b91c45
fix/keep region information in the simplifier
2020-05-15 18:28:24 +02:00
Suzanne Dupéron
673fb67c1c
Added test case from GitLab issue
2020-05-09 22:05:54 +01:00
Lesenechal Remi
9eeac11628
some environment cleanup
2020-05-07 16:30:06 +02:00
Lesenechal Remi
c54d650a2a
now check the label to detect michelson pairs
2020-05-05 15:21:28 +02:00
Lesenechal Remi
7bbfa9ff97
uncapitalize micheslon_or's %-annotations
2020-05-04 18:22:39 +02:00
Lesenechal Remi
5891a6f4cc
'convert_from_left_comb' and 'convert_from_right_comb' for sum types
2020-05-04 14:19:04 +02:00
Lesenechal Remi
8e3230bf29
'Layout.convert_to_right_comb' and 'Layout.convert_to_left_comb' for sum types
2020-05-02 15:38:58 +02:00
Lesenechal Remi
1f6bc4fc6b
convert_from for pairs/record
2020-05-02 15:35:50 +02:00
Lesenechal Remi
9d200a1b56
michelson_right_comb and michelson_left_comb type operators
2020-05-02 15:35:50 +02:00
Lesenechal Remi
3333742037
Converters for michelson types
2020-05-02 15:30:10 +02:00
Pierre-Emmanuel Wulfman
92d741f5f8
Add bool in default environment
2020-04-29 19:31:37 +02:00
Christian Rinderknecht
de7864a500
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@michelson
2020-04-28 19:26:39 +02:00
Christian Rinderknecht
005b7fd69b
Finished refactoring of lexer.
2020-04-28 19:26:31 +02:00
Tom Jack
56fe3b6021
Don't dip for the second var either
2020-04-28 12:00:54 +02:00
Tom Jack
94c35e15dd
Don't dip for vars after the second
2020-04-28 12:00:08 +02:00
Tom Jack
b05e7ef613
Less dippy fold
2020-04-28 11:59:32 +02:00
Tom Jack
710f1699a6
Less dippy constants
2020-04-28 11:58:47 +02:00
Tom Jack
0895467f74
Less dippy application
2020-04-28 11:57:47 +02:00
Pierre-Emmanuel Wulfman
1cbadbc7cf
add expression_eq in ast_typed
2020-04-22 11:42:52 -05:00
Pierre-Emmanuel Wulfman
3cb72f8ec2
add test
2020-04-22 15:05:33 +02:00
Tom Jack
f67bd010c4
Treat transaction environment operators as impure
2020-04-22 10:30:57 +02:00
Pierre-Emmanuel Wulfman
54dadc33d6
move Var.reset_counter () to run_ligo
2020-04-21 18:06:19 +02:00