Commit Graph

328 Commits

Author SHA1 Message Date
Sander Spies
7e2a09e81e Improve inline attribute description. 2020-04-02 12:29:32 +02:00
Sander Spies
951235d105 Merge 2020-04-02 10:31:52 +02:00
Sander Spies
3e46e226c0 Add toplevel page for API reference. 2020-04-01 19:00:39 +02:00
Sander Spies
3d3da33e3e Add background-color to options of Syntax Switch. 2020-04-01 15:44:53 +02:00
Sander Spies
1202ffc8df Add list of boolean operations 2020-04-01 14:49:56 +02:00
Sander Spies
0d46be7425 Change not existing mutez type to existing tez type 2020-03-31 17:00:17 +02:00
Sander Spies
257821a764 Use Tezos prefix in Tutorial. 2020-03-31 14:39:26 +02:00
Sander Spies
c8175a7550 Inline attribute documentation 2020-03-31 14:11:22 +02:00
Sander
54af2138bf Merge branch 'describe-nested-immutable-path' into 'dev'
Describe nested updates.

See merge request ligolang/ligo!526
2020-03-27 16:07:19 +00:00
Sander Spies
c4796d5695 Describe nested updates.
Put record patches section in a pascaligo syntax block.
2020-03-26 17:53:46 +01:00
Sander Spies
40fd4cc2fe Merge 2020-03-26 17:04:50 +01:00
Sander
24f4364978 Merge branch 'improve-string-doc' into 'dev'
Improve String.sub api documentation.

See merge request ligolang/ligo!525
2020-03-26 11:09:21 +00:00
Sander
8f62a15f73 Merge branch 'cheat-sheet-testable' into 'dev'
Testable cheat sheet

See merge request ligolang/ligo!509
2020-03-26 11:02:18 +00:00
Sander
0220aac83e Merge branch 'error-tutorial' into 'dev'
Fix tutorial error.

See merge request ligolang/ligo!520
2020-03-26 10:58:08 +00:00
Sander Spies
38a61f5cb3 Improve String.sub api documentation. 2020-03-26 11:06:52 +01:00
Sander Spies
7e59312454 Merge 2020-03-25 17:18:53 +01:00
Sander Spies
75735cd6ed Fix tutorial error. 2020-03-24 14:41:37 +01:00
Sander Spies
715c3a8eac Inform that it's not possible to nest a big map inside another big map 2020-03-24 14:01:04 +01:00
Sander Spies
d059cf991b Give an error when nesting a big_map inside another big_map 2020-03-24 13:58:18 +01:00
Eowyn Dean
f266b3f0ee Added FAQ 2020-03-23 19:52:02 +00:00
Sander Spies
7896de89f3 Make cheatsheet testable. 2020-03-19 21:27:58 +01:00
Sander Spies
ebbaccd064 wip 2020-03-18 16:53:59 +01:00
Pierre-Emmanuel Wulfman
6dd7afbeb1 change passes name concrete_to_imperative, imperative_to_sugar, sugar_to_core 2020-03-18 16:00:34 +01:00
Pierre-Emmanuel Wulfman
8b3877a92c rename AST to imperative, sugar and core. Factor code in compile 2020-03-18 16:00:34 +01:00
Gabriel Alfour
2c9100d6f7 Merge branch 'nested-functions' into 'dev'
Documentation on nested functions

See merge request ligolang/ligo!507
2020-03-18 10:49:32 +00:00
Sander Spies
626054ed66 Describe nested functions 2020-03-18 09:49:35 +01:00
Sander
78ae61c5e0 Add remaining API docs 2020-03-17 15:38:41 +00:00
Sander Spies
35ae307f6c More language-basics changes. 2020-03-17 16:05:03 +01:00
Sander Spies
16a2355294 Remove empty lines. 2020-03-16 22:30:28 +01:00
Sander Spies
78ae534913 Add NotFound component to fix build. Yay, docusaurus... 2020-03-13 15:28:24 +01:00
Pierre-Emmanuel Wulfman
c17a749078 review 2 2020-03-12 16:05:17 +01:00
Pierre-Emmanuel Wulfman
dbb6fbd8e6 review 1 2020-03-12 16:05:17 +01:00
Pierre-Emmanuel Wulfman
abbc20459c add doc and test 2020-03-12 16:05:17 +01:00
Pierre-Emmanuel Wulfman
c46002b160 modifying doc and test for loops (Cameligo and pascaligo) 2020-03-12 16:05:17 +01:00
Sander Spies
978c95fa76 Remove versions.json from docker compose file. 2020-03-10 13:50:36 +01:00
Sander Spies
608a7b7f95 - Refactor operators.ml to have shared pseudo modules.
- Fix tests for big_map
2020-03-10 12:54:18 +01:00
Sander Spies
5dc6980d46 Merge branch 'dev' of https://gitlab.com/ligolang/ligo into api-docs/big_map 2020-03-09 18:25:49 +01:00
Sander Spies
19848c2f67 Big_map: first example of syntax specific titles. 2020-03-09 18:20:21 +01:00
Sander Spies
6da6fc2e59 Add SyntaxTitle component. 2020-03-09 18:19:46 +01:00
Sander Spies
3f1ee22bbc Refactor Switch component to be a plugin. 2020-03-09 18:19:31 +01:00
Lesenechal Remi
25f004844a self: now reject capitalized entrypoint annotation 2020-03-09 11:23:08 +01:00
Lesenechal Remi
68f562ffc6 add some doc about self in the reference page 2020-03-09 11:23:08 +01:00
Pierre-Emmanuel Wulfman
49625001b1 Fix simplifyer and test 2020-03-07 02:39:39 +01:00
Sander Spies
c95f4ee02c Merge 2020-03-06 08:38:07 +01:00
John David Pressman
15b3dc02db Improve LIGO intro page based on Sander's suggestions 2020-03-05 20:22:43 -08:00
Sander Spies
2a38375f6c Fix mobile homepage 2020-03-05 09:35:32 +01:00
Sander Spies
7b5dd8de3b Persistent syntax selection. 2020-03-04 21:39:57 +01:00
Pierre-Emmanuel Wulfman
38eaabb91f Merge branch 'fix-function-type-annotation-in-camel-simplifer' into 'dev'
Repare function annotation in let binding for Camligo and ReasonLigo and fix some contracts

See merge request ligolang/ligo!458
2020-03-04 14:33:57 +00:00
Sander
8f60accc24 - Improve darkmode support
- Reenable code block tabs
- Reeneble code blocks highlighting
2020-03-04 13:19:00 +00:00
Pierre-Emmanuel Wulfman
32d3bb5a0f fixing doc or fonction (partial application) 2020-03-04 10:35:34 +01:00
Pierre-Emmanuel Wulfman
5159f293f8 Repare function annotation in let binding for Camligo and ReasonLigo and fix some contracts 2020-03-04 10:35:34 +01:00
Lesenechal Remi
a4fece03d6 doc & changelog 2020-03-03 13:46:11 +01:00
John David Pressman
9791b993d2 Abbreviate and de-tone LIGO introduction draft 2020-03-02 21:42:45 -08:00
John David Pressman
f62ea8e8fe Make new intro page use less 'we' 2020-02-27 19:50:25 -08:00
Christian Rinderknecht
8d5a099009 Fixed "fail" -> "failwith" in the cheat-sheet. 2020-02-26 19:37:05 +01:00
Christian Rinderknecht
127a85822f More updates to the documentation. Synced the new reference page. 2020-02-26 18:31:58 +01:00
Christian Rinderknecht
623e16459f Changed Loop.continue to Loop.resume. 2020-02-26 13:36:50 +01:00
John David Pressman
f2bff77ffd Change LIGO documentation introduction to be about LIGO 2020-02-26 03:27:11 -08:00
Christian Rinderknecht
31a39bffbc I upgraded the parsers to accept Map.map etc. I rewrote the doc except "reference" to promote and deprecate built-ins. 2020-02-25 18:07:53 +01:00
Christian Rinderknecht
656807b22e Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@doc 2020-02-25 17:09:19 +01:00
John David Pressman
936418615e Add Current.x reference page to doc tests 2020-02-25 05:26:04 -08:00
John David Pressman
9daabd0abf Merge branch 'dev' into docs/current-reference 2020-02-25 05:14:09 -08:00
John David Pressman
a0c2978b9f Add Current.x reference page to the docs 2020-02-25 05:13:25 -08:00
Christian Rinderknecht
4699d2c954 Included remarks on the MR. 2020-02-24 11:39:45 +01:00
Christian Rinderknecht
817e94603b Syncronised the *.ligo files of the tutorial with the contents of the tutorial. 2020-02-23 07:30:41 +01:00
Christian Rinderknecht
9fb311ef13 Renamed main to the original buy_taco. 2020-02-22 16:50:36 +01:00
Christian Rinderknecht
feaf143209 "access function" -> "main function" 2020-02-21 18:13:09 +01:00
Christian Rinderknecht
f4d688df7b Fixed the tutorial. Enabled underscores in tez amounts. Fixed docs on
Tez and tuples (zero-indexation).
2020-02-21 17:16:53 +01:00
John David Pressman
62fe576bc9 Revert "Merge branch 'fix/pascal-tuples-in-doc' into 'dev'"
This reverts merge request !437
2020-02-20 05:25:30 +00:00
Pierre-Emmanuel Wulfman
8d01fcb9f7 Merge branch 'fix/pascal-tuples-in-doc' into 'dev'
Make Tuple in PascaLigo starting at one

See merge request ligolang/ligo!437
2020-02-19 17:15:29 +00:00
Pierre-Emmanuel Wulfman
b8af9a56d9 fix contract with tuples starting at one 2020-02-19 16:15:43 +01:00
John David Pressman
ee4d62be46 Add reference pages to docs sidebar, change titles to include description like python 2020-02-15 00:14:46 -08:00
Eowyn Dean
8e9e871d08 Update siteConfig.js to collapse docs sidebar categories 2020-02-13 14:50:35 +00:00
Suzanne Dupéron
6be23179c6 Merge branch 'dev' into 'docs/list-reference'
# Conflicts:
#   src/test/contracts/list.ligo
#   src/test/md_file_tests.ml
2020-02-12 15:13:27 +00:00
John David Pressman
f2b3e83986 Merge branch 'dev' into docs/map-reference 2020-02-11 17:56:21 -08:00
John David Pressman
e8da2626e4 Add set reference page to the docs
Add Set.literal to the test suite
2020-02-12 01:39:41 +00:00
John David Pressman
93ed763483 Fix type of List.map and clean up its PascaLIGO example in list reference page 2020-02-11 17:27:27 -08:00
Christian Rinderknecht
37bf8d6f76 Merge branch 'dev' of gitlab.com:ligolang/ligo into dev 2020-02-11 22:29:44 +01:00
Christian Rinderknecht
8c0a25bdb5 Fixes after writing the slides. 2020-02-11 22:29:12 +01:00
John David Pressman
e0c5505886 Merge branch 'dev' into docs/big-map-reference 2020-02-11 01:07:32 -08:00
John David Pressman
39c0f01998 Add big_map reference page to doc tests and add big_map add to test suite 2020-02-11 01:03:46 -08:00
John David Pressman
bfd240dacf Merge branch 'dev' into docs/map-reference 2020-02-10 20:53:30 -08:00
John David Pressman
b6a6eea5d2 Add map reference page to doc tests and fix bugs 2020-02-10 20:51:48 -08:00
Christian Rinderknecht
61832354d9 Merge branch 'dev' of gitlab.com:ligolang/ligo into feature/doc-pascaligo-loop 2020-02-10 19:22:52 +01:00
Christian Rinderknecht
82aacde97f More documentation rewrites. 2020-02-10 19:07:20 +01:00
Suzanne Dupéron
78bbf9b044 Merge branch 'dev' into 'dev'
add Telegram link

See merge request ligolang/ligo!351
2020-02-09 09:02:31 +00:00
Suzanne Dupéron
995ca7e807 Print numeric records as tuples, better typer error messages for records & tuples 2020-02-09 00:31:30 +01:00
Christian Rinderknecht
e6dc4371ee Merge branch 'dev' of gitlab.com:ligolang/ligo into feature/doc-pascaligo-loop 2020-02-08 10:16:34 +01:00
Sander
c79b09ed86 Merge branch 'dev' into 'dev'
Changes add function to a single tuple param, resolving example LIGO statement

See merge request ligolang/ligo!397
2020-02-08 06:13:40 +00:00
John David Pressman
8db8f6f039 Add list reference page to docs and add unit tests for List.size 2020-02-07 20:17:13 -08:00
John David Pressman
02c59db8b8 Simplify a few pascaligo functions in string reference page 2020-02-07 14:03:57 -08:00
Justin Wilson
fff734dd00 Changes add function to a single tuple param, resolving example LIGO statement 2020-02-07 14:24:15 -07:00
John David Pressman
4c45eb9fb3 Add string reference page to docs 2020-02-07 05:27:23 -08:00
Lesenechal Remi
c82ae6359a fix broken .md file (sets-lists-tuples) 2020-02-06 13:34:32 +01:00
Christian Rinderknecht
9f9f5c82ae Added an example about lambdas. 2020-02-06 12:32:23 +01:00
Christian Rinderknecht
3583f72cb4 Improvements from Sander and JDP. 2020-02-06 11:48:59 +01:00
Christian Rinderknecht
410bbb0723 Complete rewrite of the documentation. 2020-02-05 16:28:40 +01:00
John David Pressman
04daf776d3 Add rough draft of big map reference page to docs 2020-02-04 23:08:47 -08:00
John David Pressman
59448e1d91 Add partial draft of Current library documentation and unit tests for Current.amount 2020-02-04 20:27:56 -08:00
Sander Spies
a0ffc441f3 Forgot to add these. 2020-02-03 11:25:13 +01:00