CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Functions
esiaccel.codegen.generator Namespace Reference

Classes

class  CppGenerator
 
class  CppTypeEmitter
 
class  CppTypePlanner
 
class  Generator
 

Functions

int run (Type[Generator] generator=CppGenerator, List[str] cmdline_args=sys.argv)
 

Detailed Description

Code generation from ESI manifests to source code.

Uses a two-pass approach for C++: first collect and name all reachable types,
then emit structs/aliases in a dependency-ordered sequence so headers are
standalone and deterministic.

Function Documentation

◆ run()

int esiaccel.codegen.generator.run ( Type[Generator]   generator = CppGenerator,
List[str]   cmdline_args = sys.argv 
)
Create and run a generator reading options from the command line.

Definition at line 2108 of file generator.py.

References esiaccel.connect(), and print().