This is an old revision of the document!


.. . the “read-eval-print” loop as often found in LISP dialects

((loop (print (eval (read)))))

.. or perl

perl -e 'print "\n> "; while(<>){print eval($_) . "\n> ";}'
  • repl.1182183108.txt.gz
  • Last modified: 2007-07-10 15:45
  • (external edit)