Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
disasm.h
Go to the documentation of this file.
1#ifndef REDUCT_DISASM_H
2#define REDUCT_DISASM_H 1
3
4#include "compile.h"
5#include "core.h"
6
7/**
8 * @file disasm.h
9 * @brief Bytecode disassembly.
10 * @defgroup disasm Disassembly
11 *
12 * @{
13 */
14
15/**
16 * @brief Disassembles a compiled function.
17 *
18 * @param reduct The Reduct structure.
19 * @param function The compiled function to disassemble.
20 * @param out The output file stream to write the disassembly to.
21 */
23
24/** @} */
25
26#endif
Bytecode compilation.
Core definitions and structures.
FILE * reduct_file_t
Definition defs.h:44
#define REDUCT_API
Definition defs.h:7
REDUCT_API void reduct_disasm(reduct_t *reduct, reduct_function_t *function, reduct_file_t out)
Disassembles a compiled function.
Compiled function structure.
Definition function.h:78
State structure.
Definition core.h:61