diff options
| author | Joel Martin <github@martintribe.org> | 2014-04-27 18:28:56 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-04-27 18:28:56 -0500 |
| commit | 72599899e3d3ae1face46a81f01979b040d19c61 (patch) | |
| tree | 95e163ffacaa7061a1ac90ccd8a1418656ebc5e3 /php/step0_repl.php | |
| parent | d574187895c8519bffd5a0f8b4c1817e00103d91 (diff) | |
| parent | cc021efe10380039a13da5300990639203450634 (diff) | |
| download | mal-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.php | 3 |
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); -?> +?> |
