Commit Graph

128 Commits

Author SHA1 Message Date
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
Maksym Bykovskyy
c555df3ff7 Renamed entrypoint fieldname 2020-03-06 14:05:56 -08:00
Maksym Bykovskyy
3317e8462e Upgraded taquito and using carthage network 2020-03-06 13:58:50 -08:00
Maksym Bykovskyy
e61662af5f Show storage after deploy 2020-03-06 20:59:56 +00:00
Maksym Bykovskyy
314b2358db Revised README 2020-03-06 17:35:14 +00:00
Maksym Bykovskyy
e27dfa1bce Moved examples folder 2020-03-03 22:41:16 +00:00
Maksym Bykovskyy
14397157a7 Compile storage for server side deploy 2020-02-27 16:08:31 -08:00
Maksym Bykovskyy
62f3304bc4 Added view in try-michelson link 2020-02-27 14:26:42 -08:00
Jev Björsell
52b27aeffb Merge branch 'compile-storage-for-deploy' into 'dev'
Compiling storage with compile-storage command instead of compile-expression

See merge request ligolang/ligo!450
2020-02-27 22:20:23 +00:00
Maksym Bykovskyy
a434b935c6 Compiling storage with compile-storage command instead of compile-expression 2020-02-27 22:20:23 +00:00
Maksym Bykovskyy
a0d0da3a42 Ui changes feedback changes 2020-02-26 17:50:59 +00:00
Maksym Bykovskyy
9a3c1789e1 Improving syntax selection UI 2020-02-24 19:29:11 +00:00
Maksym Bykovskyy
ddd148a290 Added copy and download to output. Improved tooltip component 2020-02-15 17:50:40 -08:00
Maksym Bykovskyy
2a063a4353 Added JSON output to compile command 2020-02-13 17:19:16 -08:00
Jev Björsell
c59be5f746 * Switch to in-line CI for webide over GitLab's child-pipeline feature. There was too many bugs/weirdness with the child-pipeline. Maybe we use it when it matures.
* Flatten the build_and_deploy_docker and build_and_deploy_website into one step. They don't appear to be dependent, and if the upstream "test" jobs ran okay, then we can run these jobs in parallel.
* Run the webide unit tests in the `test` stage only if there are changes to the tools/webide directory.
* Switch to using the new `rules` ([docs](https://docs.gitlab.com/ee/ci/yaml/#rules))property instead of `only` / `except`. `rules` is now the preferred way of setting job policies. `only`/`except` are [candidates for deprecation](https://docs.gitlab.com/ee/ci/yaml/#onlyexcept-basic).
* Build/push docker images only when CI is running on the canonical `ligolang/ligo` repo. Makes hacking on CI in forked repos easier.
* Don't push a `latest` tag for the webide.
2020-02-13 23:10:02 +00:00
Rémi Lesenechal
8b83e375bd Revert "Merge branch 'feature/adt-generator-poly-3' into 'dev'"
This reverts merge request !403
2020-02-11 10:45:08 +00:00
Suzanne Dupéron
7bad718135 Add missing dependency on Python 3 2020-02-10 20:40:43 +01:00
Jev Björsell
613d7309c1
Update trigger to point to new private deploy repo. 2020-02-07 08:30:58 -08:00
Jev Björsell
c119c44c13
Import webide into main ligo monorepo
When this is merged https://gitlab.com/ligolang/ligo-web-ide/ will be
marked as deprecated.

This MR does not hook up the webide build to the main CI. The CI
integration will come in a subsequent MR for the sake of making review
easier.
2020-02-06 19:04:18 -08:00