1.0.0 • Published 6 months ago

lily-cutils v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

lily-cutils

NPM version Build Status Gitpod ready-to-code

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.

1.0.0

6 months ago