Commit Graph

2758 Commits

Author SHA1 Message Date
Alessandro Coglio
79fd365702 [RFC] Add discussion of conversions with (arrays of) integers. 2021-05-06 20:19:14 -07:00
Alessandro Coglio
6f5655f95f [RFC] Minor edits.
Fix a few typos, improve some text, streamline some text.
2021-05-06 20:19:03 -07:00
Alessandro Coglio
3efe3eab97
Merge pull request #926 from AleoHQ/rfc-strings-example
[RFC Strings] Adds code samples to strings RFC
2021-05-06 12:43:02 -07:00
Alessandro Coglio
2ddb474dce
Merge pull request #903 from AleoHQ/bug/abnf-circuit-grammar
Bug/abnf-circuit-grammar
2021-05-06 11:50:20 -07:00
damirka
6474f3f5ab adds 2 code samples to strings RFC 2021-05-06 15:28:45 +03:00
Alessandro Coglio
15deef6dab
Merge pull request #924 from AleoHQ/doc/rfc-strings
Make PR for Eric M.'s edits on the doc/rfc-strings branch
2021-05-05 21:45:48 -07:00
Alessandro Coglio
4fb3d9cac8 Merge. 2021-05-05 20:34:16 -07:00
Alessandro Coglio
ca6495d636
Merge pull request #922 from AleoHQ/string-rfc-todos
RFC Todos
2021-05-05 20:09:45 -07:00
Alessandro Coglio
7450e27de3
Merge pull request #912 from AleoHQ/bug/909-const-vars-not-enforced
Bug 909 Fix const vars not enforced
2021-05-05 14:33:46 -07:00
gluax
c063200d44 clippy fix 2021-05-05 14:57:48 -04:00
gluax
5587d8dd8d don't allow mixing of semi-colons and commas 2021-05-05 14:53:46 -04:00
gluax
2818d1404f some todos 2021-05-05 14:11:19 -04:00
gluax
f4c9c2c1f0 update grammar readme after master merge 2021-05-05 13:18:13 -04:00
Alessandro Coglio
7e83de8df4
Merge pull request #914 from AleoHQ/fix/abnf-identifier
Fix/abnf identifier comment
2021-05-04 12:35:28 -07:00
Eric McCarthy
e7f88a9849
add mention of Javascript and Rust 2021-05-04 12:10:07 -07:00
Alessandro Coglio
c79194bfa0
Merge pull request #908 from AleoHQ/doc/rfc-strings
Add initial draft of string RFC, including some additions by @bendyarm.
2021-05-04 11:56:10 -07:00
Alessandro Coglio
6b7999f0eb Use markdown for some of the added text. 2021-05-04 09:57:18 -07:00
Alessandro Coglio
d3e46386c1 Fix type names. 2021-05-04 09:56:25 -07:00
Eric McCarthy
2fc07908d7
fix typo in name 2021-05-04 08:50:09 -07:00
Eric McCarthy
050dc72952
Update 001-initial-strings.md 2021-05-04 00:56:31 -07:00
Alessandro Coglio
40a2d58a5a [ABNF] Regenerate the markdown file. 2021-05-03 21:44:29 -07:00
Alessandro Coglio
8df12668c0 [ABNF] Fix (comment in) rule for identifiers.
Now the comment says that an identifier must not only be distinct from a
keyword, but also not be or start with 'aleo1'. Even though the grammar does not
capture these extra-grammatical requirements, we use comments to at least
mention them prominently.
2021-05-03 21:41:20 -07:00
gluax
ffb7cab142 bug fix 905, make sure values are constant when assign is constant 2021-05-03 15:32:11 -04:00
Alessandro Coglio
399a404201
Merge pull request #907 from AleoHQ/fix/abnf-import-semicolon
[ABNF] Fix rule for import declarations.
2021-05-03 11:10:23 -07:00
Alessandro Coglio
b8f61a2d7f Add initial draft of string RFC. 2021-05-02 14:03:08 -07:00
Alessandro Coglio
f5ad06cf59
Merge pull request #549 from damirka/leo-rfc
[RFC] Leo RFC proposal
2021-05-02 14:00:56 -07:00
damirka
0952324d09 Merge branch 'master' into leo-rfc 2021-05-02 14:33:29 +03:00
Alessandro Coglio
5288f2e2f0 [ABNF] Fix rule for import declarations.
The final semicolon was missing.

See https://developer.aleo.org/developer/language/imports.
2021-05-01 18:41:56 -07:00
Alessandro Coglio
c683a133cc
Merge pull request #904 from AleoHQ/feature/abnf-doc-and-layout
[ABNF] Improve documentation and layout.
2021-04-30 22:40:09 -07:00
gluax
c8f1d9913c rename grammar rule as suggested 2021-04-30 12:07:35 -04:00
Alessandro Coglio
2060d0d249 [ABNF] Improve documentation and layout.
Explain better variable and constant declarations.

Leave one blank line between the rules for variable and constant declarations
(not necessary for ABNF, but consistent with the rest of the file and actually
expected by the ABNF-to-LaTeX converter).

Limit lines to 80 columns, by putting the rules for variable and constant
declarations over two lines each, with proper indentation.
2021-04-29 18:16:30 -07:00
gluax
e0cf988261 hacky, but optional comma only allowed on last member variable 2021-04-29 15:22:17 -04:00
gluax
282cbb8840 optional comma at end of member variables 2021-04-29 14:10:22 -04:00
gluax
30d80d191f require comma or semi-colon for now 2021-04-29 14:03:29 -04:00
Alessandro Coglio
c16dad0580
Merge pull request #900 from AleoHQ/feature/abnf-trim-some-doc
[ABNF] Trim some documentation.
2021-04-29 00:24:12 -07:00
Alessandro Coglio
ccbf36e6ec Merge and resolve conflict on generated README.md.
(Since the file is generated, I've simply re-generated it to resolve the
conflict.)
2021-04-28 21:57:34 -07:00
Collin Chin
5e281bf93d
Merge pull request #901 from AleoHQ/more-cli-tests
[CLI] Adds tests for imports
2021-04-28 14:08:15 -07:00
Collin Chin
aaa42bba4c
Merge pull request #705 from AleoHQ/feature/485-defines
Feature/485 global consts
2021-04-28 14:06:40 -07:00
gluax
26d569c92a declaration refactor as suggested 2021-04-28 12:41:42 -04:00
damirka
3d62e6a191 adds tests for imports 2021-04-28 15:12:08 +03:00
Alessandro Coglio
0882100526 [ABNF] Trim some documentation.
The removed text is more of an internal discussion that actual documentation, so
it seems best to keep things slightly more concise.
2021-04-27 22:45:27 -07:00
Howard Wu
9cfc72519d
Update README.md 2021-04-27 19:37:41 -07:00
Collin Chin
c1549f8a77
Merge pull request #895 from AleoHQ/dependabot/cargo/dirs-3.0.2
Bump dirs from 3.0.1 to 3.0.2
2021-04-27 18:22:58 -07:00
Collin Chin
e025c93f27
Merge pull request #899 from AleoHQ/feature-better-publish-errors
[CLI] leo publish now returns better error messages
2021-04-27 18:22:27 -07:00
dependabot-preview[bot]
268207b1b6
Bump dirs from 3.0.1 to 3.0.2
Bumps [dirs](https://github.com/soc/dirs-rs) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-27 19:25:33 +00:00
damirka
927328137c clippy 2021-04-27 17:06:48 +03:00
damirka
87aff4b715 publish is now part of api module 2021-04-27 15:37:23 +03:00
Collin Chin
5adb0ec2d0
Merge pull request #898 from AleoHQ/fix/abnf-doc-typo
[ABNF] Fix typo in documentation.
2021-04-26 22:57:08 -07:00
Collin Chin
b4584399ef
Merge pull request #810 from AleoHQ/feature/opti-cli-flag
[CLI] Adds CompilerOptions flags to Leo CLI
2021-04-26 22:56:55 -07:00
Alessandro Coglio
244e1a49ee [ABNF] Fix typo in documentation. 2021-04-26 20:30:15 -07:00