51int parser_last_error(
char *msgBuf,
unsigned long msgCap,
int *outLine,
int *outCol);
Definitions for the Fun VM bytecode: opcodes, instruction format, and bytecode container API.
Bytecode * parse_string_to_bytecode(const char *source)
Parse source from a provided string buffer (REPL/tests helper).
int parser_last_error(char *msgBuf, unsigned long msgCap, int *outLine, int *outCol)
Retrieve information about the last parser error, if any.
Bytecode * parse_file_to_bytecode(const char *path)
Parse a .fun source file and compile it into a bytecode chunk.