Commit Graph

168 Commits

Author SHA1 Message Date
Kirill Andreev
24cc24b0d7
Prevent loop on recursive import 2020-08-11 12:32:06 +04:00
Kirill Andreev
b35a28853b
Add ability to recursively parse #included files 2020-08-11 12:32:06 +04:00
Kirill Andreev
583d7f8997
Clean the comments 2020-08-11 12:32:05 +04:00
Kirill Andreev
03b89bc5b7
Rewrite scope loader 2020-08-11 12:32:05 +04:00
Kirill Andreev
8d61a36918
[WIP] Implement a loader of Env from a ScopeTree 2020-08-11 12:32:05 +04:00
Kirill Andreev
9f124bf5af
Implement def/impl/type search 2020-08-11 12:32:04 +04:00
Kirill Andreev
9cf2e0cf97
Use Data.Sum instead of manual Union 2020-08-11 12:32:04 +04:00
Kirill Andreev
20de97c5c6
Make faster Union 2020-08-11 12:32:04 +04:00
Kirill Andreev
44defb2114
Remove Data.Fix, make recursion manually 2020-08-11 12:32:03 +04:00
Kirill Andreev
19f05f5afc
Rename HasComments to Comment; remove *.cabal 2020-08-11 12:32:03 +04:00
Kirill Andreev
e701e196fe
Improve documentation 2020-08-11 12:32:03 +04:00
Kirill Andreev
9d81ecf353
Silence warnings 2020-08-11 12:32:02 +04:00
Kirill Andreev
1f7af3c8cb
Make infoOf always return an info 2020-08-11 12:32:02 +04:00
Kirill Andreev
9b95006a71
Make Error a Functor; move all Error stuff to Error.hs 2020-08-11 12:32:02 +04:00
Kirill Andreev
41403426b0
Add project overview 2020-08-11 12:32:01 +04:00
Kirill Andreev
f3fbfb49a1
Add documentation 2020-08-11 12:32:01 +04:00
Kirill Andreev
95707100c2
Formatting Main.hs 2020-08-11 12:32:01 +04:00
Kirill Kuvshinov
9856476ebf
WIP: Add CTRL.run 2020-08-11 12:32:00 +04:00
Kirill Andreev
923a5bb9fe
Add documentation 2020-08-11 12:32:00 +04:00
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
Edmond Lee
78166c13d3 update generate deploy script from hardcoded tezos-client tool to dynamic tool 2020-05-26 11:47:30 -07:00
Edmond Lee
6d6556107a fix merge conflict 2020-05-26 11:35:19 -07:00
Edmond Lee
8e2a889b1d fix merge conflict 2020-05-26 11:28:12 -07:00
Edmond Lee
dba6335bfc remove the use of toolcommand from generate-deploy-script 2020-05-26 11:14:47 -07:00
Jev Björsell
7db2c24bd3 update example.ts, generate-deploy-script.ts, and load-state.ts to support default generateDeployScript values for examples 2020-05-25 18:47:50 +00:00
Edmond Lee
5ae429c4ef Merge branch 'webide/generate-deploy-script' of gitlab.com:edmondlee/ligo into webide/generate-deploy-script 2020-05-25 11:24:06 -07:00
Edmond Lee
5293b2951f update handler errors to optional 2020-05-25 11:22:39 -07:00
Jev Björsell
42989944b3
chore(lock): Freshen lock files 2020-05-25 10:36:43 -07:00
Edmond Lee
85c08d8ad3
update GenerateDeployScript back to GenerateDeployScriptAction in generate-deploy-script.ts 2020-05-25 10:12:41 -07:00
Edmond Lee
11f1cf01ee
update example.ts, generate-deploy-script.ts, and load-state.ts to support default generateDeployScript values for examples 2020-05-25 10:12:40 -07:00
Edmond Lee
b9ee504dd6
updating generate command to generate deploy script 2020-05-25 10:12:40 -07:00
Edmond Lee
2bf34e9ff5
updating generate command to generate deploy script 2020-05-25 10:12:40 -07:00
Edmond Lee
417bd0f5f8
updating generate command to generate deploy script 2020-05-25 10:12:39 -07:00
Edmond Lee
5e14528a9a update GenerateDeployScript back to GenerateDeployScriptAction in generate-deploy-script.ts 2020-05-22 10:56:27 -07:00
Edmond Lee
8b7594c2d1 update example.ts, generate-deploy-script.ts, and load-state.ts to support default generateDeployScript values for examples 2020-05-21 16:54:17 -07:00
Edmond Lee
0e48b5bb54 updating generate command to generate deploy script 2020-05-21 16:22:33 -07:00
Edmond Lee
b871b7d64f updating generate command to generate deploy script 2020-05-21 15:50:10 -07:00
Edmond Lee
c8b1ff0e9e updating generate command to generate deploy script 2020-05-21 15:27:34 -07:00
Edmond Lee
ae3a555c91 update logo src 2020-05-15 17:32:49 -07: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
Maksym Bykovskyy
7dd63652cf Added compact IDE component 2020-04-25 10:51:01 +00:00
Jev Björsell
51eb1a2855 Merge branch 'update-logo' into 'dev'
Updated logo and favicon

See merge request ligolang/ligo!517
2020-04-24 16:50:20 +00:00
Maksym Bykovskyy
9de281e7ef Add build info to ide metrics and state
- Add ligo_webide_build_info metric that surface revision and branch from CI
- Add  a version sub state which contains the current revision and branch of frontend

- Added back express-prometheus-middleware
2020-04-23 16:46:23 +00:00
Suzanne Dupéron
ab8274eae2 Install perl6 instead of the painful-to-install python3+fstrings 2020-04-13 19:23:12 +02:00
Suzanne Dupéron
6585ce3a09 Install future-fstrings to get f-strings in Python 3.5 and earlier. 2020-04-13 19:23:12 +02:00
Suzanne Dupéron
2cbc8bbf0c Revert "Revert "Merge branch 'feature/adt-generator-poly-3' into 'dev'""
This reverts commit 8b83e375bd.
2020-04-13 19:23:12 +02:00
Tom Jack
84d8da97ec Delete flaky webide test (for now) 2020-03-25 14:47:41 -05:00
Maksym Bykovskyy
cb592dfd9c Updated logo and favicon 2020-03-23 16:39:11 -07:00
Maksym Bykovskyy
1aecc4eb04 Tezos client command 2020-03-12 20:26:13 +00:00
Jev Björsell
b7636e816f Merge branch 'upgrade-taquito' into 'dev'
Upgraded taquito and using carthage network

See merge request ligolang/ligo!488
2020-03-08 04:08:49 +00:00
Maksym Bykovskyy
f2e91cbfbe Updated package lock file 2020-03-07 18:36:16 -08:00