Some REPL enhancements like a history, better error messages and some Makefile enhancements.
This commit is contained in:
parent
b69c8305f6
commit
56289e87a2
5 changed files with 124 additions and 8 deletions
|
|
@ -19,4 +19,7 @@ Bytecode *parse_file_to_bytecode(const char *path);
|
|||
/* Parse source provided as a single string buffer (for REPL, tests, etc.). */
|
||||
Bytecode *parse_string_to_bytecode(const char *source);
|
||||
|
||||
/* Query the last parser error (1 if present, 0 if none). */
|
||||
int parser_last_error(char *msgBuf, unsigned long msgCap, int *outLine, int *outCol);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue