Commit Graph

2584 Commits

Author SHA1 Message Date
gluax
99db18167a second header pass for circuit members 2021-03-25 14:15:30 -04:00
gluax
696825eb6a asked for refactors started, this will fail tests 2021-03-25 13:48:47 -04:00
gluax
afc42bcecd
perdeshen-hash
Forgot to save after resolving merge conflict.
2021-03-25 11:31:08 -04:00
gluax
128eb60dfb fix tests merged from master 2021-03-25 11:21:02 -04:00
gluax
3efc705a8c fix tests merged from master 2021-03-25 11:19:42 -04:00
Collin Chin
9b61d0fa15
Merge branch 'master' into feature/constant-mutable-declarations 2021-03-24 22:23:24 -07:00
gluax
341a5290e3
Delete HEAD 2021-03-24 20:36:22 -04:00
gluax
50b37d2672 parse_assign_statment 2021-03-24 15:33:03 -04:00
gluax
3571fa2080 I think this is the best way to handle access_expressions in ABNF to reflect the parser 2021-03-24 15:25:56 -04:00
gluax
8b1bd50d80 merge master 2021-03-24 15:14:39 -04:00
gluax
ab32aeb342 merge master 2021-03-24 15:13:53 -04:00
gluax
0da727c582 merge master 2021-03-24 13:57:35 -04:00
gluax
5ed7582b22 tentative parse expression grammar rule 2021-03-24 13:54:53 -04:00
gluax
5ae7771050 cast-expression in abnf 2021-03-24 13:38:45 -04:00
gluax
f71d77762c comment out bitwise, mod, &&= and ||= for now 2021-03-24 13:28:01 -04:00
gluax
b96861feea forgot function doc strings 2021-03-24 12:53:00 -04:00
gluax
007cdfafbd put parse_array_expression and parse_tupple_expression as their own blocks 2021-03-24 12:50:56 -04:00
gluax
e0200ff789 tentative cast-expression abnf rule, refactor fuzzy rule to conditional expression 2021-03-24 12:33:52 -04:00
gluax
600cf120f9 idents in annotation name and for arguements, no white space between @ and annotation-name 2021-03-24 12:08:07 -04:00
gluax
fd52192d58 _ token in parser and symbol in abnf 2021-03-24 11:40:26 -04:00
Collin Chin
6880df4ebd
Merge pull request #803 from AleoHQ/dependabot/cargo/serde-1.0.125
Bump serde from 1.0.124 to 1.0.125
2021-03-23 16:27:49 -07:00
Collin Chin
e2ace1efb0
Merge pull request #802 from AleoHQ/dependabot/cargo/walkdir-2.3.2
Bump walkdir from 2.3.1 to 2.3.2
2021-03-23 16:27:40 -07:00
Collin Chin
a79dba6df7
Merge pull request #795 from AleoHQ/dependabot/cargo/anyhow-1.0.39
Bump anyhow from 1.0.38 to 1.0.39
2021-03-23 16:27:33 -07:00
Collin Chin
94e7509690
Merge pull request #784 from AleoHQ/dead-code-elimination
Dead code elimination
2021-03-23 16:26:22 -07:00
collin
113ba12959 add tests for dead code elim 2021-03-23 15:49:56 -07:00
collin
99efdf00cb add comments to asg passes 2021-03-23 15:33:13 -07:00
Collin Chin
46220aa889
Merge pull request #761 from AleoHQ/feature/const-inputs
[Feature, Compiler] Adds constant inputs
2021-03-23 15:19:44 -07:00
collin
b9d676a404 assign todos 2021-03-23 15:17:31 -07:00
collin
d410d84153 add reduce_statement_alloc comment 2021-03-23 15:04:55 -07:00
collin
3a6ca5018d edit main input comments 2021-03-23 14:44:16 -07:00
gluax
c9daf4a8a9 typed one thing in the comment and another in the if condition whoops 2021-03-23 17:42:54 -04:00
collin
8172d73a71 fix bit not error 2021-03-23 14:38:20 -07:00
collin
68afcadfa4 update error descriptions 2021-03-23 14:36:22 -07:00
gluax
becafb3798 fix some cases where _ is the only character in the identifier 2021-03-23 17:35:55 -04:00
collin
ee30ad97cc modify macro names 2021-03-23 14:28:22 -07:00
gluax
98fd0ac4dc rename function names to reflect abnf more 2021-03-23 17:27:45 -04:00
collin
f16bb70da9 test pedersen hash constraint numbers 2021-03-23 14:16:51 -07:00
gluax
026816f085 cleaner way to remove _ from beginning of idents 2021-03-23 16:45:43 -04:00
gluax
62e68f42da forgot to push new error with previous commit 2021-03-23 16:06:39 -04:00
gluax
8c996fb15d do not allow _ at start of identifier 2021-03-23 16:02:01 -04:00
gluax
0663227741 order tokens to try and match ABNF 2021-03-23 13:45:57 -04:00
gluax
1adc8cee14 consistent keyword order and names 2021-03-23 12:11:42 -04:00
gluax
0ea4f1e0e3 const_ self as function input properly 2021-03-23 11:49:27 -04:00
gluax
fe8eae981d const_ self as function input 2021-03-23 11:32:36 -04:00
dependabot-preview[bot]
6e255c526c
Bump serde from 1.0.124 to 1.0.125
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:21:54 +00:00
dependabot-preview[bot]
6f45b5f944
Bump walkdir from 2.3.1 to 2.3.2
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/BurntSushi/walkdir/releases)
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.1...2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:20:58 +00:00
ljedrz
d14edcb4cd refactor: use a macro to deduplicate code in Integer::allocate_type
Signed-off-by: ljedrz <ljedrz@gmail.com>
2021-03-23 11:24:47 +01:00
collin
ae9ba51b7d update pedersen hash example to use constant inputs 2021-03-22 15:24:32 -07:00
gluax
bac54b21de make sure we keep crlf for abnf grammar file 2021-03-22 15:12:33 -04:00
gluax
dde8ab59fa initial commit, so I can open retroactive pr 2021-03-22 14:38:38 -04:00