evan-schott
|
d1d5abef5b
|
deprecate hardcoded stubs by changing parser
|
2023-11-30 10:52:38 -08:00 |
|
evan-schott
|
5347570d97
|
deprecate .leo imports in parser
|
2023-11-30 10:52:38 -08:00 |
|
evan-schott
|
43fae971d8
|
allow let a:token.aleo/super_valuable_token = token.aleo/mint_private(); and let a:super_valuable_token = token.aleo/mint_private();
|
2023-11-30 10:52:38 -08:00 |
|
evan-schott
|
89bcb3dbdf
|
remove stub tokens
|
2023-11-30 10:52:38 -08:00 |
|
evan-schott
|
bd2e3de733
|
Allow imports & Variant::Function functions in stubs
|
2023-11-30 10:52:16 -08:00 |
|
evan-schott
|
393d9bc3d0
|
Allow parsing of external types declared in stubs for function signatures
|
2023-11-30 10:52:15 -08:00 |
|
evan-schott
|
292f890369
|
error msgs
|
2023-11-30 10:52:15 -08:00 |
|
evan-schott
|
72cf2e7517
|
Add "stub" token
|
2023-11-30 10:52:15 -08:00 |
|
Pranav Gaddamadugu
|
b9cb62d8aa
|
Update dependencies
|
2023-11-21 10:28:07 -08:00 |
|
Pranav Gaddamadugu
|
6756320fd8
|
Regen expectations
|
2023-10-27 18:54:58 -04:00 |
|
Pranav Gaddamadugu
|
d3209dae9c
|
Cleanup
|
2023-10-27 18:54:57 -04:00 |
|
Pranav Gaddamadugu
|
072ab7b930
|
Change PositiveNumber to NonzeroNumber
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
7e471b7748
|
Add type checking for arrays
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
13e17044fd
|
Parse array init expressions
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
2edc7aa92f
|
Parse array access expressions
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
5f75ae8c49
|
Support array expressions in AST and visitors
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
d8a7f74508
|
Add support for parsing the array type
|
2023-10-27 18:54:56 -04:00 |
|
Pranav Gaddamadugu
|
25b7d5cfac
|
Rename types::Tuple to types::TupleType
|
2023-10-27 18:54:56 -04:00 |
|
Collin Chin
|
eb12c7e475
|
chore(leo): bump version for new release
|
2023-10-19 21:02:05 -07:00 |
|
evan-schott
|
c37eeaae03
|
constant time lookups
|
2023-10-04 13:05:35 -07:00 |
|
evan-schott
|
909289c83c
|
Update compiler/parser/src/parser/file.rs
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2023-10-04 13:05:34 -07:00 |
|
evan-schott
|
52bb785ff4
|
fixes
|
2023-10-04 13:00:58 -07:00 |
|
evan-schott
|
0a2ea03701
|
rebase
|
2023-10-04 13:00:52 -07:00 |
|
evan-schott
|
24c88795fe
|
fixes
|
2023-10-04 12:54:36 -07:00 |
|
evan-schott
|
40f7ce2649
|
parse constant definition statements
|
2023-10-04 12:54:36 -07:00 |
|
evan-schott
|
422ba16877
|
add "const" to AST programscope
|
2023-10-04 12:54:36 -07:00 |
|
evan-schott
|
38fdb43bd3
|
recognize "const" as token
|
2023-10-04 12:54:35 -07:00 |
|
Pranav Gaddamadugu
|
3d5495aefa
|
Make program scopes indexable by symbol
|
2023-09-28 23:34:18 -04:00 |
|
collin
|
0f2f16877b
|
chore(leo): bump version for new release
|
2023-09-08 10:18:21 -07:00 |
|
dependabot[bot]
|
347c9682cf
|
Bump clap from 4.4.1 to 4.4.2 (#2561)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.1 to 4.4.2.
- [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/v4.4.1...v4.4.2)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2023-09-08 10:09:25 -07:00 |
|
Pranav Gaddamadugu
|
964c9617f9
|
Fix and regen expectations
|
2023-08-30 14:23:46 -04:00 |
|
Pranav Gaddamadugu
|
1049822979
|
Add parser support
|
2023-08-30 14:05:46 -04:00 |
|
Pranav Gaddamadugu
|
b1b947fef5
|
Support the signature type in the parser
|
2023-08-30 14:05:46 -04:00 |
|
Pranav Gaddamadugu
|
25eac3c63b
|
Introduce Token::Signature
|
2023-08-30 14:05:46 -04:00 |
|
evan-schott
|
035f763d40
|
clippy changes
|
2023-08-25 10:07:42 -07:00 |
|
evan-schott
|
550f43b039
|
Revisions (underscore to execute test, type checker error msg, spurious type error fix, revised tuple indexing test)
|
2023-08-25 09:49:53 -07:00 |
|
evan-schott
|
4308d598e2
|
running all tests and updating expectation files
|
2023-08-24 15:29:23 -07:00 |
|
evan-schott
|
439d2b29de
|
loop unrolling compatible with underscores
|
2023-08-24 15:07:00 -07:00 |
|
evan-schott
|
7e6b1d9ddb
|
remove println
|
2023-08-22 11:29:35 -07:00 |
|
evan-schott
|
c345dbb309
|
Add support for underscores in literals
|
2023-08-22 11:10:54 -07:00 |
|
Pranav Gaddamadugu
|
440cced9d8
|
Cleanup
|
2023-08-17 17:49:29 -04:00 |
|
Pranav Gaddamadugu
|
26fffd6746
|
Add and use NodeBuilder in Parser
|
2023-08-17 17:22:56 -04:00 |
|
d0cd
|
7cd6e757bf
|
Merge pull request #2522 from AleoHQ/design/node-id
[Design] Add `id` to AST nodes.
|
2023-08-17 00:26:52 -04:00 |
|
collin
|
11b87229f1
|
chore(leo): bump version for new release
|
2023-08-15 14:02:00 -07:00 |
|
Pranav Gaddamadugu
|
036776be1b
|
Fix parser
|
2023-08-09 20:26:48 -04:00 |
|
Pranav Gaddamadugu
|
7cc3330d98
|
Add failing test
|
2023-08-09 20:12:02 -04:00 |
|
Pranav Gaddamadugu
|
9125c84cd1
|
Make StructVariableInitializer an AST node
|
2023-08-09 17:22:52 -04:00 |
|
Pranav Gaddamadugu
|
a819488190
|
Support NodeID in parser; note that NodeID::default() is a placeholder
|
2023-08-09 13:09:43 -04:00 |
|
collin
|
7714f55999
|
chore(leo): bump version for new release
|
2023-08-08 10:14:56 -07:00 |
|
collin
|
d336be0b7b
|
chore(leo): bump version for new release
|
2023-07-24 10:51:44 -07:00 |
|