1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

35 commits

Author SHA1 Message Date
schaeff
89e6a1c8d1 refactor r1cs to accept multiple outputs (wip) 2018-01-23 09:15:44 +01:00
schaeff
c9a36ddcf5 reduce complexity 2018-01-22 23:49:41 +01:00
schaeff
56ef08597a refactor experimentation with simple identifier list 2018-01-22 21:58:34 +01:00
schaeff
c96a03c60f resolve merge conflict, start semantics for multi return 2018-01-22 18:23:51 +01:00
schaeff
8d76c39ff6 upgrade flattening for multi return 2018-01-22 15:07:08 +01:00
schaeff
6ec373ae4d generic expression list parser, tests 2018-01-17 22:15:20 +01:00
schaeff
e27fdd1190 add semantic analysis 2017-12-10 00:03:39 +01:00
Thibaut Schaeffer
f8a706bff0 change message for undefined variable 2017-11-26 14:30:21 +01:00
Thibaut Schaeffer
580a83e988 fixing wrong input size 2017-11-26 13:25:40 +01:00
Thibaut Schaeffer
a38b727234 add private field to params. WIP 2017-11-26 00:37:53 +01:00
Jacob Eberhardt
821450db08 Flattening condition fix 2017-10-29 00:39:45 +02:00
Jacob Eberhardt
bddfb05c4f Experimental flattening change 2017-10-27 21:21:26 +02:00
Jacob Eberhardt
84d6ef1306 Suppress dead code warning for function I want to keep 2017-10-26 20:46:46 +02:00
Jacob Eberhardt
5d60e174ee Intermediary commit. Serialization added, Deserialization still ToDo. Formatted. 2017-10-09 13:24:31 +02:00
Jacob Eberhardt
93936ae5d4 Intermediary Backup. Not working yet. 2017-08-17 15:40:38 +02:00
Dennis Kuhnert
fb8442ff6a Fix multiple bugs in function flattening; add examples 2017-07-06 13:28:11 +02:00
Jacob Eberhardt
62094b409e Fixed warnings due to unused variables. 2017-06-13 17:22:51 +02:00
Jacob Eberhardt
f31cc4a7ba Function Expression can now be resolved. 2017-06-13 11:57:19 +02:00
Jacob Eberhardt
3eb3bb730e Parsing,AbSy, flattening and r1cs conversion adapted to support functions 2017-05-15 18:06:24 +02:00
Jacob Eberhardt
65bbe12bba Function definition abstraction added.
Parsing of function definitions added. No function call expressions yet. Snapshot before refactoring absy.rs.
2017-05-11 16:40:58 +02:00
Dennis Kuhnert
a1e1223920 Add `for' statement to parser 2017-03-23 22:35:43 +01:00
Dennis Kuhnert
6c9fc391bb Rename VariableReference -> Identifier, NumberLiteral -> Number 2017-03-01 00:03:11 +01:00
Dennis Kuhnert
e5cffc9763 Optimize flattening of equation == 2017-02-28 21:47:44 +01:00
Dennis Kuhnert
1978509685 Add documentation to r1cs.rs 2017-02-22 15:43:59 +01:00
Dennis Kuhnert
91515ed726 Add Compiler statements for witness calculation; Add user input for unknown variables
Statement::Compilter starting with `#`
2017-02-22 11:06:28 +01:00
Dennis Kuhnert
b01020f9cb Implement division for field; Add cases to r1cs; Bugfix in flattening for Mult; Bugfix for absy is_flattened 2017-02-20 16:35:50 +01:00
Dennis Kuhnert
e815ee7590 Add Field and its missing functionalities to the program workflow
Division not correct yet
2017-02-18 23:02:28 +01:00
Dennis Kuhnert
2c65673d4a Add flattening of variable reassignment (#1) 2017-02-16 15:43:31 +01:00
Dennis Kuhnert
10c5f6c429 Add Condition statement to parser (#1) 2017-02-16 12:53:29 +01:00
Dennis Kuhnert
1b3760f4a6 Add <=, ==, >=, > to parser 2017-02-15 15:18:28 +01:00
Dennis Kuhnert
5ef1ae51b7 Add first tests of parser and equality of structs 2017-02-08 22:06:38 +01:00
Dennis Kuhnert
175ed352bf Add @author and grammar notes 2017-02-07 11:53:42 +01:00
Dennis Kuhnert
4c68fc8f47 Add two's complement 2017-02-06 18:09:44 +01:00
Dennis Kuhnert
e3727858ab Finish parser implementation for complete grammar (pow, ifelse, brackets)
Add case to r1cs swap_sub
Add fmt::Debug implementation for absy
Rewrite exampe simple_ifelse.code for new IfElse syntax
Add example brackets.code
2017-02-06 00:39:32 +01:00
Dennis Kuhnert
cae9142e30 First version of new parser, containing Add, Sub, Mult, Div; With Operator Preceedence Rules
Without if-then-else-fi, pow
2017-02-05 20:11:09 +01:00
Renamed from src/ast.rs (Browse further)