0rphon
a9ed6dcc81
Update char.leo
2022-03-14 16:36:36 -07:00
0rphon
7c049177cb
Merge branch 'testnet3' into improve-parser-tests
2022-03-14 16:36:16 -07:00
0rphon
1604f10115
re-enabled tests, removed fuzzing hooks
2022-03-14 16:29:34 -07:00
Collin Chin
1e1e2b76a3
Merge pull request #1676 from AleoHQ/dependabot/cargo/testnet3/tracing-0.1.32
...
Bump tracing from 0.1.29 to 0.1.32
2022-03-14 14:27:20 -07:00
Collin Chin
647b25dc2d
Merge pull request #1678 from AleoHQ/bug/more-misc-parser-bug-fixes
...
[Fix] Fixes more Misc Parser issues.
2022-03-14 14:25:10 -07:00
Collin Chin
61c8cf8881
Merge pull request #1677 from AleoHQ/abnf-natural-to-numeral
...
Abnf natural to numeral
2022-03-14 14:21:00 -07:00
gluax
60fd2b6ec6
merge origin testnet3
2022-03-14 14:08:36 -07:00
collin
8ec01926e1
Merge branch 'testnet3' of https://github.com/AleoHQ/leo into abnf-doc-fix-b
2022-03-14 14:05:10 -07:00
dependabot[bot]
c5df9b3369
Bump tracing from 0.1.29 to 0.1.32
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.29 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.29...tracing-0.1.32 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 21:04:18 +00:00
collin
aa339eab0a
Merge branch 'testnet3' of https://github.com/AleoHQ/leo into abnf-natural-to-numeral
2022-03-14 14:03:35 -07:00
Collin Chin
81cd2e117d
Merge pull request #1680 from AleoHQ/ci/remove-scoop-windows
...
Ci remove scoop windows dependency
2022-03-14 14:02:45 -07:00
collin
175e534731
Remove cd dir
2022-03-14 13:34:01 -07:00
collin
aceee46534
Replace broken scoop windows ci
2022-03-14 13:14:19 -07:00
Eric McCarthy
572d59d67f
[ABNF] regenerate README.md
2022-03-14 12:35:56 -07:00
Eric McCarthy
ffa8200d92
[ABNF] update some documentation
2022-03-14 12:29:19 -07:00
gluax
2381e2e20f
scoop update fix
2022-03-14 08:55:11 -07:00
gluax
e484d5124f
comment fixes
2022-03-14 08:16:58 -07:00
gluax
8e0a59dc5d
fmt
2022-03-14 08:12:29 -07:00
gluax
ef8d0415e7
change parens around variable into recoverable error
2022-03-14 08:12:03 -07:00
gluax
9a45c2ae99
fix array around 1 element array dim size
2022-03-14 08:07:01 -07:00
gluax
2c30cba70f
remove parened field
2022-03-14 07:58:51 -07:00
Alessandro Coglio
3f6b17646c
[ABNF] Add a clarification to the documentation.
...
No grammar change in this commit.
2022-03-10 15:31:31 -08:00
Alessandro Coglio
ca3ae89a3e
[ABNF] Rename 'natural' to 'numeral'.
...
This applies both to the rule name and to the terminology used for that, namely
for a non-empty sequence of decimal digits.
While 'natural' was meant to describe a natural number (i.e. a non-negative
integer: 0, 1, 2, ...), it is perhaps not a familiar term to many users.
On the other hand, 'integer', while often used in programming languages for this
kind of thing, is not ideal as integers may be negative.
Also, assuming type inference, a lone numeral like `17` may actually not denote
an integer number at all, because it may actually denote a group element if type
inference turns it into `17group`, and group elements are not integers.
All in all, 'numeral' seems like a good term, also according to its dictionary
definition. It is used in the Java grammar to denote this kind of thing, for
instance.
If, in the future, we want to allow hexadecimal, octal, or binary notation, we
could rename this to `decimal-numeral`, introduce `hexadecimal-numeral`,
`octal-numeral`, and `binary-numeral`, and `numeral` as the union of these.
2022-03-10 15:23:58 -08:00
Collin Chin
4dd70474f5
Merge pull request #1669 from AleoHQ/abnf-integer-fix
...
[ABNF] Fix use of integers in literals.
2022-03-10 12:02:10 -08:00
0rphon
3c258bf3a4
code cleanup, added tests, marked dangerous code for review
2022-03-09 15:16:52 -08:00
Collin Chin
da6c48bc6d
Merge pull request #1673 from AleoHQ/dependabot/cargo/testnet3/tracing-subscriber-0.3.9
...
Bump tracing-subscriber from 0.3.7 to 0.3.9
2022-03-09 13:19:18 -08:00
Collin Chin
19201a7a69
Merge pull request #1672 from AleoHQ/dependabot/cargo/testnet3/regex-1.5.5
...
Bump regex from 1.5.4 to 1.5.5
2022-03-09 13:18:56 -08:00
Collin Chin
9151188803
Merge pull request #1670 from AleoHQ/abnf-doc-fix
...
[ABNF] Update some documentation.
2022-03-09 13:18:19 -08:00
gluax
377c65be21
fix issues from fixing a panic
2022-03-09 12:08:15 -08:00
gluax
a227e7c113
add tests, fix namespaces on older tests, fix another bug
2022-03-09 11:11:30 -08:00
gluax
91c0f5ae9d
resolve some error messages panicing
2022-03-09 09:46:07 -08:00
dependabot[bot]
e534cbb0df
Bump tracing-subscriber from 0.3.7 to 0.3.9
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.7 to 0.3.9.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.7...tracing-subscriber-0.3.9 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 10:18:25 +00:00
dependabot[bot]
bd68eefb45
Bump regex from 1.5.4 to 1.5.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 10:18:18 +00:00
Alessandro Coglio
f735ca8864
[ABNF] Update some documentation.
...
This does not change the grammar. It merely updates some text in the comments,
which shows a rule that was changed at some point but its copy in the comments
was not properly updated.
Thanks to @bendyarm for noticing this.
2022-03-08 23:23:38 -08:00
Alessandro Coglio
7e930d8670
[ABNF] Fix use of integers in literals.
...
This removes the rule for `integer` and uses `natural` for all numeric literals.
Otherwise, lexing would be context-dependent for no good reason.
This is consistent with the lexer and parser of the Leo compiler.
Note that, for instance, `-1field` is not a literal, but rather a unary
expression where `-` is applied to the literal `1field`. This is consistent with
other languages too.
2022-03-08 21:08:59 -08:00
0rphon
874edd8fcc
Merge branch 'testnet3' into improve-parser-tests
2022-03-08 18:25:43 -08:00
gluax
86000325bf
remove option types in rest of places, clean up canonicalization
2022-03-08 12:58:32 -08:00
Collin Chin
646c5eb697
Merge pull request #1665 from AleoHQ/dependabot/cargo/testnet3/clap-3.1.6
...
Bump clap from 3.1.5 to 3.1.6
2022-03-08 11:42:48 -08:00
Collin Chin
db60376204
Merge pull request #1664 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.56
...
Bump anyhow from 1.0.55 to 1.0.56
2022-03-08 11:42:35 -08:00
gluax
432ef73424
fmt
2022-03-08 10:27:31 -08:00
gluax
eaf0a82154
merge testnet3
2022-03-08 10:24:36 -08:00
gluax
9d088ea152
remove implicit ints in tests
2022-03-08 10:20:05 -08:00
dependabot[bot]
343da2071c
Bump clap from 3.1.5 to 3.1.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.5 to 3.1.6.
- [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.5...v3.1.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 10:18:16 +00:00
dependabot[bot]
bf7b646b31
Bump anyhow from 1.0.55 to 1.0.56
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.56 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 10:18:01 +00:00
0rphon
9afee5e328
updated tests
2022-03-08 01:01:30 -08:00
0rphon
39ea7a3ceb
Merge branch 'testnet3' into improve-parser-tests
2022-03-08 00:57:32 -08:00
Collin Chin
5e2ba78750
Merge pull request #1656 from AleoHQ/remove/unsized-array
...
Remove/unsized array
2022-03-07 17:14:03 -08:00
collin
ac016822c3
Merge branch 'remove/unsized-array' of https://github.com/AleoHQ/leo into remove/unsized-array
2022-03-07 15:01:19 -08:00
collin
6a33035257
remove unsized array parser tests
2022-03-07 14:50:53 -08:00
Collin Chin
ec3a265b80
Merge pull request #1660 from AleoHQ/abnf-require-types
...
[ABNF] Require types to avoid type inference.
2022-03-07 12:22:36 -08:00