Implements code chunks, a couple of basic opcodes, constants, and basic execution of those opcodes. Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
10 lines
199 B
C
10 lines
199 B
C
#ifndef clox_debug_h
|
|
#define clox_debug_h
|
|
|
|
#include "chunk.h"
|
|
|
|
void disassembleChunk(Chunk *chunk, const char *name);
|
|
int disassembleInstruction(Chunk *chunk, int offset);
|
|
|
|
#endif /* clox_debug_h */
|