Implement value stack and use it in the interpreter.

We can now run simple programs that don't use function calls.
This commit is contained in:
Tor Andersson
2014-01-14 18:17:06 +01:00
parent 8d5ace5e79
commit f77a6e7e8e
12 changed files with 687 additions and 345 deletions

View File

@@ -1,6 +1,7 @@
#ifndef js_run_h
#define js_run_h
void jsR_error(js_State *J, const char *message);
void jsR_runfunction(js_State *J, js_Function *F);
#endif