Commit Graph

5797 Commits

Author SHA1 Message Date
Sander Spies
8937b762cd Merge branch 'dev' of https://gitlab.com/ligolang/ligo into doc-failwith 2020-06-11 11:12:59 +02:00
Pierre-Emmanuel Wulfman
44ee2be055 rebase on dev 2020-06-11 10:56:01 +02:00
Pierre-Emmanuel Wulfman
0b8effbf2b move the work from lexer to parser: this makes the rules symetrics but impose the language to have the same syntax as constructor. This may change in the future 2020-06-11 10:10:08 +02:00
Pierre-Emmanuel Wulfman
f25456a7a6 remove unsed symbol in parsers 2020-06-11 09:32:37 +02:00
Pierre-Emmanuel Wulfman
c110670a38 fix errors messages in parser 2020-06-11 09:32:36 +02:00
Pierre-Emmanuel Wulfman
dd4abbf46a test passing 2020-06-11 09:14:51 +02:00
Pierre-Emmanuel Wulfman
a4e2fe2447 WIP:handling parsing errors 2020-06-11 09:14:51 +02:00
Tom Jack
97e33a99da Emit LAMBDA directly from compiler 2020-06-11 09:14:51 +02:00
Pierre-Emmanuel Wulfman
dfcccff748 generating good code 2020-06-11 09:14:45 +02:00
Pierre-Emmanuel Wulfman
b044a4fbc5 wip: compiling code that doesn't typecheck 2020-06-11 09:13:29 +02:00
Pierre-Emmanuel Wulfman
5f4e1b83c7 remove {| and |} while transpling + error on wrong language 2020-06-11 09:13:29 +02:00
Pierre-Emmanuel Wulfman
9e5ae133d2 fix old typer 2020-06-11 09:13:28 +02:00
Pierre-Emmanuel Wulfman
fa7cc825eb parser and test 2020-06-11 09:13:21 +02:00
Pierre-Emmanuel Wulfman
7872a1d4bc first attempt 2020-06-11 09:10:44 +02:00
Sander
5365f97f47 Merge branch 'bitwise-examples' into 'dev'
Bitwise pseudomodule examples.

See merge request ligolang/ligo!670
2020-06-10 17:12:25 +00:00
Sander
62e9cd5796 Merge branch 'remove-ghost-selection' into 'dev'
Remove ghost selection on tabs.

See merge request ligolang/ligo!675
2020-06-10 17:12:20 +00:00
Eowyn Dean
fd26ad82cd Changed 'gast' to gas 2020-06-10 17:10:34 +00:00
Sander
82a8ee5697 Merge branch 'rinderknecht@pprint' into 'dev'
Adding a pretty-printer for CameLIGO source files

See merge request ligolang/ligo!599
2020-06-10 15:16:53 +00:00
Christian Rinderknecht
358ae530b8 Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@pprint 2020-06-10 16:59:39 +02:00
Christian Rinderknecht
c57f499fea Final touches to the pretty printers.
Fixed the syntaxes for field_assignment and field_path_assignment.
2020-06-10 16:58:59 +02:00
Sander Spies
a0d2eb733d Remove ghost selection on tabs. 2020-06-10 09:20:19 +02:00
Jev Björsell
29b483aa0c Merge branch 'tools/ligo-snippets-ide-fix' into 'dev'
update to use @ligolang/ligo-snippets@1.0.1

See merge request ligolang/ligo!674
2020-06-10 01:11:02 +00:00
Edmond Lee
eb2facfc11 update to use @ligolang/ligo-snippets@1.0.1 2020-06-09 17:33:50 -07:00
Jev Björsell
22699525b3 Merge branch 'tools/ligo-snippets-ide-fix' into 'dev'
add @babel/plugin-transform-runtime to ligo-snippets

See merge request ligolang/ligo!672
2020-06-10 00:11:52 +00:00
Edmond Lee
582dacf5d5 add @babel/plugin-transform-runtime to ligo-snippets 2020-06-09 16:33:19 -07:00
Jev Björsell
612694d603 Merge branch 'tools/ligo-snippets' into 'dev'
tools/ligo-snippets - add and implement ligo-snippets

See merge request ligolang/ligo!671
2020-06-09 22:39:33 +00: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
Sander
34d726c2f3 Apply 1 suggestion(s) to 1 file(s) 2020-06-09 14:32:17 +00:00
Sander
d810ccc921 Apply 1 suggestion(s) to 1 file(s) 2020-06-09 14:32:14 +00:00
Sander
816afdd1b8 Apply 1 suggestion(s) to 1 file(s) 2020-06-09 14:32:07 +00:00
Sander Spies
5470893f68 Bitwise pseudomodule documentation. 2020-06-09 13:15:24 +02:00
Suzanne Dupéron
206f52d8e6 Merge branch 'balsoft/gitignore' into 'dev'
Improve nix gitignore

See merge request ligolang/ligo!667
2020-06-08 17:11:43 +00:00
Christian Rinderknecht
dfbba95cbf Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@pprint 2020-06-08 16:05:23 +02:00
Pierre-Emmanuel Wulfman
94a3c1c3da Merge branch 'gardening/fix-ast' into 'dev'
Refactoring in the ast

See merge request ligolang/ligo!665
2020-06-08 13:32:52 +00:00
Sander Spies
a688a1afe4 ReasonLIGO improvements. 2020-06-08 15:24:36 +02:00
Sander Spies
cee9cc841e More fixes for PascaLIGO. 2020-06-08 15:07:20 +02:00
Sander Spies
a58dca7097 Add PascaLIGO pretty printer tests. 2020-06-08 15:00:44 +02:00
Sander Spies
d7b4a97731 PascaLIGO fixes. 2020-06-08 15:00:10 +02:00
046f31f7c1
Nix: apply gitignore on sources 2020-06-08 14:50:51 +03:00
Sander Spies
aee524ffc4 Use correct file input for idempotent testing of CameLIGO contracts. 2020-06-08 13:48:54 +02:00
cb11295405
Add nix artifacts to gitignore 2020-06-08 14:41:23 +03:00
Sander Spies
4382c3c042 Merge fixes. 2020-06-08 13:27:24 +02:00
Sander Spies
c770aa3541 Merge branch 'rinderknecht@pprint' of https://gitlab.com/ligolang/ligo into reasonligo-pretty-printer 2020-06-08 13:23:03 +02:00
Sander Spies
eea9d8f627 Move types to toplevel. 2020-06-08 13:12:42 +02:00
Christian Rinderknecht
838fdf6a5f Fixed build. 2020-06-08 12:40:14 +02:00
Christian Rinderknecht
2d65ba638e Updated syntax error messages. 2020-06-08 12:06:19 +02:00
Christian Rinderknecht
8d291b2d2e Finished v1 of PascaLIGO pretty-printer. 2020-06-08 11:59:58 +02:00
Sander Spies
b76d44e9f2 Change loops to iteration and hide bounded loops section for CameLIGO and ReasonLIGO 2020-06-08 11:58:46 +02:00
Sander Spies
d99d1bbe66 Improve failwith description. 2020-06-08 11:58:23 +02:00
Christian Rinderknecht
534447dc9e More printers. 2020-06-08 00:19:05 +02:00