collin
a15fce710c
merge testnet3
2022-07-09 16:51:20 -07:00
collin
01a1953021
regen tests
2022-07-09 16:19:48 -07:00
d0cd
1c88ea938b
Merge pull request #1925 from AleoHQ/fix/tyc-member-access-and-cleanup
...
Type-checking fixes and cleanup
2022-07-09 16:03:53 -07:00
collin
1bcb9accec
clippy
2022-07-09 15:38:11 -07:00
collin
aff2db67da
check that returned tuple types are valid
2022-07-09 15:13:42 -07:00
collin
2a61f26ccc
impl tuple tests
2022-07-09 15:02:45 -07:00
collin
642ad32e99
parse tuple access
2022-07-09 14:11:18 -07:00
collin
a7fc19a69f
impl tuple ast access
2022-07-09 13:22:10 -07:00
collin
9e422599a0
impl tuple parsing
2022-07-09 12:39:50 -07:00
collin
296c62a280
impl tuple type expression
2022-07-09 10:15:08 -07:00
Pranav Gaddamadugu
8ab98c9434
Refactor emitter to reduce the number of into invocations; more cleanup
2022-07-08 14:10:54 -07:00
Pranav Gaddamadugu
e7f4a41410
Better error for missing member on circuit init
2022-07-08 13:45:00 -07:00
Pranav Gaddamadugu
014959aa24
Regenerate expectations
2022-07-08 13:44:21 -07:00
Pranav Gaddamadugu
990b5a75da
Rename LiteralExpression to Literal; more cleanup
2022-07-08 13:44:21 -07:00
Pranav Gaddamadugu
cf7bde5fab
Clean up error
2022-07-08 13:43:28 -07:00
Pranav Gaddamadugu
8af0f6268f
Regenerate expectations
2022-07-08 13:43:28 -07:00
Pranav Gaddamadugu
0358a5f4da
Fmt
2022-07-08 13:43:28 -07:00
collin
a1c42a8d3f
impl tuple type
2022-07-08 13:07:20 -07:00
Pranav Gaddamadugu
f31accb04e
Cleanup; type checking for Circuit Member Access
2022-07-08 12:56:58 -07:00
Pranav Gaddamadugu
ccd50fb7de
Add more detailed error messages
2022-07-08 12:50:26 -07:00
collin
43db782ce2
remove Copy trait from Type enum
2022-07-08 12:22:25 -07:00
d0cd
9b9db978ef
Merge pull request #1911 from AleoHQ/feat/redesign-symbol-table
...
Redesign SymbolTable
2022-07-08 12:10:48 -07:00
Pranav Gaddamadugu
00b90c4a33
Merge branch 'testnet3' into feat/redesign-symbol-table
2022-07-08 11:57:40 -07:00
Collin Chin
249d50538b
Merge pull request #1921 from AleoHQ/type-checker-bugs
...
Refactor type checker functions
2022-07-08 11:23:22 -07:00
d0cd
67cc6ab629
Merge pull request #1918 from AleoHQ/dependabot/cargo/testnet3/regex-1.6.0
...
Bump regex from 1.5.6 to 1.6.0
2022-07-08 10:34:27 -07:00
d0cd
08fbb1992d
Merge pull request #1923 from AleoHQ/dependabot/cargo/testnet3/backtrace-0.3.66
...
Bump backtrace from 0.3.65 to 0.3.66
2022-07-08 10:33:55 -07:00
d0cd
12f51ee612
Merge pull request #1920 from AleoHQ/dependabot/cargo/testnet3/criterion-0.3.6
...
Bump criterion from 0.3.5 to 0.3.6
2022-07-08 10:32:14 -07:00
dependabot[bot]
418270838b
Bump backtrace from 0.3.65 to 0.3.66
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.65 to 0.3.66.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.65...0.3.66 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 10:30:43 +00:00
collin
906015a01d
revert hello-world changes
2022-07-07 15:22:52 -07:00
collin
4d809e82a6
cargo fmt
2022-07-07 15:18:13 -07:00
collin
b461539ae3
use refactored methods in type checking, regen tests
2022-07-07 13:22:59 -07:00
collin
f892fe1a57
refactor type checker for removal of Copy trait
2022-07-07 12:20:34 -07:00
dependabot[bot]
16fab683e0
Bump criterion from 0.3.5 to 0.3.6
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.5...0.3.6 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 10:17:30 +00:00
Pranav Gaddamadugu
3136a6ccca
Remove TODO
2022-07-06 17:29:57 -07:00
Pranav Gaddamadugu
52671c9328
Documentation for SymbolTable pass
2022-07-06 17:10:18 -07:00
Pranav Gaddamadugu
9b7d9a96b7
Fmt, clippy
2022-07-06 16:16:19 -07:00
Pranav Gaddamadugu
12eafa4174
Regenerate test expectations without symbol_table
2022-07-06 16:10:59 -07:00
Pranav Gaddamadugu
e4744f2978
Change duplicate_name_context from Pass to Fail
2022-07-06 16:08:29 -07:00
Pranav Gaddamadugu
80ff280df7
Remove symbol table from OutputItem; clippy
2022-07-06 16:08:29 -07:00
Pranav Gaddamadugu
027bd24cd5
Integrate passes into compiler
2022-07-06 16:08:29 -07:00
Pranav Gaddamadugu
2a2a65b416
Make type checking pass compatible with current implementation of SymbolTable
2022-07-06 16:08:29 -07:00
Pranav Gaddamadugu
bd1b8251c2
Remove SymbolTable functionality associated with flattening
2022-07-06 16:08:03 -07:00
Pranav Gaddamadugu
24f38721d6
Pull changes to compiler/passes/symbol_table from improved-flattening; remove unused files
2022-07-06 16:08:03 -07:00
dependabot[bot]
c272180a9e
Bump regex from 1.5.6 to 1.6.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.6 to 1.6.0.
- [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.6...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 10:21:03 +00:00
Collin Chin
6b5f9a3926
Merge pull request #1913 from AleoHQ/no-cmp-address
...
Removes <, <=, >, >= for address type
2022-07-05 21:46:31 -07:00
collin
de178522d8
impl Display for BinaryOperation, improve error message
2022-07-05 16:42:36 -07:00
Collin Chin
7c009813d2
Merge pull request #1917 from AleoHQ/abnf-logical-ops
2022-07-05 10:33:43 -07:00
Alessandro Coglio
6bfe530922
[ABNF] Improve some rule names.
...
Based on a recent discussion on Slack, and on some related slight terminological
changes in the documentation of the Aleo instructions, this commit similarly
improves the Leo nomenclature for expressions involving the logical operators.
The attribute 'bitwise' for `&` and `|` and `^` has been dropped, since the
operations also operate on booleans besides integers.
Given that the operation and method names `or` and `xor` for inclusive and
exclusive disjunctions (as opposed to `ior` and `xor`), the unqualified
'disjunction' now refers to the inclusive one.
The non-strict `&&` and `||` are now called 'conditional' (as done in other
languages), and thus the ternary one has been expanded to 'conditional ternary'.
This does not change the Leo language; it just improves the nomenclature derived
from the grammar.
2022-07-04 15:45:11 -07:00
Alessandro Coglio
884d46abe4
[ABNF] Revert previous accidentally pushed commit.
2022-07-04 15:36:43 -07:00
Alessandro Coglio
c35b977207
[ABNF] Improve some rule names.
...
Based on a recent discussion on Slack, and on some related slight terminological
changes in the documentation of the Aleo instructions, this commit similarly
improves the Leo nomenclature for expressions involving the logical operators.
The attribute 'bitwise' for `&` and `|` and `^` has been dropped, since the
operations also operate on booleans besides integers.
Given that the operation and method names `or` and `xor` for inclusive and
exclusive disjunctions (as opposed to `ior` and `xor`), the unqualified
'disjunction' now refers to the inclusive one.
The non-strict `&&` and `||` are now called 'conditional' (as done in other
languages), and thus the ternary one has been expanded to 'conditional ternary'.
This does not change the Leo language; it just improves the nomenclature derived
from the grammar.
2022-07-04 15:26:10 -07:00