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:
2025-11-05 23:55:21 +03:00
parent bafa9bdfbe
commit 724aeefc0f
4 changed files with 97 additions and 91 deletions

View File

@@ -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