Commit Graph

99 Commits

Author SHA1 Message Date
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
Jev Björsell
61898eb52d
chore(ide) Disable the ID Example contracts until LIGO-676 is resolved 2020-07-03 10:42:50 -07:00
Edmond Lee
582dacf5d5 add @babel/plugin-transform-runtime to ligo-snippets 2020-06-09 16:33:19 -07:00
Edmond Lee
86a30b1e6f add getLanguageHighlight function to determine the language highlight, and added custom syntax highlighting rules to ligosnippets editor 2020-06-09 22:39:33 +00:00
Francis Brunelle
5cfe6e893c Merge branch 'website-changes' into 'dev'
Update the Contact page and other minor improvements to the website

See merge request ligolang/ligo!607
2020-06-03 22:30:39 +00:00
Francis Brunelle
10b373e8fc
Update the Contact page and other minor improvements to the website 2020-06-03 18:18:40 -04:00
Edmond Lee
18bf6f92e4 update to shorten example names in webide 2020-06-03 09:55:37 -07:00
Edmond Lee
7d65000e2a add comment to development example list 2020-06-03 09:01:55 -07:00
Edmond Lee
2b0f3ce969 update webide example names for consistency 2020-06-03 08:46:09 -07:00
Jev Björsell
2032485b60 Merge branch 'feature/use-wallet-api-for-contract-origination' into 'dev'
Update Ligo IDE to use new Wallet API

See merge request ligolang/ligo!654
2020-06-03 14:31:01 +00:00
Roxane Letourneau
4c56515d6b Add missing update to lock file 2020-06-02 21:08:26 -07:00
Roxane Letourneau
a28b81379f Update Ligo IDE to use new Wallet API 2020-06-02 14:37:33 -07:00
Edmond Lee
08ee216f1b Merge branch 'dev' of gitlab.com:edmondlee/ligo into webide/generate-deploy-script 2020-06-02 10:29:06 -07:00
technomad21c
a5419d0158 add default parameters for deploy and modify the hashvalue for share-link test 2020-06-02 16:54:47 +02:00
Jev Björsell
fa1185c20e Add new ID example contracts to dev initial state
Remove duplicate def of CURATED_EXAMPLES
2020-06-02 16:54:47 +02:00
John David Pressman
e42e79eff3 Add ID contract examples to web ide without command defaults 2020-06-02 16:54:47 +02:00
Edmond Lee
9eb603a1e8 change generate deploy script tool back to hard code of tezos-client 2020-05-26 12:56:38 -07:00