d0cd
|
ca89010e59
|
Fix failing case
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
f606a8b74a
|
Restrict tuples in parser; cleanup
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
910d373afd
|
WIP support tuples on lhs of definitions
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
a7795b72db
|
Add parser support for expression statements
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
af08c4f2e5
|
Some cleanup
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
678f8b02a1
|
Fix unit expression
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
34fa2cb2c6
|
Parse empty return statement as a unit expression
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
6789bc8aae
|
Add unit expressions to the AST
|
2022-11-08 15:49:47 -08:00 |
|
d0cd
|
c651da0581
|
wip tuples
|
2022-11-08 15:49:47 -08:00 |
|
Pranav Gaddamadugu
|
9994a0451f
|
wip: basic tyc for empty and singleton tuples
|
2022-11-08 15:49:46 -08:00 |
|
collin
|
dee937c040
|
update snarkvm v0.9.3
|
2022-11-07 19:01:06 -08:00 |
|
collin
|
6f311e7602
|
bump snarkvm to 0.9.1 bump aleo rev
|
2022-11-04 18:31:59 -07:00 |
|
Collin Chin
|
1c7fefac53
|
Merge pull request #2150 from AleoHQ/fix/tyc-for-member-access
Fix type checking for member access.
|
2022-11-04 12:33:37 -07:00 |
|
Pranav Gaddamadugu
|
7e70da2326
|
Implement check for nested import
|
2022-10-31 18:05:46 -07:00 |
|
d0cd
|
76d302dbad
|
Implement fix; fix span produced by parser
|
2022-10-31 13:14:15 -07:00 |
|
d0cd
|
8ae7c0da99
|
Fmt
|
2022-10-24 22:59:18 -07:00 |
|
d0cd
|
df01360010
|
Clippy
|
2022-10-24 22:41:10 -07:00 |
|
Collin Chin
|
8b9ad3811d
|
Merge pull request #2114 from AleoHQ/update/aleo-snarkvm
Update revs.
|
2022-10-06 14:21:02 -07:00 |
|
Collin Chin
|
4256167bfe
|
Merge pull request #2112 from AleoHQ/feat/program-scope
Introduces `program` scope.
|
2022-10-06 14:19:35 -07:00 |
|
Pranav Gaddamadugu
|
97b299ac8a
|
Update revs
|
2022-10-06 11:31:58 -07:00 |
|
Pranav Gaddamadugu
|
d7813923d2
|
More examples
|
2022-10-06 00:17:51 -07:00 |
|
Pranav Gaddamadugu
|
028a01efde
|
More fixes
|
2022-10-05 23:51:56 -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
|
9da6d7735f
|
Enable parser support for program scope
|
2022-10-05 09:57:16 -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 |
|
dependabot[bot]
|
28ed3dc320
|
Bump smallvec from 1.9.0 to 1.10.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.9.0...v1.10.0)
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-10-03 10:15:01 +00: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
|
0a481e543e
|
Parse async, require it to precede finalize
|
2022-09-21 13:18:36 -07:00 |
|
Pranav Gaddamadugu
|
0782c03bf9
|
Lex async token
|
2022-09-21 12:20:05 -07:00 |
|
Pranav Gaddamadugu
|
2abfe06c9d
|
Add async token
|
2022-09-21 12:19:44 -07:00 |
|
collin
|
2cd1ec82ba
|
remove unused code
|
2022-09-20 21:59:53 -07:00 |
|
Pranav Gaddamadugu
|
f7b5e213e6
|
Battleship example compiles
|
2022-09-20 21:45:16 -07:00 |
|
Pranav Gaddamadugu
|
8f5e779a6a
|
Compiler builds
|
2022-09-20 20:29:59 -07:00 |
|
collin
|
48530523d9
|
wip need to finish external inputs
|
2022-09-20 18:26:22 -07:00 |
|
collin
|
368d4c530c
|
push code to parse returning external records + battleship example
|
2022-09-20 17:17:43 -07:00 |
|
collin
|
0a86a05d20
|
push code to parse external calls
|
2022-09-20 13:58:52 -07:00 |
|
collin
|
4e05840bf5
|
bump ci rust version to 1.63
|
2022-09-16 18:19:20 +02:00 |
|
collin
|
834ea300aa
|
bump ci rust version to 1.65
|
2022-09-16 18:17:10 +02:00 |
|
collin
|
6c18565700
|
too new of rust version for actions
|
2022-09-16 17:51:15 +02:00 |
|
collin
|
62659507c5
|
clippy
|
2022-09-16 17:48:26 +02:00 |
|
collin
|
2e24f82f21
|
Update rust versions
|
2022-09-16 17:32:20 +02:00 |
|
Pranav Gaddamadugu
|
c2bed2bb54
|
Add name to finalize block
|
2022-09-13 11:06:24 +02:00 |
|
Pranav Gaddamadugu
|
267fc99978
|
Add new tests; regen expectations
|
2022-09-06 12:14:37 -07:00 |
|
Pranav Gaddamadugu
|
0fa8082656
|
Update token example
|
2022-09-06 12:14:36 -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
|
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
|
5521e7f30b
|
Add finalize block to AST
|
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
|
eb4ee1428c
|
Cleanup out dated docs
|
2022-08-18 15:45:30 -07:00 |
|
Pranav Gaddamadugu
|
1d2cddbc7c
|
Fmt
|
2022-08-17 16:22:13 -07:00 |
|
Pranav Gaddamadugu
|
4095173e7c
|
Cleanup
|
2022-08-17 15:48:54 -07:00 |
|
Pranav Gaddamadugu
|
615cc61e9e
|
Add console.assert
|
2022-08-17 15:27:11 -07:00 |
|
Pranav Gaddamadugu
|
1d55322276
|
Update parser and typechecker
|
2022-08-17 14:42:42 -07:00 |
|
Pranav Gaddamadugu
|
dcbdb1bd85
|
Reintroduce IntegerType
|
2022-08-09 19:53:17 -07:00 |
|
Pranav Gaddamadugu
|
7ff7170c45
|
Fix unary negation parser; add test
|
2022-08-09 19:53:17 -07:00 |
|
Pranav Gaddamadugu
|
a1d79da501
|
Parser produces negative integer literals
|
2022-08-09 19:53:17 -07:00 |
|
Pranav Gaddamadugu
|
6897628800
|
Cleanup
|
2022-08-06 07:50:18 -07:00 |
|
Pranav Gaddamadugu
|
965102152a
|
Parser produces simplified assignment statements directly
|
2022-08-06 07:49:36 -07:00 |
|
collin
|
d397c750d2
|
merge testnet3
|
2022-08-05 13:59:08 -07:00 |
|
Pranav Gaddamadugu
|
4e9b382c55
|
Typecheck helper functions; add codegen support
|
2022-08-04 19:34:46 -07:00 |
|
Pranav Gaddamadugu
|
fa8d03cbd6
|
Validate annotations; refactor FunctionInput in passes
|
2022-08-04 17:59:03 -07:00 |
|
Pranav Gaddamadugu
|
a73ddfb815
|
Add parser tests for annotations
|
2022-08-04 17:55:26 -07:00 |
|
Pranav Gaddamadugu
|
2b3bda7da7
|
Add Annotation to AST; enable parser support
|
2022-08-04 17:55:26 -07:00 |
|
Pranav Gaddamadugu
|
a269e0f764
|
Add @ token to the parser
|
2022-08-04 17:55:26 -07:00 |
|
Mazdak Farrokhzad
|
a77d3b4092
|
forbid unsafe_code in all crates
|
2022-08-05 00:36:41 +02:00 |
|
Collin Chin
|
754a3ce685
|
Merge pull request #1987 from AleoHQ/record-nonce
Record nonce
|
2022-08-04 09:56:40 -07:00 |
|
collin
|
a090d85f10
|
Update deps
|
2022-08-04 09:29:04 -07:00 |
|
collin
|
13350da303
|
merge testnet3
|
2022-08-03 17:20:40 -07:00 |
|
collin
|
0f731a41f0
|
update deps
|
2022-08-03 15:34:23 -07:00 |
|
collin
|
8fb2e60cb4
|
cargo fmt + clippy
|
2022-08-03 14:52:05 -07:00 |
|
collin
|
e5da76abaf
|
impl nonce
|
2022-08-03 13:35:58 -07:00 |
|
Pranav Gaddamadugu
|
7ff84af785
|
Add Rem, RemWrapped, and Mod to parser
|
2022-08-03 12:54:57 -07:00 |
|
collin
|
5777c76d04
|
refactor more iteration tests
|
2022-08-01 17:01:58 -07:00 |
|
collin
|
2cb40cebf0
|
patch group coordinate codegen
|
2022-08-01 14:30:05 -07:00 |
|
collin
|
3826293f31
|
fix op assign bugs
|
2022-08-01 14:14:39 -07:00 |
|
collin
|
dd8e1c1a4e
|
impl and, or, bitand, bitor, bitxor, shl, shr assign parsing
|
2022-07-29 12:47:23 -07:00 |
|
collin
|
c73671bb7b
|
impl sub, mul, div, pow assign parsing
|
2022-07-29 11:57:34 -07:00 |
|
collin
|
d71788e8a4
|
impl add assign operator
|
2022-07-28 18:00:46 -07:00 |
|
collin
|
66c5deb7e3
|
merge testnet3 do not regen tests
|
2022-07-28 14:23:47 -07:00 |
|
Pranav Gaddamadugu
|
d11ed35c77
|
Addressing feedback
|
2022-07-28 09:24:33 -07:00 |
|
collin
|
184af219ee
|
build and check aleo files during cargo test
|
2022-07-27 15:49:49 -07:00 |
|
dependabot[bot]
|
108637cd8b
|
Bump clap from 3.2.12 to 3.2.14
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.12 to 3.2.14.
- [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.2.12...v3.2.14)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-07-21 07:47:38 +00:00 |
|
collin
|
66b0fcc885
|
merge testnet3 regen tests
|
2022-07-18 15:33:40 -07:00 |
|
Pranav Gaddamadugu
|
1b872576b2
|
Merge branch 'testnet3' into feat/loop-unrolling
|
2022-07-18 07:54:48 -07:00 |
|
collin
|
7f14e02055
|
import codegen working
|
2022-07-15 23:36:36 -07:00 |
|
collin
|
0368b8bd51
|
clippy
|
2022-07-15 21:00:16 -07:00 |
|
collin
|
914a9c385e
|
code gen for imports
|
2022-07-15 20:59:47 -07:00 |
|
Pranav Gaddamadugu
|
b6224d6d89
|
Merge branch 'testnet3' into feat/loop-unrolling
|
2022-07-14 17:51:34 -07:00 |
|
Pranav Gaddamadugu
|
923d5924fe
|
Feedback from code review
|
2022-07-14 14:26:13 -07:00 |
|
Mazdak Farrokhzad
|
dab6629ac0
|
1. move tuple logic to typeck, 2. disallow multi vars in var decls
|
2022-07-14 06:07:05 +02:00 |
|
collin
|
f4a59c5745
|
cargo fmt
|
2022-07-13 21:05:38 -07:00 |
|
collin
|
7d604748bd
|
add token transfer example, fix record cast codegen
|
2022-07-13 21:02:33 -07:00 |
|
collin
|
3d9c8dd0e4
|
add more examples, fix circuits as input
|
2022-07-12 21:43:19 -07:00 |
|
collin
|
266fdd7a5e
|
fix readmes and licenses
|
2022-07-12 16:46:42 -07:00 |
|
collin
|
0b81f03f3a
|
move /leo/errors -> /errors
|
2022-07-12 16:41:42 -07:00 |
|
collin
|
6d731891d0
|
move /leo/span -> /compiler/span
|
2022-07-12 16:37:10 -07:00 |
|
collin
|
fa28678a26
|
impl leo run
|
2022-07-12 14:44:20 -07:00 |
|
Pranav Gaddamadugu
|
bceccea80b
|
Merge branch 'testnet3' into feat/loop-unrolling
|
2022-07-11 22:55:42 -07:00 |
|
collin
|
e013b88811
|
stabilize leo build
|
2022-07-11 21:09:27 -07:00 |
|
collin
|
c719843223
|
impl program json, aleo build and run working
|
2022-07-11 14:10:22 -07:00 |
|
Pranav Gaddamadugu
|
3b76574a78
|
Add start, stop values for IterationStatement
|
2022-07-11 11:20:54 -07:00 |
|
Pranav Gaddamadugu
|
641c98b69e
|
Use refactored types in parsing and tyc
|
2022-07-11 07:19:00 -07:00 |
|
collin
|
ed79f5c957
|
merge return-tuple branch
|
2022-07-09 20:55:30 -07:00 |
|
collin
|
a15fce710c
|
merge testnet3
|
2022-07-09 16:51:20 -07:00 |
|
collin
|
1bcb9accec
|
clippy
|
2022-07-09 15:38:11 -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
|
990b5a75da
|
Rename LiteralExpression to Literal; more cleanup
|
2022-07-08 13:44:21 -07:00 |
|
collin
|
95c2f66c5a
|
clippy
|
2022-07-06 20:49:05 -07:00 |
|
collin
|
dc9063de5a
|
update snarkvm rev
|
2022-07-06 14:47:52 -07:00 |
|
Mazdak Farrokhzad
|
91fd8ff1b2
|
fix typo
|
2022-07-01 00:03:26 +02:00 |
|
Mazdak Farrokhzad
|
952d7f4e36
|
records: base them atop circuits instead
|
2022-06-30 15:37:18 +02:00 |
|
collin
|
a58edee122
|
cargo clippy
|
2022-06-27 12:50:23 -10:00 |
|
collin
|
6933d5d9da
|
cargo clippy
|
2022-06-27 09:44:49 -10:00 |
|
collin
|
21c6a2167a
|
type check record init expressions
|
2022-06-26 10:46:32 -10:00 |
|
collin
|
18a74cfb85
|
type check record type declaration
|
2022-06-24 11:47:01 -10:00 |
|
collin
|
d45ab61e40
|
parse record type declaration
|
2022-06-23 22:34:18 -10:00 |
|
collin
|
9d0fd00072
|
add record type
|
2022-06-23 21:44:06 -10:00 |
|
collin
|
7417496eee
|
merge testnet3
|
2022-06-22 21:42:00 -10:00 |
|
collin
|
4400545543
|
add all core circuit tests
|
2022-06-22 21:19:26 -10:00 |
|
collin
|
0c89c1b5fb
|
add circuit variable access and type check
|
2022-06-22 15:14:00 -10:00 |
|
collin
|
d6e32788b4
|
rename static -> associated, addresses review comments 1/2
|
2022-06-21 18:30:10 -07:00 |
|
Mazdak Farrokhzad
|
b4e8a773df
|
simplify bidi override logic
|
2022-06-21 17:12:36 +02:00 |
|
Mazdak Farrokhzad
|
1d92e07fdf
|
simplify tokenize_iter
|
2022-06-21 17:12:36 +02:00 |
|
Mazdak Farrokhzad
|
2c194b8e57
|
reduce work for string literals bidi check
|
2022-06-21 17:12:36 +02:00 |
|
Mazdak Farrokhzad
|
8b3e87889f
|
cargo clippy
|
2022-06-21 17:12:36 +02:00 |
|
Mazdak Farrokhzad
|
7226659bf6
|
Value -> Literal
|
2022-06-21 17:12:34 +02:00 |
|
Mazdak Farrokhzad
|
ddbf2ae849
|
1. Speed up string literal lexing.
2. Move address check to parser.
3. Move assignment place WF check to type checker.
|
2022-06-21 17:07:44 +02:00 |
|
collin
|
99605f46a5
|
le, ge -> lte, gte
|
2022-06-20 13:24:20 -07:00 |
|
collin
|
bfd3a37a42
|
merge testnet3
|
2022-06-20 12:34:33 -07:00 |
|
collin
|
52395bba45
|
fix circuit type checking
|
2022-06-17 18:32:49 -07:00 |
|
collin
|
26810a15ae
|
impl bhp, pedersen, poseidon instructions
|
2022-06-17 15:37:48 -07:00 |
|
collin
|
d527a88a3a
|
impl core circuit instructions
|
2022-06-17 11:17:46 -07:00 |
|
gluax
|
c9ab4bd3d7
|
add bitwise op parsing, fix tests
|
2022-06-16 15:40:48 -07:00 |
|
gluax
|
b656fd5347
|
fix type checking on certain bitwise operations
|
2022-06-16 12:49:41 -07:00 |
|
gluax
|
2181672b60
|
had to fix function calls after previous changes
|
2022-06-16 12:03:24 -07:00 |
|
gluax
|
a40d025d18
|
clean up of parsing method call fixs
|
2022-06-16 11:36:50 -07:00 |
|
gluax
|
33fe8ebbc2
|
fixes bug #1877 to make debugging easier, fixes parsing of method calls
|
2022-06-16 11:33:16 -07:00 |
|
collin
|
993b86e8c7
|
add circuit type parsing up to type checking
|
2022-06-15 16:08:05 -07:00 |
|
collin
|
b2890f393a
|
merge testnet3
|
2022-06-15 10:23:01 -07:00 |
|