diff options
| author | Alasdair | 2020-05-12 15:41:23 +0100 |
|---|---|---|
| committer | Alasdair | 2020-05-12 15:41:23 +0100 |
| commit | 81516c8ad7c30adb3d52741ad6a7c68d4436ec35 (patch) | |
| tree | 9a9a56c495f2c9dba4e8613118f40c3f8bc2b33b /doc | |
| parent | 199e10df8e776e4b27f9cfd2357db6babf674ed1 (diff) | |
Support for user-defined state and headers in new codegen
All the code-generator options can now be controlled via a json
configuration file
Extra fields can be added to the sail_state struct using a
codegen.extra_state key in the configuration json for the code
generator
If primitives want to modify the state they can be specified via
codegen.state_primops
To import such state, codegen.extra_headers can be used to add
user-defined headers to the generated .h file
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
