Commit Graph

5106 Commits

Author SHA1 Message Date
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
yuliyu123
85bb0251e4
Update README.md 2022-08-24 17:46:13 +08:00
collin
0b9730416b Update deps 2022-08-24 11:43:36 +02:00
yuliyu123
b4e3115f80
Update README.md 2022-08-24 17:42:24 +08:00
collin
4e35d5d3ce changes -- --nodeploy to --nodeploy 2022-08-24 08:13:57 +02:00
Pranav Gaddamadugu
18482d7b18 Regen test expectations 2022-08-23 19:40:38 -07:00
Pranav Gaddamadugu
78604f61da Fix missed tyc in mul expressions 2022-08-23 19:40:01 -07:00
Pranav Gaddamadugu
7933331430 Add test showing missed tyc 2022-08-23 19:37:25 -07:00
Collin Chin
a852fa3c2e
Merge pull request #2036 from AleoHQ/fix/newline-in-generated-code
[Fix] Newline in generated code
2022-08-23 21:41:18 +02:00