File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 1
1
# About
2
2
3
3
This is a _ work-in-progress_ parser meant to deprecate the existing Ruby parser
4
- in ` codegen/ ` . This project will progess over multiple stages (PRs).
5
-
6
- - [x] Write a (minimal) parser with full coverage of the C headers in ` include/ ` ([ #3065 ] ( https://github.com/trustwallet/wallet-core/pull/3065 ) ).
7
- - [ ] Implement a templating engine, write easy to read templates.
8
- - [ ] Start with Swift codegen, replicate existing API (no breakage).
9
- - [ ] Complete codegen for remaining languages.
10
- - [ ] Extend the parser to handle all valid C header syntax.
11
- - [ ] Add explicit error types (right now it's just `Error::Todo`).
12
- - [ ] Seperate parser logic from C header grammer (no refactoring required, just reorganization).
13
- - [ ] Update the entire building system.
4
+ in ` codegen/ ` . As of now, we only support Swift binding generation. This project
5
+ will progess over multiple stages (PRs).
14
6
15
7
## Execution
16
8
17
9
``` bash
18
10
$ cd codegen-v2
19
- $ cargo run
11
+ $ cargo run -- swift
20
12
```
21
13
22
- This command reads the C headers in ` include/ ` and generates a
23
- ` include_manifest.json ` file.
14
+ The bindings are saved to ` bindings/ ` .
You can’t perform that action at this time.
0 commit comments