Skip to content

Commit d55e881

Browse files
committed
update codgen-v2/README.md
1 parent 5a74076 commit d55e881

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

codegen-v2/README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
# About
22

33
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).
146

157
## Execution
168

179
```bash
1810
$ cd codegen-v2
19-
$ cargo run
11+
$ cargo run -- swift
2012
```
2113

22-
This command reads the C headers in `include/` and generates a
23-
`include_manifest.json` file.
14+
The bindings are saved to `bindings/`.

0 commit comments

Comments
 (0)