Commit Graph

5239 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
2329617fec Update compiler tests 2022-10-05 16:53:49 -07:00
Pranav Gaddamadugu
8283c922f6 Some bug fixes; update some examples 2022-10-05 15:27:54 -07:00
Pranav Gaddamadugu
e15e8f05d6 Additional validation for program scope and imported files 2022-10-05 14:59:06 -07:00
Pranav Gaddamadugu
8f2a6fdb27 Support AST changes in compile passes 2022-10-05 10:38:35 -07:00
Pranav Gaddamadugu
224cf18544 Add program_scope into AST 2022-10-05 10:00:15 -07:00
Pranav Gaddamadugu
9da6d7735f Enable parser support for program scope 2022-10-05 09:57:16 -07:00
Pranav Gaddamadugu
bd4b7be8cf WIP ast changes for program scope 2022-10-05 09:56:36 -07:00
Pranav Gaddamadugu
8733887d55 Validation for src directory 2022-10-04 22:31:49 -07:00
Pranav Gaddamadugu
8872c3d53f Remove use of default network domain 2022-10-04 19:11:36 -07:00
Pranav Gaddamadugu
6ce64f8a78 Add tests checking for invalid function calls 2022-10-03 16:33:15 -07:00
Pranav Gaddamadugu
c0c5e58011 Add checks for function calls 2022-10-03 16:18:58 -07:00
Pranav Gaddamadugu
dbb72ddbf8 Add tests showing program annotation fails 2022-10-03 15:02:28 -07:00
Pranav Gaddamadugu
ce3fd38cd4 Regen expectations 2022-10-03 14:57:14 -07:00
Pranav Gaddamadugu
e4bd8f8338 Update tests to use transition 2022-10-03 14:56:14 -07:00
Pranav Gaddamadugu
a886357585 Update examples to use transition keyword 2022-10-03 11:22:37 -07:00
Pranav Gaddamadugu
e7e01b23a9 Clean up code gen 2022-10-03 10:45:26 -07:00
Pranav Gaddamadugu
fef22d6d5a Clean up tyc pass 2022-10-03 10:40:59 -07:00
Pranav Gaddamadugu
80d8880292 Parser support for transition keyword 2022-10-03 08:53:44 -07:00
Pranav Gaddamadugu
62b16cfa51 Tokenize transition keyword 2022-10-03 08:16:55 -07:00
Pranav Gaddamadugu
b92fefddc4 Add test for deprecated circuit; rename tests 2022-09-30 13:20:23 -07:00
Pranav Gaddamadugu
898d831249 Regen expectations 2022-09-30 12:58:39 -07:00
Pranav Gaddamadugu
eb8366badc Some cleanup 2022-09-30 12:19:40 -07:00
Pranav Gaddamadugu
c551179b42 Fmt 2022-09-30 11:55:42 -07:00
Pranav Gaddamadugu
f51a36aeaf Rename in compiler 2022-09-30 11:52:06 -07:00
Pranav Gaddamadugu
8d12cd6651 Rename tests 2022-09-30 10:48:47 -07:00
Pranav Gaddamadugu
99ec270f8a Rename examples 2022-09-30 10:37:29 -07:00
Pranav Gaddamadugu
508c54dd92 Rename errors 2022-09-30 10:16:05 -07:00
d0cd
27494e8956
Merge pull request #2101 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.37
Bump thiserror from 1.0.36 to 1.0.37
2022-09-29 05:04:28 -07:00
d0cd
e63a9d4f4e
Merge pull request #2103 from AleoHQ/dependabot/cargo/testnet3/console-0.15.2
Bump console from 0.15.1 to 0.15.2
2022-09-29 05:03:48 -07:00
dependabot[bot]
58dfd11cf8
Bump console from 0.15.1 to 0.15.2
Bumps [console](https://github.com/console-rs/console) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.1...0.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 10:28:35 +00:00
dependabot[bot]
bc3698b54c
Bump thiserror from 1.0.36 to 1.0.37
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.36...1.0.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 10:14:34 +00:00
d0cd
5c94064117
Merge pull request #2099 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.36
Bump thiserror from 1.0.35 to 1.0.36
2022-09-27 08:59:52 -07:00
Collin Chin
3ee4337573
Merge pull request #2097 from AleoHQ/battleship-diagram
Battleship diagram
2022-09-26 14:33:14 -07:00
Alessandro Coglio
cc40de6247 [examples] Add battleship diagram to TOC. 2022-09-26 09:37:58 -07:00
dependabot[bot]
b8428e7def
Bump thiserror from 1.0.35 to 1.0.36
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.36)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 10:42:13 +00:00
Alessandro Coglio
ae42bac1c0 [examples] Fix typo. 2022-09-23 20:34:48 -07:00
Alessandro Coglio
ad5b15bda8 [examples] Add battleship diagram. 2022-09-23 20:30:37 -07:00
Collin Chin
1822a19e88
Merge pull request #2096 from AleoHQ/docs/readme-circleci-badge
Update README.md
2022-09-23 16:31:56 -07:00
Collin Chin
9636d2c52c
Update README.md
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2022-09-23 16:31:00 -07:00
Collin Chin
3e823bc810
Update README.md
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2022-09-23 16:29:54 -07:00
Collin Chin
db157f81e5
Update README.md
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2022-09-23 15:39:10 -07:00
Collin Chin
28e2a4ca2a
Merge pull request #2093 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.145
Bump serde from 1.0.144 to 1.0.145
2022-09-23 11:08:43 -07:00
Collin Chin
e889f31ad3
Merge pull request #2092 from AleoHQ/abnf-async
[ABNF] Add `async` keyword.
2022-09-23 11:08:07 -07:00
Collin Chin
c8a44beb9c
Merge pull request #2091 from AleoHQ/fix-and-improve
Fix and improve battleship README
2022-09-23 11:07:31 -07:00
Collin Chin
d07973c799
Merge pull request #2094 from AleoHQ/fix/leo-new
Update leo-new CI
2022-09-23 10:55:55 -07:00
collin
07357442a9 Steal pranav's clever bash script to pull universal parameters 2022-09-23 10:42:07 -07:00
dependabot[bot]
4b6b1f804b
Bump serde from 1.0.144 to 1.0.145
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 10:13:44 +00:00
Alessandro Coglio
ef83c6fde7 [ABNF] Add async keyword.
Matches https://github.com/AleoHQ/leo/pull/2088.
2022-09-22 23:56:48 -07:00
Alessandro Coglio
5456795771 Merge with testnet3. 2022-09-21 18:20:02 -07:00
Alessandro Coglio
06e8036081 [examples] Improve/fix battleship README. 2022-09-21 18:14:52 -07:00