mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
✨ add experimental REPL (cpp)
This commit is contained in:
@@ -31,6 +31,9 @@ var count_bracket = func(line) {
|
||||
|
||||
while(1) {
|
||||
var line = readline(">>> ");
|
||||
if (!size(line)) {
|
||||
continue;
|
||||
}
|
||||
if (line == ".exit" or line == ".quit") {
|
||||
break;
|
||||
} elsif (line == ".help") {
|
||||
|
||||
Reference in New Issue
Block a user