Collin Chin
|
61556cca29
|
Merge pull request #399 from ljedrz/boxing_improvements
Boxing improvements
|
2020-10-21 02:10:18 -07:00 |
|
collin
|
3870cf785d
|
fix box accesses
|
2020-10-21 01:32:09 -07:00 |
|
Collin Chin
|
3c0409da16
|
Merge branch 'master' into boxing_improvements
|
2020-10-21 00:51:49 -07:00 |
|
Collin Chin
|
e06e9b9ce6
|
Merge branch 'master' into alloc_hunting
|
2020-10-21 00:51:22 -07:00 |
|
Collin Chin
|
c871de27c0
|
Merge pull request #393 from ljedrz/ast_perf
Change the AST benchmark to a more stable one, remove an unnecessary clone
|
2020-10-21 00:39:31 -07:00 |
|
Collin Chin
|
93f0f8a17b
|
Merge branch 'master' into pest_test
|
2020-10-20 23:40:45 -07:00 |
|
ljedrz
|
a65ff7d820
|
perf: reduce boxing when parsing the AST
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-19 12:26:45 +02:00 |
|
ljedrz
|
64774cdab6
|
refactor: accept &Path instead of PathBuf where sufficient
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 17:09:44 +02:00 |
|
ljedrz
|
f59416be1b
|
refactor: pass &Path instead of &PathBuf as arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 16:18:46 +02:00 |
|
ljedrz
|
69d35063f2
|
perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 15:52:45 +02:00 |
|
ljedrz
|
845671547f
|
perf: don't clone the whole iterator while parsing expressions
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 14:26:11 +02:00 |
|
ljedrz
|
07743b2d75
|
bench: change the AST bench to a much more complex one
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 13:44:59 +02:00 |
|
ljedrz
|
88bd491684
|
test: add extra AST pest tests
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 12:35:04 +02:00 |
|
ljedrz
|
d1ee66a747
|
feat(ast): handle the empty tuple type
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 12:22:31 +02:00 |
|
ljedrz
|
e2f0848773
|
fix(ast): disallow single-member tuples
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 11:01:51 +02:00 |
|
ljedrz
|
88cdbd4fe6
|
refactor(ast): remove the expression_tuple indirection from access_call
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 10:50:26 +02:00 |
|
ljedrz
|
0ccaea86f7
|
test: introduce AST pest tests
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 10:37:39 +02:00 |
|
ljedrz
|
98baae93c1
|
clippy: assorted fixes to tests and benches
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 15:09:03 +02:00 |
|
ljedrz
|
919c1dcada
|
clippy: fix single_match
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
b8e22e0c96
|
clippy: fix write_with_newline
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-05 17:18:29 +02:00 |
|
ljedrz
|
4f46dd2982
|
clippy: allow module_inception
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-05 17:18:25 +02:00 |
|
collin
|
3708c54362
|
make assignee rule more strict during pest parsing
|
2020-09-16 14:27:44 -07:00 |
|
collin
|
9ed64a6627
|
fix conflicts
|
2020-09-10 16:44:25 -07:00 |
|
collin
|
5e4877e778
|
fix static call nested and test
|
2020-09-07 21:56:39 -07:00 |
|
collin
|
59570002f2
|
mutable self wip
|
2020-09-05 22:03:02 -07:00 |
|
collin
|
de3564b98d
|
support nested array type in leo programs
|
2020-09-03 10:02:59 -07:00 |
|
howardwu
|
2620ae7bc2
|
chore(leo): bump version for new release
|
2020-09-03 03:08:33 -07:00 |
|
Howard Wu
|
788300ef93
|
Merge pull request #343 from AleoHQ/fix/input-error-messages
Add file path to all error messages
|
2020-09-03 02:50:13 -07:00 |
|
howardwu
|
40ac13e317
|
Fix critical array indexing bug
|
2020-09-03 00:30:57 -07:00 |
|
collin
|
60db15596d
|
fix parser syntax errors. fix tests
|
2020-09-02 23:23:50 -07:00 |
|
Howard Wu
|
ad53cdc9ba
|
Merge pull request #341 from AleoHQ/refactor/keywords
Refactor/keywords
|
2020-09-02 21:54:59 -07:00 |
|
Howard Wu
|
179fba27fc
|
Merge pull request #337 from AleoHQ/fix/missing-license
add missing license headers
|
2020-09-02 21:53:14 -07:00 |
|
collin
|
603438b216
|
impl self keyword protected name and add tests
|
2020-09-02 20:59:05 -07:00 |
|
collin
|
9a6cfbdd7a
|
impl Self keyword protected name
|
2020-09-02 20:48:20 -07:00 |
|
collin
|
42b03a3ccb
|
impl input keyword protected name
|
2020-09-02 20:24:21 -07:00 |
|
collin
|
94f6c00f30
|
add data types to protected names. add identifier tests
|
2020-09-02 19:23:16 -07:00 |
|
collin
|
ddb40a3b15
|
add missing license headers
|
2020-09-02 18:45:48 -07:00 |
|
collin
|
c84227f69a
|
Merge branch 'master' of github.com:AleoHQ/leo into feature/mutable-circuit-variables
|
2020-09-02 18:04:00 -07:00 |
|
Collin Chin
|
6fc3393f5c
|
Merge pull request #334 from AleoHQ/feature/array-init-parenthesis
Feature/array init parenthesis
|
2020-09-02 20:36:13 -04:00 |
|
Collin Chin
|
7bc803bd32
|
Merge pull request #333 from AleoHQ/feature/rename-circuit-field
Feature/rename circuit field
|
2020-09-02 20:36:01 -04:00 |
|
collin
|
df9fb58677
|
impl mutable circuit variables
|
2020-09-02 17:31:31 -07:00 |
|
collin
|
51b80d1742
|
Merge branch 'feature/rename-circuit-field' into feature/mutable-circuit-variables
|
2020-09-02 16:59:30 -07:00 |
|
collin
|
b1a886640e
|
impl parenthesis syntax for array initializer
|
2020-09-02 15:01:37 -07:00 |
|
collin
|
16f3cbd3dd
|
rename circuit_field -> circuit_variable in ast
|
2020-09-02 14:07:19 -07:00 |
|
Howard Wu
|
feaac9a3b9
|
Merge pull request #327 from AleoHQ/refactor/conditional-statement
Simplify pest grammar rule for conditional statements
|
2020-09-02 13:41:30 -07:00 |
|
Howard Wu
|
cb3fcf1d1e
|
Merge pull request #326 from AleoHQ/refactor/array-initializer
Restrict pest grammar rule for array initializers
|
2020-09-02 13:40:55 -07:00 |
|
collin
|
52f20a0d03
|
simplify grammar rule for conditional statements
|
2020-09-02 12:28:54 -07:00 |
|
collin
|
0edad533fb
|
restrict grammar rule for array initializers
|
2020-09-02 12:19:43 -07:00 |
|
collin
|
7a0dc342fb
|
impl array-type in ast
|
2020-09-02 09:03:22 -07:00 |
|
howardwu
|
bf82bf4d1b
|
chore(leo): bump version for new release
|
2020-08-28 23:26:19 -07:00 |
|