Module IO
This module contains functions to load lisp code from file, write to files and print either on the console or in the log.
Functions
print
: print a LValue either in the console or in the interpreter log.
>> (print test)
test
__read__
: reads a string from a file. Prefer using the macro read.
>> (__read__ <path-to-file>/<name-file>.scm)
write
: write a LValue to a file.
>> (write <path-to-file>/<name-file>.scm)
Macros
read
: macro used to read, parse and eval a lisp file.
(load test.scm)
=> (eval (parse (__read__ test.scm)))