sailfish.kernel.parse_api

Analyzes C code intended for JIT-compilation to a kernel library.

Functions

main()

parse_api(code)

Parse a C-like source file to extract a public API.

scan(lines)

Generator to emit events encountered parsing kernel library code.

Classes

Argument(dtype, name, constraint)

Symbol(name, args)