Commit Graph

74 Commits

Author SHA1 Message Date
collin
9eca8f83b4 fix pest statement rule 2020-08-03 11:30:47 -07:00
howardwu
b81129db67 Adds benchmarks for serialization 2020-08-02 20:33:05 -07:00
howardwu
3ccfd2c764 Adds ci_skip 2020-08-02 19:57:28 -07:00
howardwu
5375d97b40 Resolve merge conflict 2020-08-02 18:51:44 -07:00
howardwu
2d1b93e5f8 Merge with master 2020-08-02 17:24:31 -07:00
howardwu
00c10870e2 Implements working typed ast serialization 2020-08-01 21:50:47 -07:00
collin
fb45ac7498 rename inputs -> input 2020-07-31 19:39:30 -07:00
collin
ce2a92b9bf add function input keyword. support access to registers, record, state, state_leaf 2020-07-31 18:30:08 -07:00
collin
a858b37fe0 merge master fix conflicts 2020-07-30 18:30:56 -07:00
howardwu
5bd6ab78b9 Refactor compiler to have a separate typed ast infrastucture 2020-07-29 01:12:17 -07:00
howardwu
6a199d1256 Add test for span 2020-07-28 22:54:32 -07:00
howardwu
d440c2b57e Update documentation 2020-07-28 22:36:10 -07:00
howardwu
d3894ff546 Adds AST JSON generator 2020-07-28 22:26:28 -07:00
howardwu
47bfd2e096 Adds serialization of Leo AST for unit testing and rformal verification 2020-07-28 21:18:43 -07:00
collin
9fc9e16367 parse main, record, registers, state, state_leaf types to compiler input 2020-07-28 16:57:03 -07:00
collin
929ea95fe2 Merge branch 'master' of github.com:AleoHQ/leo into feature/signed-integer-syntax 2020-07-16 20:37:41 -07:00
collin
6f2e468771 update protected names 2020-07-16 01:06:29 -07:00
collin
2f39ecdbc3 impl infra for i type tests 2020-07-15 21:31:23 -07:00
collin
d30d72d76e impl i8 i16 i32 i64 i128 for leo-inputs 2020-07-15 20:28:22 -07:00
collin
5ccda0750a add i8 i16 i32 i64 i128 types 2020-07-15 19:32:55 -07:00
collin
d4d8550a15 update protected names in pest 2020-07-14 16:50:14 -07:00
collin
3a53b91632 fix operator precedence 2020-07-14 13:43:39 -07:00
collin
cd38e3a476 println -> print. update readme 2020-07-09 18:55:53 -07:00
howardwu
86d53cb1c1 Merge branch 'master' of https://github.com/AleoHQ/leo into feature/macros 2020-07-09 15:29:58 -07:00
collin
364e7684ac add println, debug, error to leo-types 2020-07-09 01:39:13 -07:00
collin
82a98e1867 add println, debug, error macros to pest 2020-07-09 00:03:45 -07:00
collin
0d55483321 allow newlines in function def 2020-07-08 22:08:20 -07:00
collin
502b78a52a macro wip 2020-07-08 20:40:48 -07:00
collin
aa708b8084 fix value.field bug 2020-07-08 03:30:15 -07:00
collin
965bdc4d6a fix import module 2020-07-07 21:05:03 -07:00
collin
b0acd5ea5a update field and group modules 2020-07-07 19:53:37 -07:00
collin
a6092e9a2f add field module 2020-07-07 19:40:01 -07:00
collin
87db0508f4 impl return tuples and update tests 2020-07-07 10:11:23 -07:00
collin
ce90dd8660 fix iteration pest bug 2020-07-06 05:05:48 -07:00
collin
d3c0dbb80c impl tests for address type 2020-07-06 04:59:06 -07:00
collin
f1030117ee add address type to leo-ast and leo-types 2020-07-06 01:47:07 -07:00
collin
d905ffd569 impl importing from package lib, file, directory, and star 2020-06-29 17:47:59 -07:00
Collin Chin
60e592edd7
Merge pull request #84 from AleoHQ/fix/spacing
require spacing after keywords and add optional comma after circuit fields
2020-06-29 13:40:59 -07:00
collin
457a1b26bc add comma to circuit member field def 2020-06-29 13:05:41 -07:00
collin
b8292e3fd9 require spacing after keywords 2020-06-29 12:08:18 -07:00
collin
a4a9ed05ea impl constraints and tests for multiple imports 2020-06-26 17:12:04 -07:00
collin
5900923d9d impl constraints for single imports 2020-06-26 15:42:52 -07:00
collin
b5d90b857b impl import package syntax for ast and types 2020-06-26 14:18:05 -07:00
collin
7bc52ada9e evaluate all indices to expressions 2020-06-24 16:57:15 -07:00
collin
f1e9df7c95 evaluate range bounds to rust usize type 2020-06-24 16:30:49 -07:00
collin
0a990bdb4e Merge branch 'master' of https://github.com/AleoHQ/language into fix/namespace 2020-06-22 18:35:10 -07:00
collin
5865149c06 fix index evaluation 2020-06-22 18:28:30 -07:00
howardwu
c9d3f8615e Change circuit_definition to circuit in leo.pest 2020-06-20 00:58:04 -07:00
collin
a5a8ba74de fix imports 2020-06-17 19:25:13 -07:00
collin
7248814ac7 impl let/const for circuits and value wrappers 2020-06-16 09:49:45 -07:00