dependabot[bot]
2fe921fb42
Bump indexmap from 1.8.0 to 1.8.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.0...1.8.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 10:18:12 +00:00
dependabot[bot]
07a2bc1484
Bump clap from 3.1.6 to 3.1.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.6...v3.1.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 10:18:04 +00:00
dependabot[bot]
2a63ab7c47
Bump eyre from 0.6.7 to 0.6.8
...
Bumps [eyre](https://github.com/yaahc/eyre ) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/yaahc/eyre/releases )
- [Changelog](https://github.com/yaahc/eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/eyre/compare/v0.6.7...v0.6.8 )
---
updated-dependencies:
- dependency-name: eyre
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 10:17:54 +00:00
Alessandro Coglio
c0ffe443c1
[ABNF] Add numerals to tokens.
...
In the currently restricted version of Leo, this is necessary for the numerals
in affine group literals to be tokens.
No change necessary to the lexer/parser, which already handle this properly.
2022-04-04 20:47:57 -07:00
gluax
6aa6b0fa07
add parsing input to compiler
2022-04-04 15:52:05 -07:00
gluax
80d97416cb
fixes and correct tests
2022-04-04 15:31:08 -07:00
gluax
f6aa32da35
parse input changes for private public const
2022-04-04 14:51:46 -07:00
gluax
ffa2705a4e
remove empty inputs files
2022-04-04 14:18:34 -07:00
gluax
76070a8795
intial adding of public and private params
2022-04-04 14:14:17 -07:00
Collin Chin
5353b33c1b
Merge pull request #1725 from AleoHQ/abnf-remove-expr-stmt-rule
...
[ABNF] Also remove rule for expression statements.
2022-04-04 10:59:35 -07:00
Alessandro Coglio
0a35ad8006
[ABNF] Re-generate markdown.
2022-04-01 21:26:30 -07:00
Alessandro Coglio
52d820ad7b
[ABNF] Also remove rule for expression statements.
...
Expression statements were removed from the rule for statements, but the rule
for expression statements itself had not been removed. This commit fixes that.
2022-04-01 21:25:37 -07:00
Collin Chin
a1c0932f3e
Merge pull request #1713 from AleoHQ/abnf-expression-statements
...
[ABNF] Remove expression statements.
2022-04-01 14:17:58 -07:00
collin
4dce7a86cc
Merge branch 'testnet3-dev' of https://github.com/AleoHQ/leo into abnf-expression-statements
2022-04-01 14:17:37 -07:00
Collin Chin
dfcd72dc25
Merge pull request #1712 from AleoHQ/abnf-function-output
...
[ABNF] Require function output type.
2022-04-01 14:15:47 -07:00
collin
f60cf07fad
fix merge conflict
2022-04-01 12:20:21 -07:00
Collin Chin
ff1958e134
Merge pull request #1711 from AleoHQ/remove-ast-to-match-grammar
...
Remove ast to match grammar testnet3-dev
2022-04-01 12:17:15 -07:00
collin
1025ab5b19
fix merge conflict
2022-04-01 12:04:37 -07:00
Collin Chin
692260a81f
Merge pull request #1706 from AleoHQ/remove-inaccessible-codepoints-pre-t3
...
[ABNF] remove Unicode codepoints that can not occur
2022-03-31 09:32:33 -07:00
Alessandro Coglio
d08a4f814a
[ABNF] Remove expression statements.
...
Since we do not have tuple in this version of Leo, we cannot have expression
statements, because normally expressions used as statements would have to return
the empty tuple, since we disallow throwing away values in Leo.
2022-03-29 21:20:26 -07:00
Alessandro Coglio
4cce09d5c8
[ABNF] Require function output type.
...
Since this pre-testnet3 version of Leo does not support tuple types, and since a
missing function type is meant to be interpreted as the empty tuple type `()` in
future versions of Leo, it seems appropriate to require a function output type
in this version of Leo. We could instead default to a different type
(e.g. bool), but it seems cleaner to require it for now, and make it optional
later.
2022-03-28 12:26:36 -07:00
gluax
27921a61e6
tuples removed
2022-03-28 10:35:36 -07:00
gluax
95d508566f
remove circuit access
2022-03-28 07:54:29 -07:00
gluax
877674230a
remove aliases and gcs
2022-03-28 07:47:05 -07:00
gluax
78b04ff000
remove as and imports
2022-03-28 07:42:23 -07:00
gluax
ef4b3787a9
remove arrays
2022-03-28 07:31:53 -07:00
gluax
401c6a6d4d
remove annotation and static access
2022-03-28 07:04:29 -07:00
gluax
7ad500b344
remove uneeded circuit syms
2022-03-28 06:53:22 -07:00
gluax
414e288735
remove self and Self
2022-03-28 06:47:19 -07:00
gluax
d37f9f29c2
remove circuits
2022-03-28 06:32:55 -07:00
gluax
398e6f5469
merge upstream testnet3
2022-03-28 06:21:17 -07:00
Eric McCarthy
45c731f74d
[ABNF] remove extra comment on not-brace
2022-03-24 17:29:06 -07:00
Eric McCarthy
a96e44c49b
[ABNF] trim down comments, which will move to the Leo Reference
2022-03-24 17:26:10 -07:00
Eric McCarthy
e6752d67a0
[ABNF] fix the code point range in the format string grammar, along with a note on what the code points mean
2022-03-24 17:13:58 -07:00
Eric McCarthy
3840e04f00
[ABNF] remove Unicode codepoints that can not occur
2022-03-24 11:55:35 -07:00
Collin Chin
88c1bfd8a3
Merge pull request #1701 from AleoHQ/abnf-postfix-pre-testnet3
...
[ABNF] Re-classify function call expressions.
2022-03-22 09:59:34 -07:00
Alessandro Coglio
e3f87ad322
[ABNF] Remove some stray documentation comments.
...
Documentation comments were all removed from this grammar file, as readers of
this file in this branch are already familiar with Leo.
2022-03-21 17:49:38 -07:00
Alessandro Coglio
7b13ba58e4
[ABNF] Re-classify function call expressions.
...
This mirrors, in pre-testnet3, the change in PR #1699 in testnet3.
Since in pre-testnet3 we have fewer kinds expressions, the category of postfix
expressions disappears altogether with this re-classification.
2022-03-21 17:41:41 -07:00
collin
d388b74b7f
pull latest testnet3
2022-03-21 13:49:16 -07:00
Collin Chin
82caba7555
Merge pull request #1697 from AleoHQ/dependabot/cargo/testnet3/zip-0.6.0
...
Bump zip from 0.5.13 to 0.6.0
2022-03-21 09:13:06 -07:00
dependabot[bot]
420c16220c
Bump zip from 0.5.13 to 0.6.0
...
Bumps [zip](https://github.com/zip-rs/zip ) from 0.5.13 to 0.6.0.
- [Release notes](https://github.com/zip-rs/zip/releases )
- [Commits](https://github.com/zip-rs/zip/commits/v0.6 )
---
updated-dependencies:
- dependency-name: zip
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 10:46:07 +00:00
Collin Chin
355570d727
Merge pull request #1695 from AleoHQ/abnf-named-params
...
[ABNF] Improve some rule names.
2022-03-20 15:13:57 -07:00
Alessandro Coglio
b1eae61527
[ABNF] Improve some rule names.
...
This does not change the language. It only renames two related rule names:
function-input => named-parameter
function-inputs => named-parameters
According to the new nomenclature, there are function parameters, which are self
parameters and named parameters: the nomenclature is clear and "symmetric".
The problem with the previous nomenclature is that both self and named
parameters are inputs, not just the named ones.
2022-03-19 21:19:19 -07:00
Collin Chin
cf06671b12
Merge pull request #1693 from AleoHQ/abnf-circ-vs-block
...
[ABNF] Add two extra-grammatical requirements.
2022-03-19 15:25:05 -07:00
Alessandro Coglio
7d39937330
[ABNF] Fix typo found by @bendyarm.
2022-03-18 22:30:48 -07:00
Alessandro Coglio
1719e3d598
[ABNF] Add two extra-grammatical requirements.
...
These are needed to make parsing unambiguous. They require the test of a
conditional statement and the ending bound of a loop statement to not be or
start with a circuit expression.
2022-03-18 17:41:56 -07:00
Collin Chin
edcdd2d296
Merge pull request #1690 from AleoHQ/feature/char-parsing
...
[Impl] Parsing Over Chars Instead of Bytes
2022-03-17 12:49:15 -07:00
Collin Chin
40ec0c9a07
Merge pull request #1689 from AleoHQ/abnf-for-pre-testnet3
...
[ABNF] Grammar for pre-testnet3 version.
2022-03-17 12:45:00 -07:00
Collin Chin
e961f6e2f6
Merge pull request #1688 from AleoHQ/abnf-trailing-commas
...
[ABNF] Allow trailing commas everywhere.
2022-03-17 12:44:45 -07:00
gluax
4e7d02dbe1
make suggested changes, also forgot to accept dead code removal from upstream
2022-03-17 12:36:49 -07:00