lily-cutils
v1.0.0
Published
C utilities for Lily compiler
Downloads
1
Readme
lily-cutils
Lily's C Utils
Usage
With the lily-cutils
CLI:
lily-cutils-dumper - v0.0.1
Convert C to JSON AST, or function signatures in JSON/Typescript
Options:
--input, -i Input .c or .h file
--output, -o Output .json file
--mode, -m Mode: ast (dump AST), signatures (dump as json), ts (signatures as .d.ts) (default: signatures)
Used like such:
npx lily-cutils -i test\demo.h -o out.json
Will yield an out.json
that has extracted function signature and type information from the C header or source file.