![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
Interactive Read-Eval-Print Loop (REPL) entry point. More...
#include "vm.h"Go to the source code of this file.
Functions | |
| int | fun_run_repl (VM *vm) |
| Run the interactive REPL using an already-initialized VM. | |
Interactive Read-Eval-Print Loop (REPL) entry point.
Definition in file repl.h.
| int fun_run_repl | ( | VM * | vm | ) |
Run the interactive REPL using an already-initialized VM.
Reads lines from stdin, evaluates them in the provided VM context, and prints results/errors. The function returns on EOF or when the user issues a quit command supported by the REPL implementation.
| vm | Pointer to an initialized VM; must not be NULL. |
Run the interactive REPL using an already-initialized VM.
| vm | Initialized VM to execute user input within. |