Reorganized the standard library a little more, moved the initialization code for the standard environment into a function. Making way for more organization changes to come
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
open Lisp.Ast;;
|
||||
open Printf;;
|
||||
open Lisp;;
|
||||
open Env;;
|
||||
open Eval;;
|
||||
open Read;;
|
||||
|
||||
let () = InterpreterStdlib.init_default_env ()
|
||||
|
||||
let rec repl env c =
|
||||
let () = printf ">>> "; Out_channel.flush Out_channel.stdout; in
|
||||
match In_channel.input_line c with
|
||||
|
||||
Reference in New Issue
Block a user