Commit Graph

5214 Commits

Author SHA1 Message Date
Collin Chin
eaf837e0a5
Merge pull request #2044 from AleoHQ/abnf-bidi-fix
[ABNF] Fix typo in rule that excludes bidi chars.
2022-09-06 23:32:59 +02:00
Pranav Gaddamadugu
dea8b987c7 Parser tests for finalize 2022-09-06 12:58:24 -07:00
Pranav Gaddamadugu
9032df19cb Parser tests for mapping 2022-09-06 12:36:27 -07:00
Pranav Gaddamadugu
bb705da769 Improve documentation for SSA and flattening 2022-09-06 12:14:37 -07:00
Pranav Gaddamadugu
267fc99978 Add new tests; regen expectations 2022-09-06 12:14:37 -07:00
Pranav Gaddamadugu
3d5ddb9e1a Clippy 2022-09-06 12:14:37 -07:00
Pranav Gaddamadugu
524066c91d Regen expectations 2022-09-06 12:14:37 -07:00
Pranav Gaddamadugu
618117be89 Fix visibilities in codegen 2022-09-06 12:14:37 -07:00
Pranav Gaddamadugu
a4c0eb186e Add test case 2022-09-06 12:14:36 -07:00
Pranav Gaddamadugu
0fa8082656 Update token example 2022-09-06 12:14:36 -07:00
Pranav Gaddamadugu
0e1768ac59 Hook flattening pass into compiler; regen expectations 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
9d5aa9d08d Implement flattening phase 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
f74bfb034c wip flattening phase 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
18274bf4f9 More tyc 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
f4f77cdf55 Enable modes for return types in parser and AST 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
5d6c402c04 Fix buggy case 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
4266ba28c1 more wip 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
9f56b34677 wip 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
881ee569d1 Add test with buggy variant 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
3efb4c5108 More tyc and ssa for finalize 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
791463c82f WIP tyc for finalize 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
77effd4613 Implement parsing for finalize, increment, and decrement 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
044e41d80e Add new statements to passes 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
bd232127dc Clean up statments; add increment, decrement, and finalize 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
5521e7f30b Add finalize block to AST 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
75307d1d4e More tests 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
195fc4da31 Implement codegen for mappings 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
8a8e198f59 Tyc for mappings 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
1b6dea395f Add parser tests; regen expectations 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
09e9aeb537 Add support for mappings in the parsers 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
dffb788913 Add Mapping to Program and passes 2022-09-06 12:13:32 -07:00
Pranav Gaddamadugu
0e00c5dac3 Add Mapping to AST 2022-09-06 12:13:32 -07:00
Collin Chin
5c706f2888
Merge pull request #2057 from AleoHQ/fix/readme
Fix readme links and clippy lints
2022-09-06 16:36:56 +02:00
collin
d0a2b8c3ce cargo clippy 2022-09-06 15:00:42 +02:00
collin
f7f94fbdc8 fix broken links 2022-09-06 14:17:50 +02:00
d0cd
315dbb334a
Merge pull request #2049 from AleoHQ/dependabot/cargo/testnet3/sha2-0.10.3
Bump sha2 from 0.10.2 to 0.10.3
2022-09-02 16:23:40 -07:00
d0cd
b0b848e958
Merge pull request #2048 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.63
Bump anyhow from 1.0.62 to 1.0.63
2022-09-02 16:21:51 -07:00
d0cd
3f9a919993
Merge pull request #2047 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.33
Bump thiserror from 1.0.32 to 1.0.33
2022-09-02 16:21:23 -07:00
dependabot[bot]
7863d04c77
Bump sha2 from 0.10.2 to 0.10.3
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.2...sha2-v0.10.3)

---
updated-dependencies:
- dependency-name: sha2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 10:14:07 +00:00
dependabot[bot]
9481744cd6
Bump anyhow from 1.0.62 to 1.0.63
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.62...1.0.63)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 10:13:56 +00:00
dependabot[bot]
b2825f922e
Bump thiserror from 1.0.32 to 1.0.33
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.33)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 10:13:46 +00:00
Alessandro Coglio
02ad2a390d [ABNF] Fix typo in rule that excludes bidi chars.
The 2070 should have been 206A all along.
2022-08-29 12:44:34 -07:00
Collin Chin
5960ae21ac
Merge pull request #2043 from AleoHQ/feat/deploy
Implement leo deploy
2022-08-29 10:48:24 +02:00
collin
99d73a6010 impl leo deploy 2022-08-29 10:15:06 +02:00
collin
0d039bfa3f Update deps 2022-08-29 09:57:56 +02:00
Alessandro Coglio
460a46f115 [ABNF] Add mappings.
As discussed on Notion and Slack.
2022-08-27 16:58:19 -07:00
Pranav Gaddamadugu
6e238eee42 Add check for type equality 2022-08-24 09:09:41 -07:00
Collin Chin
54dae5db3b
Merge pull request #2039 from yuliyu123/patch-1
Fix leo install method
2022-08-24 12:01:54 +02:00
Collin Chin
298ab90720
Merge pull request #2038 from AleoHQ/fix/nodeploy
changes -- --nodeploy to --nodeploy
2022-08-24 12:00:25 +02:00
yuliyu123
b87c3e7da7
Update README.md 2022-08-24 17:46:43 +08:00