Collin Chin
181fc2dc6a
Merge pull request #1659 from AleoHQ/remove/unsized-array-abnf
...
[ABNF] Adapt ABNF to removal of unsized arrays.
2022-03-07 12:21:56 -08:00
gluax
a778faf8ff
remove implicits, this makes arrays not work with implicit
2022-03-07 12:20:15 -08:00
Collin Chin
11b4a2702a
Merge pull request #1655 from AleoHQ/bug/misc-parser-discrep-bugs
...
[Fix] Mix Parser bugs & discreps
2022-03-07 12:19:09 -08:00
gluax
d39a3c00d7
fix tests so far
2022-03-07 08:30:03 -08:00
gluax
19c27518cc
require loop type
2022-03-07 08:18:16 -08:00
gluax
85efd764a6
require types on definition statements
2022-03-07 08:05:42 -08:00
Alessandro Coglio
6cbf206f86
[ABNF] Require types to avoid type inference.
...
Types are now required in variable and constant declarations (including for loop
variables), and for literals (i.e. there are no longer untyped literals).
2022-03-05 23:52:34 -08:00
Alessandro Coglio
6aca970b88
[ABNF] Re-generate markdown.
...
(Forgot to do this in the previous commit.)
2022-03-04 19:51:14 -08:00
Alessandro Coglio
c30df925ef
[ABNF] Adapt ABNF to removal of unsized arrays.
...
This "merges" the two previous slightly different notions of array type
dimensions and array expression dimension(s) into one notion of array
dimensions, in which the dimensions have to be natural numbers. (Previously,
array type dimensions were allowed to be unspecified (via underscores), while
array expression dimensions had to be specified.)
2022-03-04 19:42:42 -08:00
Collin Chin
8398b3181e
Merge pull request #1653 from AleoHQ/dependabot/cargo/testnet3/clap-3.1.5
...
Bump clap from 3.1.3 to 3.1.5
2022-03-04 13:08:38 -08:00
collin
1a45295372
remove redundant array dimension struct
2022-03-04 13:06:22 -08:00
collin
1f7b1b57cc
remove unsized array tests
2022-03-04 12:27:17 -08:00
collin
10bea676a8
remove unsized arrays
2022-03-04 12:23:46 -08:00
gluax
060c13dd8d
clippy fix
2022-03-04 11:21:42 -08:00
gluax
789862103e
another char bug fix
2022-03-04 11:18:28 -08:00
gluax
308512fab9
add tests
2022-03-04 10:26:34 -08:00
gluax
85764aa394
fix self discrep
2022-03-04 10:03:42 -08:00
gluax
bd1d602f6d
fix annotation error msg
2022-03-04 09:28:29 -08:00
dependabot[bot]
1d01e6ada6
Bump clap from 3.1.3 to 3.1.5
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.3 to 3.1.5.
- [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.3...v3.1.5 )
---
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-03 10:18:43 +00:00
0rphon
7d2cbb2ec2
done with coverage
...
finished coverage tests. adding case by case tests from the parser fuzzer next
2022-03-02 14:13:37 -08:00
Collin Chin
f2c4d8d078
Merge pull request #1650 from AleoHQ/fix/ast-file-spelling
...
Fix ast file spelling
2022-03-02 12:48:04 -08:00
collin
54beb505c3
fix spelling typo
2022-03-02 12:19:22 -08:00
Collin Chin
9162a81a2a
Merge pull request #1649 from AleoHQ/dependabot/cargo/testnet3/clap-3.1.3
...
Bump clap from 3.1.2 to 3.1.3
2022-03-02 09:47:25 -08:00
0rphon
2b4751e7e1
regenned tests
2022-03-01 12:15:54 -08:00
0rphon
9d1714d779
Merge remote-tracking branch 'origin/testnet3' into improve-parser-tests
2022-03-01 12:00:10 -08:00
dependabot[bot]
8080ae0b79
Bump clap from 3.1.2 to 3.1.3
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.2 to 3.1.3.
- [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.2...v3.1.3 )
---
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-01 10:17:02 +00:00
gluax
029a42df0a
regen tests so far
2022-02-28 14:47:22 -08:00
gluax
736c6af72d
a bunch of parser bug fixes so far
2022-02-28 14:45:32 -08:00
Collin Chin
639643e01b
Merge pull request #1648 from AleoHQ/bug/1618-span-content-discrep
...
[Fix] Change Span Documetnation To match Behavior
2022-02-28 14:34:14 -08:00
gluax
751f147c7a
Merge branch 'testnet3' of github.com:AleoHQ/leo into bug/1618-span-content-discrep
2022-02-28 13:56:05 -08:00
gluax
9730f90361
Merge pull request #1631 from AleoHQ/restructure-compiler
...
Restructure compiler
2022-02-28 13:55:12 -08:00
gluax
dd4f51a218
fix testframework path
2022-02-28 13:40:43 -08:00
collin
9ff0d3fed3
move tools/test-framework -> tests/test-framework
2022-02-28 10:29:05 -08:00
collin
22f605349c
merge testnet3
2022-02-28 09:42:37 -08:00
gluax
1ca40d80f4
change comment to match behavior
2022-02-28 09:39:21 -08:00
Collin Chin
18179cf6ec
Merge pull request #1645 from AleoHQ/bug/1615-rename-ampersand-to-at
...
Fix Ampersand and At Symbols
2022-02-28 08:58:05 -08:00
Collin Chin
a240cf451d
Merge pull request #1644 from AleoHQ/bug/1633-remove-console-debug-grammar
...
fix console debug grammar discrep
2022-02-28 08:55:34 -08:00
Collin Chin
9a44dc35c3
Merge pull request #1643 from AleoHQ/lexer-errors
...
Lexer Errors
2022-02-28 08:53:56 -08:00
0rphon
cc71ed2d07
emoji tests
2022-02-25 17:21:41 -08:00
gluax
1116b30581
fix grammar comment about number of console statements
2022-02-25 14:26:49 -08:00
gluax
0c84e1a449
Fix token->sym pointing
2022-02-25 14:25:31 -08:00
gluax
250bd6d942
clippy fix
2022-02-25 13:59:00 -08:00
gluax
c3699bacb2
fix ampersand symbol, add at symbol
2022-02-25 13:56:53 -08:00
gluax
dc547af98c
fix console debug grammar discrep
2022-02-25 13:45:49 -08:00
gluax
02c44b26d8
fix whitespace discrep
2022-02-25 13:35:08 -08:00
gluax
c0b0e28ee2
error messages and test regen
2022-02-25 11:23:59 -08:00
Collin Chin
eea53d3791
Merge pull request #1642 from AleoHQ/dependabot/cargo/testnet3/eyre-0.6.7
...
Bump eyre from 0.6.6 to 0.6.7
2022-02-25 09:59:05 -08:00
Collin Chin
fe7446c5fb
Merge pull request #1641 from AleoHQ/dependabot/cargo/testnet3/clap-3.1.2
...
Bump clap from 3.1.1 to 3.1.2
2022-02-25 09:58:55 -08:00
Collin Chin
7938064ea5
Merge pull request #1638 from AleoHQ/doc-fix
...
[parser] Minor documentation fixes.
2022-02-25 09:58:48 -08:00
Collin Chin
00466b58dc
Merge pull request #1606 from AleoHQ/error-guides-1
...
Document all leo parser errors
2022-02-25 09:58:29 -08:00