| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Languages
Languages.PLIS

# Method Languages.PLIS.main()

Method main

  `void main()`

Description

  Instantiates a copy of the default environment and starts an interactive main loop that connects to standard I/O. The main loop is as follows:

  (begin (define (loop) (let ((line (read-line \"PLIS: \"))) (if line (let ((res (catch (eval (read-string line) (global-environment))))) (display res) (loop))))) (loop))