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
gluax
4f62c86b39
test open bugs, they all pass :)
2022-03-17 10:46:42 -07:00
Eric McCarthy
227b887a71
[ABNF] add parens in group-coordinate for readability; fix indentation of format-string-element to make consistent with other indentation
2022-03-16 22:42:30 -07:00
Alessandro Coglio
5c1efa81f7
[ABNF] Grammar for pre-testnet3 version.
...
This is obtained by removing features from the grammar currently in the testnet3
branch.
The documentation comments have been removed to keep the file smaller and
simpler to read, as readers of this file should be already familiar with Leo.
Furthermore, that documentation material is being moved to the Leo Language
Reference.
This commit also folds the format string grammar (for console print strings)
into (a separate section of) the same file, again for simplicity. The previous
separate small file (and generated markdown) for format strings has thus been
removed.
2022-03-16 21:39:17 -07:00
Alessandro Coglio
729dbaceec
[ABNF] Allow trailing commas everywhere.
...
Also disallow 1-tuple array dimensions.
2022-03-16 20:40:06 -07:00
gluax
2c7c4f0798
remove yml file
2022-03-16 15:05:52 -07:00
gluax
34e1b39805
some cleanup
2022-03-16 15:04:49 -07:00
gluax
790c282e8b
merge upstream testnet3
2022-03-16 13:56:55 -07:00
Collin Chin
6ca9a4d870
Merge pull request #1686 from AleoHQ/improve-parser-tests
...
Improve parser tests
2022-03-16 13:36:52 -07:00
0rphon
ca6ae112ff
fixed take_hook
2022-03-16 13:15:58 -07:00
0rphon
9ef1b8f73a
forgot to remove some comments
2022-03-16 13:07:52 -07:00
gluax
0e7d36a61c
current tests pass
2022-03-16 13:02:56 -07:00
gluax
9391a31569
realized raw strings don't play nicely for testing strings
2022-03-16 12:27:11 -07:00
0rphon
f3b2a2f2ae
Merge branch 'testnet3' into improve-parser-tests
2022-03-15 17:48:48 -07:00
0rphon
10c62b8d2c
updates CircleCI to use 1.59.0 ( #1687 )
2022-03-15 17:48:13 -07:00
0rphon
71c4354d5b
updated circleci to use latest rust version
2022-03-15 17:28:12 -07:00
0rphon
82ce58544b
fixed ci
2022-03-15 17:15:08 -07:00
gluax
5034294d09
tokenizing almost working
2022-03-15 17:13:02 -07:00
0rphon
d25eb79594
improved test runner
2022-03-15 16:56:54 -07:00
0rphon
cc63b7e524
Merge branch 'testnet3' into improve-parser-tests
2022-03-15 15:38:41 -07:00
0rphon
0e1d1a43e9
removed tools/failing tests
2022-03-15 15:38:06 -07:00
gluax
3d1cc9a735
most things moved to a char parser
2022-03-15 14:53:42 -07:00
Collin Chin
83036d58b1
Merge pull request #1685 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.11.10
...
Bump reqwest from 0.11.9 to 0.11.10
2022-03-15 14:51:06 -07:00
Collin Chin
07d03b0ff1
Merge pull request #1684 from AleoHQ/abnf-numeral-is-token
...
[ABNF] Add numerals to tokens.
2022-03-15 14:50:56 -07:00
Collin Chin
f886890e2b
Merge pull request #1679 from AleoHQ/abnf-doc-fix-b
...
[ABNF] Update some documentation
2022-03-15 10:22:54 -07:00
dependabot[bot]
2aa99d72cf
Bump reqwest from 0.11.9 to 0.11.10
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.9 to 0.11.10.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.9...v0.11.10 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 10:20:47 +00:00
Alessandro Coglio
efffcc98dc
[ABNF] Add numerals to tokens.
...
Given that arithmetic literals are now all typed in the grammar, we need
numerals to be listed as tokens. Otherwise, array dimensions and tuple indices
would not be tokens, but they must be.
2022-03-14 22:05:42 -07:00
0rphon
310944acc5
excluded failing tests, added new ones
2022-03-14 17:37:15 -07:00
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