installation - How to interpret full programs in Ready Lisp? -
i've downloaded ready lisp , playing around repl. want know is, how write long program, interpret , output? sort of plt scheme has.
i'd minimal amount of hassle if that's possible. want on book i'm reading. thanks.
common lisp provides functions load , compile-file.
load load lisp textual source code or compiled files , execute those. printing done go usual output streams.
compile-file allows generate compiled file file lisp source code. has advantage programs typically running faster when using file compiler , compiler checking , might give optimization hints. many implementations generate native machine code. file generated compile-file can loaded load.
note in common lisp 1 uses running lisp compile , load code. in plt scheme model used each 'start' code gets executed in fresh scheme. may beginners, waste of time writing larger software.
Comments
Post a Comment