|
Zen-C
|
Compiler configuration and flags. More...
#include <zprep.h>
Data Fields | |
| char * | input_file |
| Input source file path. | |
| char * | output_file |
| Output binary file path. | |
| int | mode_run |
| 1 if 'run' command (compile & execute). | |
| int | mode_check |
| 1 if 'check' command (syntax/type check only). | |
| int | emit_c |
| 1 if –emit-c (keep generated C file). | |
| int | verbose |
| 1 if –verbose. | |
| int | quiet |
| 1 if –quiet. | |
| int | no_zen |
| 1 if –no-zen (disable zen facts/easter eggs). | |
| int | repl_mode |
| 1 if –repl (internal flag for REPL usage). | |
| int | is_freestanding |
| 1 if –freestanding (no stdlib). | |
| int | mode_transpile |
| 1 if 'transpile' command (to C). | |
| int | use_cpp |
| 1 if –cpp (emit C++ compatible code). | |
| int | use_cuda |
| 1 if –cuda (emit CUDA-compatible code). | |
| int | use_objc |
| 1 if –objc (emit Objective-C compatible code). | |
| int | mode_lsp |
| 1 if 'lsp' command (Language Server Protocol). | |
| char | gcc_flags [4096] |
| Flags passed to the backend compiler. | |
| char | cc [64] |
| Backend compiler command (e.g. "gcc", "clang"). | |
Compiler configuration and flags.
| char CompilerConfig::cc[64] |
Backend compiler command (e.g. "gcc", "clang").
| int CompilerConfig::emit_c |
1 if –emit-c (keep generated C file).
| char CompilerConfig::gcc_flags[4096] |
Flags passed to the backend compiler.
| char* CompilerConfig::input_file |
Input source file path.
| int CompilerConfig::is_freestanding |
1 if –freestanding (no stdlib).
| int CompilerConfig::mode_check |
1 if 'check' command (syntax/type check only).
| int CompilerConfig::mode_lsp |
1 if 'lsp' command (Language Server Protocol).
| int CompilerConfig::mode_run |
1 if 'run' command (compile & execute).
| int CompilerConfig::mode_transpile |
1 if 'transpile' command (to C).
| int CompilerConfig::no_zen |
1 if –no-zen (disable zen facts/easter eggs).
| char* CompilerConfig::output_file |
Output binary file path.
| int CompilerConfig::quiet |
1 if –quiet.
| int CompilerConfig::repl_mode |
1 if –repl (internal flag for REPL usage).
| int CompilerConfig::use_cpp |
1 if –cpp (emit C++ compatible code).
| int CompilerConfig::use_cuda |
1 if –cuda (emit CUDA-compatible code).
| int CompilerConfig::use_objc |
1 if –objc (emit Objective-C compatible code).
| int CompilerConfig::verbose |
1 if –verbose.