'R' Bindings to the 'C' Grammar for Tree-Sitter
Get the path to the installed fake_libc headers
This function will use the configured C compiler to list macro definit...
Extract enum members from a parsed header
Extract enum names from a parsed header
Extract function names (declarations and definitions) from a root
Extract global variable names from a parsed tree root
Extract global variables with types from a parsed tree root
Extract members of structs (including nested anonymous struct members)
Extract struct names from a parsed tree root
Extract members of unions
Extract union names from a parsed header
tree-sitter language for C
Convert character content of a header file into a tree-sitter root
Parse a directory of headers and return named list of data.frames with
Parse C header files for function declarations using tree-sitter
Run the C preprocessor on file using the provided compiler
Preprocess a set of header files found under dir
Return the default R-configured C compiler (possibly with flags)
treesitter.c: 'R' Bindings to the 'C' Grammar for Tree-Sitter
Provides bindings to a 'C' grammar for Tree-sitter, to be used alongside the 'treesitter' package. Tree-sitter builds concrete syntax trees for source files and can efficiently update them or generate code like producing R C API wrappers from C functions, structs and global definitions from header files.
Useful links