Commit Graph

62 Commits

Author SHA1 Message Date
howardwu
8c5be763ff Compiler wip 2020-04-23 23:57:05 -07:00
howardwu
0a49dd1ec3 Adds compiler module 2020-04-23 18:52:43 -07:00
howardwu
1ec03fdb09 Migrate to workspace 2020-04-23 18:33:43 -07:00
Collin Chin
7500f9a5fd
Merge pull request #1 from AleoHQ/development
Development
2020-04-23 17:46:17 -07:00
collin
6ec4f99af5 add readme 2020-04-23 17:43:58 -07:00
collin
2255bac5a1 add function and {} 2020-04-23 16:24:31 -07:00
collin
ac9707da92 remove old code 2020-04-23 15:29:21 -07:00
collin
34d8a552e7 refactor type resolution 2020-04-23 15:24:05 -07:00
collin
1e5c2a7ef9 enforce function return type 2020-04-22 13:26:52 -07:00
collin
fa37bc4a40 add implicit integer type. various fixes 2020-04-22 12:45:16 -07:00
collin
ccd6092ff3 merge development 2020-04-22 11:43:00 -07:00
collin
ffedd297fc impl and constrain function parameter visibility 2020-04-21 23:01:20 -07:00
howardwu
6a6197d4f2 Update logging 2020-04-21 00:07:52 -07:00
howardwu
51c52c8676 Updates 2020-04-20 22:12:09 -07:00
howardwu
8702ad5ccd Clean up 2020-04-20 21:51:57 -07:00
howardwu
966f4c90ca Rename language.pest to leo.pest 2020-04-20 21:41:15 -07:00
howardwu
f1c318d8e0 Migrate aleo_program to program 2020-04-20 21:38:04 -07:00
howardwu
a42d9eeb10 Updates Cargo.toml 2020-04-20 21:34:15 -07:00
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