Kirill Andreev
d380e46737
Convert to monotyped AST
2020-08-11 12:32:00 +04:00
Kirill Andreev
113a2425a4
Remove ScopeHelpers.hs
2020-08-11 12:31:59 +04:00
Kirill Andreev
11fdc0afa1
Fix error msg interpolation
2020-08-11 12:31:59 +04:00
Kirill Andreev
5c643a3b63
TMP
2020-08-11 12:31:59 +04:00
Kirill Andreev
67de82edec
[LIGO-6] Implement fallback scope system
2020-08-11 12:31:58 +04:00
Kirill Andreev
1536590edb
TMP
2020-08-11 12:31:58 +04:00
Kirill Andreev
bc155bea16
Add TODO
2020-08-11 12:31:58 +04:00
Kirill Andreev
c8b4c2bd35
Fix comment )-truncation
2020-08-11 12:31:57 +04:00
Kirill Andreev
e1a3903e18
Limit exports of Parser
2020-08-11 12:31:57 +04:00
Kirill Andreev
020b3ba334
Improve pretty-printer
2020-08-11 12:31:57 +04:00
Kirill Andreev
19e1018620
Add autocollector for comments
2020-08-11 12:31:56 +04:00
Kirill Andreev
c497da5841
Add automatic error collector to the parser
2020-08-11 12:31:56 +04:00
Kirill Andreev
916d9897bd
Simplifying parser
2020-08-11 12:31:56 +04:00
Kirill Andreev
7ff8226e1b
Remove obsolete checks for Parser.{some,many}
2020-08-11 12:31:55 +04:00
Kirill Andreev
6dc1eb23cd
Remove excess params of Parser.{many,some}
2020-08-11 12:31:55 +04:00
Kirill Andreev
b62cd58add
Add some more documentation
2020-08-11 12:31:55 +04:00
Kirill Andreev
eace901195
Remove debug print, document Parser.hs
2020-08-11 12:31:54 +04:00
Kirill Andreev
e6299a50ff
Make parser recognise all src/tests/contracts
2020-08-11 12:31:54 +04:00
Kirill Andreev
b4e6231340
Add [Big]Map literal/removal/projection parser
2020-08-11 12:31:54 +04:00
Kirill Andreev
2f269e32ea
Add attribute parser
2020-08-11 12:31:53 +04:00
Kirill Andreev
d928aaa39c
Add lists, if, assignments, string, tez parsers
2020-08-11 12:31:53 +04:00
Kirill Andreev
6e862bf5b9
Untie AST builder from comment accumulation
2020-08-11 12:31:53 +04:00
Kirill Andreev
1ed617c7d0
Convert parsers to applicative interface
...
Problem: The aquisition of current range is manual, and therefore
error-prone. The names in do-syntax create visual clutter.
Solution: Hide range aquisition (which makes it possible to do automatic
comment aquisition as well).
2020-08-11 12:31:52 +04:00
Kirill Andreev
a8b898d396
Improve grammar, add Parsers for many things
2020-08-11 12:31:52 +04:00
Kirill Andreev
83cc13dd48
Convert into GLR-way of operator parsing
2020-08-11 12:31:52 +04:00
Kirill Andreev
f3c537d2ca
Make it parse let-expressions
2020-08-11 12:31:52 +04:00
Kirill Andreev
ad7650ea48
Stabilise parsing of let-expressions
2020-08-11 12:31:51 +04:00
Kirill Andreev
0cec59988e
Prevent many/some from making last error-element
2020-08-11 12:31:51 +04:00
Kirill Andreev
00b4dabe36
Add Pretty instance to AST, Error and Range
2020-08-11 12:31:51 +04:00
Kirill Andreev
efe1afb61d
Add byte offsets to Range
2020-08-11 12:31:50 +04:00
Kirill Andreev
c603cd399d
Refactor AST -> types/parser, extract Range/Printer
2020-08-11 12:31:50 +04:00
Kirill Andreev
017db45f8d
Fix bulk of function header parser
2020-08-11 12:31:50 +04:00
Kirill Andreev
cb40392554
Add README.md with install/run instructions
2020-08-11 12:31:49 +04:00
Kirill Andreev
510cda6613
Initial commit of LIGO tooling
2020-08-11 12:31:49 +04:00
Gabriel Alfour
0c0889f514
Merge branch 'optimize-inserted-michelson' into 'dev'
...
Optimize inserted michelson
See merge request ligolang/ligo!714
2020-07-05 07:36:10 +00:00
Tom Jack
9b4e881827
fix expect test
2020-07-04 23:16:54 -05:00
Tom Jack
b905c49579
Beta-reduce "inserted" Michelson lambdas
2020-07-04 16:36:27 -05:00
Tom Jack
fcb6647551
Strip annots in PUSH type
2020-07-04 16:36:26 -05:00
Sander
0b0de1ea59
Merge branch 'rinderknecht@fix-verbatim' into 'dev'
...
Improved the lexing of verbatim strings for Michelson inclusion
See merge request ligolang/ligo!713
2020-07-04 13:02:22 +00:00
Christian Rinderknecht
ca50603a7c
Added to the scanning of verbatim strings: new line and preprocessor
...
line directive.
2020-07-04 14:38:47 +02:00
Jev Björsell
c489989cd3
Merge branch 'disable_id_contract_examples' into 'dev'
...
chore(ide) Disable the ID Example contracts until LIGO-676 is resolved
See merge request ligolang/ligo!711
2020-07-03 18:17:06 +00:00
Jev Björsell
61898eb52d
chore(ide) Disable the ID Example contracts until LIGO-676 is resolved
2020-07-03 10:42:50 -07:00
Gabriel Alfour
42c0baa00b
Merge branch 'dont-trace-strong' into 'dev'
...
Remove a trace_strong in compiler
See merge request ligolang/ligo!710
2020-07-03 16:22:42 +00:00
Rémi Lesenechal
99448ef371
Merge branch '199-add-an-option-to-specify-output' into 'dev'
...
Resolve "Add an option to specify output"
Closes #199
See merge request ligolang/ligo!704
2020-07-03 13:45:48 +00:00
Tom Jack
cbf1680e36
Remove trace_strong in compiler
2020-07-03 08:24:50 -05:00
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
Pierre-Emmanuel Wulfman
93d96b2e7b
Merge branch 'fix/order_of_match_bool' into 'dev'
...
Fix matching bool
See merge request ligolang/ligo!700
2020-07-02 21:42:11 +00:00