Skip to content

Commit

Permalink
Merge pull request #24 from Emurgo/parse-codegen-split
Browse files Browse the repository at this point in the history
Use only intermediate form for codegen
  • Loading branch information
rooooooooob committed May 12, 2021
2 parents 7919b2a + 4270375 commit 28ad257
Show file tree
Hide file tree
Showing 7 changed files with 3,342 additions and 3,087 deletions.
7 changes: 7 additions & 0 deletions src/cmd.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// TODO: add these as cmd args
// TODO: make non-annotation generate different DeserializeError that is simpler
// and works with From<cbor_event:Error> only
pub const ANNOTATE_FIELDS: bool = true;
pub const BINARY_WRAPPERS: bool = true;
pub const GENERATE_TO_FROM_BYTES: bool = true;
pub const USE_EXTENDED_PRELUDE: bool = true;
41 changes: 0 additions & 41 deletions src/codegen_helpers.rs

This file was deleted.

1,644 changes: 1,644 additions & 0 deletions src/generation.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 28ad257

Please sign in to comment.