Skip to content

Commit

Permalink
Merge pull request #574 from Zokrates/052-typos
Browse files Browse the repository at this point in the history
typos
  • Loading branch information
Schaeff authored Feb 25, 2020
2 parents 20ced30 + d7302d8 commit d8cde9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions zokrates_book/src/reference/abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def main(private Foo foo, bool[2] bar, field num) -> (field):

## ABI specification

When compiling a program, an ABI specification `abi.json` file is created and describes the interface of the program.
When compiling a program, an ABI specification is generated and describes the interface of the program.

In this example, the generate ABI specification is:
In this example, the ABI specification is:

```json
{
Expand Down Expand Up @@ -69,7 +69,7 @@ In this example, the generate ABI specification is:
}
]
}
``
```


## ABI input format
Expand Down
2 changes: 1 addition & 1 deletion zokrates_parser/src/zokrates.pest
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ WHITESPACE = _{ " " | "\t" | "\\" ~ NEWLINE}
COMMENT = _{ ("/*" ~ (!"*/" ~ ANY)* ~ "*/") | ("//" ~ (!NEWLINE ~ ANY)*) }

// TODO: Order by alphabet
keyword = @{"as"|"bool"|"byte"|"def"|"do"|"else"|"endfor"|"export"|"false"|"field"|"for"|"if"|"then"|"fi"|"import"|
keyword = @{"as"|"bool"|"byte"|"def"|"do"|"else"|"endfor"|"export"|"false"|"field"|"for"|"if"|"then"|"fi"|"import"|"from"|
"in"|"private"|"public"|"return"|"struct"|"true"|"uint"
}

0 comments on commit d8cde9e

Please sign in to comment.