Commit Graph

544 Commits

Author SHA1 Message Date
howardwu
db4cea8967 Update .program to .leo 2020-04-20 21:31:17 -07:00
howardwu
0cfcc8d55f Removes the csv example 2020-04-20 21:28:47 -07:00
Howard Wu
0d71b00b3c
Update README.md 2020-04-20 21:16:47 -07:00
collin
26d8010080 remove zokrates progam 2020-04-20 18:53:27 -07:00
collin
ff4fc0cc20 add file docs 2020-04-20 18:52:39 -07:00
collin
9bf0dc9a4a refactor constraints module 2020-04-20 18:41:55 -07:00
collin
16d27629f9 impl field element operations 2020-04-20 17:40:45 -07:00
collin
1bbe71d726 add and constrain explict type for u32 2020-04-20 13:06:47 -07:00
collin
dbbf816645 constraints basic imports 2020-04-17 16:05:20 -07:00
collin
1e9e49db57 parse imports 2020-04-17 12:51:02 -07:00
collin
1743c7a1f1 constraints bool and field spreads 2020-04-16 22:46:51 -07:00
collin
e1db8ed483 constraints modify array and struct values in place 2020-04-16 19:17:10 -07:00
collin
6b6bce38cb impl function scope 2020-04-16 15:15:13 -07:00
collin
455c0b631a constraints for loops 2020-04-16 11:36:23 -07:00
howardwu
0a8cda3d7f Rename Function's name from 'variable' to 'function_name', and adds FunctionName type in pest and types 2020-04-15 23:58:47 -07:00
howardwu
59d2fa861a Fix bug: parse mixed space and tab case 2020-04-15 23:12:11 -07:00
collin
833590ad40 clean up output 2020-04-15 22:17:44 -07:00
collin
ac48138621 constraints function calls, params, returns 2020-04-15 18:46:54 -07:00
collin
3bc7118d71 constraint struct access 2020-04-15 16:52:17 -07:00
collin
025d9ab45d constraints array access 2020-04-15 13:47:53 -07:00
collin
c14ed231ea constraints inline structs 2020-04-14 22:55:38 -07:00
collin
3f83786871 constraints array initializer 2020-04-14 17:50:26 -07:00
collin
83763a6817 constraints inline array 2020-04-14 16:48:24 -07:00
collin
2f9e4b31e0 constraint structs and function definitions 2020-04-13 21:21:15 -07:00
collin
1903858e7a program structs 2020-04-13 17:21:09 -07:00
collin
940806ec50 pest for loop 2020-04-13 13:08:39 -07:00
collin
3f59714eac pest function defs 2020-04-13 12:37:30 -07:00
collin
54ad1af1f8 pest increment decrement 2020-04-13 11:30:17 -07:00
collin
030699beb5 pest array, postfix, array access 2020-04-13 11:17:29 -07:00
collin
d9b0fa993f impl conditional if then else fi 2020-04-09 19:22:11 -07:00
collin
62fa83195e all field operators working with constraints 2020-04-09 15:37:42 -07:00
collin
9b4bd25773 impl variable declaration resolution 2020-04-07 14:52:34 -07:00
collin
f19eb4f066 basic assign and returns 2020-04-07 12:44:59 -07:00
collin
eb56ad6d7e return and assign statements working. 2020-04-03 18:15:14 -07:00
collin
acd8992843 composable return statements working 2020-04-03 12:22:03 -07:00
collin
82eaba499c impl add, sub, mul, div 2020-04-01 13:59:14 -07:00
collin
c4f233e142 add constraints and snark functions 2020-03-31 13:47:51 -07:00
collin
4a83a0e879 program a==1 compiles and generates constraints 2020-03-27 19:00:19 -07:00
collin
c798635e29 basic program compilation from ast 2020-03-23 15:19:47 -07:00
howardwu
a143322f53 Working parser 2020-03-13 10:02:39 -07:00
howardwu
6c4c621dd9 Merge branch 'master' of https://github.com/AleoHQ/language 2020-03-11 14:56:58 -07:00
howardwu
078db23fa6 AST WIP 2020-03-11 14:56:54 -07:00
Howard Wu
c23c20a802
Create README.md 2020-03-09 20:58:09 -07:00
howardwu
bc4c60712b Initial commit 2020-03-09 20:55:41 -07:00