aboutsummaryrefslogtreecommitdiff
path: root/php/step0_repl.php
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-27 18:28:56 -0500
committerJoel Martin <github@martintribe.org>2014-04-27 18:28:56 -0500
commit72599899e3d3ae1face46a81f01979b040d19c61 (patch)
tree95e163ffacaa7061a1ac90ccd8a1418656ebc5e3 /php/step0_repl.php
parentd574187895c8519bffd5a0f8b4c1817e00103d91 (diff)
parentcc021efe10380039a13da5300990639203450634 (diff)
downloadmal-72599899e3d3ae1face46a81f01979b040d19c61.tar.gz
mal-72599899e3d3ae1face46a81f01979b040d19c61.zip
Merge branch 'master' into gh-pages
Diffstat (limited to 'php/step0_repl.php')
-rw-r--r--php/step0_repl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/step0_repl.php b/php/step0_repl.php
index 64b086b..eecb052 100644
--- a/php/step0_repl.php
+++ b/php/step0_repl.php
@@ -22,6 +22,7 @@ function rep($str) {
return MAL_PRINT(MAL_EVAL(READ($str), array()));
}
+// repl loop
do {
$line = mal_readline("user> ");
if ($line === NULL) { break; }
@@ -30,4 +31,4 @@ do {
}
} while (true);
-?>
+?>