Mercurial > jwe > qt-gui-with-push-parser
diff parse.h @ 0:dff751fb985c
initial revision
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 13 May 2019 09:48:06 -0500 |
parents | |
children | 08df60a01bc1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parse.h Mon May 13 09:48:06 2019 -0500 @@ -0,0 +1,11 @@ +namespace interpreter +{ + extern bool beg_of_stmt; + + extern void parser_init (void); + extern void parser_fini (void); + + extern int parse_and_execute (const std::string& line); + + extern void emit_result (double value); +}