collin
8f4cdb3705
remove unused crates and code
2022-06-14 16:05:27 -07:00
gluax
7b4e97c3af
Merge branch 'feature/compiler-benchmarking' of github.com:AleoHQ/leo into feature/compiler-benchmarking
2022-06-14 11:43:22 -07:00
gluax
503956131a
remove some comments to clean up
2022-06-14 11:43:00 -07:00
collin
0e59e9bcf9
fix cmp type checking
2022-06-14 10:55:59 -07:00
dependabot[bot]
6cb1f0b940
Bump clap from 3.1.18 to 3.2.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.18 to 3.2.1.
- [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.1.18...clap_complete-v3.2.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 10:33:33 +00:00
collin
6c759b7174
impl unary
2022-06-13 18:35:18 -07:00
collin
831e011f42
use more clear type checking methods
2022-06-13 14:53:01 -07:00
Alessandro Coglio
846c976c63
[ABNF] Add operator calls.
...
Since these are a method-like syntax for unary and binary operators (as in fact
these are represented as operators in the AST), the nomenclature 'operator call'
seems appropriate, at least for now. There is no need yet to introduce notions
of associated functions (and constants).
The rules explicitly distinguish between unary and binary ones, corresponding to
unary and binary operators. This lets us exclude right away calls with too many
arguments, and gives us a way to distinguish the two kinds.
A trailing comma is allowed at the end of the one argument of binary operator
calls, if one is really inclined to use it, just for syntactic consistency with
other calls (namely, function calls).
2022-06-13 13:24:05 -07:00
0rphon
a738ae67a0
fixed expectation pathing
2022-06-13 11:32:35 -07:00
gluax
274dd461cd
some more suggested changes
2022-06-13 09:55:42 -07:00
gluax
2c9a91552c
Merge branch 'testnet3' of github.com:AleoHQ/leo into feature/compiler-benchmarking
2022-06-12 09:26:30 -07:00
gluax
3a056220ff
doing some recommended changes
2022-06-12 09:26:14 -07:00
Alessandro Coglio
894e0af225
[ABNF] Fix/improve handling of line terminators.
...
Prohibit line terminators inside string literals. (This does not prohibit
escapes for line feed and/or carriage return; it prohibits actual line feeds and
carriage returns, which would break the string literal across lines.)
Explicate line terminators in block comments, so that an accurate line count can
be obtained more readily from the CSTs. (This is more relevant to the ACL2
formal development than to the Rust implementation, which does not have explicit
CSTs.)
Also reorder slightly some rules within the file.
2022-06-11 15:56:49 -07:00
collin
02e3313d59
add docs for type checking and fix bugs
2022-06-10 17:21:33 -07:00
collin
32f0c96b6f
impl shl shr tokens and type checking
2022-06-10 16:33:30 -07:00
collin
4e3ed8d4dc
regen tests
2022-06-10 13:02:16 -07:00
collin
44fdcab6b0
fix emitted file name
2022-06-10 12:42:38 -07:00
Collin Chin
e8bff31356
Merge pull request #1864 from AleoHQ/misc-bug-fixes
...
[Fix] Misc Bug Fixes
2022-06-10 12:24:24 -07:00
collin
f248827b37
impl binary operators WIP no tests
2022-06-09 16:47:31 -07:00
collin
0e0ec362f1
cargo fmt
2022-06-09 13:24:01 -07:00
collin
1b4e37e66e
fix symbol index bug
2022-06-09 13:16:54 -07:00
collin
9797175f16
remove method call expr and type checking
2022-06-09 13:07:30 -07:00
collin
a32418133c
parse method calls directly
2022-06-09 13:01:59 -07:00
gluax
36440719fb
resolve merge conflicts
2022-06-09 12:46:59 -07:00
gluax
540fdccffe
Update abnf, and give docs over parser keywords
2022-06-09 12:45:52 -07:00
gluax
041bd57c5b
missed merge conflicts in cargo lock
2022-06-09 12:39:48 -07:00
gluax
ba7aef7f1e
merge conflicts fix
2022-06-09 12:35:26 -07:00
gluax
4607f2955a
add some more checks and namespaces for benchmarks, docs
2022-06-09 12:23:57 -07:00
gluax
267ab16810
fix benchmark symbol table, some more clean up
2022-06-09 11:43:10 -07:00
Collin Chin
38be98f947
Merge pull request #1860 from AleoHQ/clap
...
replaced structopt with clap
2022-06-08 16:02:55 -07:00
0rphon
32d07583c5
integrated benches to test-framework
2022-06-08 15:33:12 -07:00
Collin Chin
60c8ef097b
Merge pull request #1859 from AleoHQ/dependabot/cargo/testnet3/indexmap-1.8.2
...
Bump indexmap from 1.8.1 to 1.8.2
2022-06-08 15:31:44 -07:00
collin
df08cd1e26
order dependencies
2022-06-08 14:47:34 -07:00
collin
5dba9cf07f
impl method call type checking
2022-06-08 14:44:08 -07:00
gluax
5ce5102a37
the rest of the test-framework rework and clean up start
2022-06-08 14:06:25 -07:00
gluax
8972674dec
test-framework rework and clean up start
2022-06-08 13:44:40 -07:00
gluax
3c7de6e389
some compiler lib cleanup
2022-06-08 10:53:41 -07:00
gluax
5129276a4b
some compiler lib cleanup
2022-06-08 10:50:23 -07:00
gluax
f6990e75fc
fixed some bugs
2022-06-08 06:46:54 -07:00
0rphon
d43fd813f7
fixed compiler benchmarks
2022-06-08 00:20:09 -07:00
d0cd
86d7cb99dd
Prettier bytecode printing
2022-06-07 11:13:11 -07:00
d0cd
472ff794a6
Integrate prototype into compiler passes
2022-06-07 10:01:13 -07:00
gluax
9aae2faff6
remove input file
2022-06-07 09:22:16 -07:00
d0cd
f2e0ba7dcd
Initial prototype for code gen
2022-06-07 09:13:57 -07:00
gluax
384a7b24b8
add back compiler options for asts, set up compiler benchmarking
2022-06-06 11:45:33 -07:00
0rphon
0af9622cd9
replaced structopt with clap
2022-06-06 11:00:08 -07:00
dependabot[bot]
ef4fb36bd8
Bump indexmap from 1.8.1 to 1.8.2
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/1.8.2/RELEASES.rst )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.1...1.8.2 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:17:58 +00:00
collin
f0a1573058
impl method call expression parsing
2022-06-03 13:27:23 -04:00
Collin Chin
18b71d225b
Merge pull request #1857 from AleoHQ/more-tyc-bug-fixes
...
[Fix] Type Checking Bugs
2022-06-03 12:09:12 -04:00
Collin Chin
2429b72312
Merge pull request #1856 from AleoHQ/abnf-string-type
...
[ABNF] Add string type.
2022-06-02 12:46:56 -04:00