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
Christian Rinderknecht
96f9c032c0
Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@pprint
2020-05-28 12:52:15 +02:00
Gabriel ALFOUR
294e048aff
remove environments from the ast
2020-05-27 23:01:07 +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
320e31cb41
* [ligo pretty-print foo.mligo] works.
...
* [ligo pretty-print foo.religo] is a transpiler (for now) and needs
more work.
* Renamed functions *_ast into *_cst. One day, module AST should be
renamed CST for clarity and consistency.
2020-05-25 20:29:48 +02: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
Pierre-Emmanuel Wulfman
e0be6fc36f
done
2020-05-05 17:24:03 +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
Suzanne Dupéron
a0b450a34d
Merge branch 'balsoft/nix' into 'dev'
...
Add nix as a build system
See merge request ligolang/ligo!535
2020-04-29 20:05:07 +00:00
edb3fce642
Add nix as a build system
...
* Dynamically linked executables (ligo-bin)
* Statically linked executables (ligo-static)
* Docker (ligo-docker)
* deb package (ligo-deb)
* webide (ligo-editor)
* webide docker (ligo-editor-docker)
* website (ligo-website)
2020-04-29 19:40:04 +01: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
Pierre-Emmanuel Wulfman
0bf6d09e85
reset Var counter at the begening of cli run
2020-04-21 18:06:17 +02:00
Tom Jack
8066e4df26
Allow to failwith an int (or nat)
2020-04-21 15:35:41 +00:00
Tom Jack
5df005f4b7
Add print-mini-c --optimize=entrypoint
to print optimized mini_c
2020-04-21 13:28:39 +00:00
Lesenechal Remi
5323475097
empty string singleton is not annotated anymore
2020-04-20 20:21:49 +02:00
Lesenechal Remi
5622b52a36
updating tests
2020-04-19 15:20:02 +02:00
Tom Jack
f2a23029bd
Always inline variable-for-variable lets in Self_mini_c
2020-04-16 14:18:35 -05:00
Tom Jack
6acf91a3f2
Perform basic eta contraction in Self_mini_c
2020-04-16 14:17:30 -05:00
Suzanne Dupéron
8848226b85
Merge branch 'bugfix-url-errors' into 'dev'
...
Fix link to docs in error message, closes LIGO-547
Closes LIGO-547
See merge request ligolang/ligo!573
2020-04-15 17:22:32 +00:00
Pierre-Emmanuel Wulfman
7a18cbd8fc
Merge branch 'srcloc_for_types' into 'dev'
...
Add srcloc for Types
See merge request ligolang/ligo!562
2020-04-15 16:41:27 +00:00
Suzanne Dupéron
f547caa80f
Fix link to docs in error message, closes LIGO-547
2020-04-15 18:04:43 +02:00
Pierre-Emmanuel Wulfman
7c29b075bb
add srcloc for types
2020-04-15 17:38:42 +02:00