[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] boottran::boottocl

From: root
Subject: [Axiom-developer] boottran::boottocl
Date: Mon, 28 Jul 2003 20:19:10 -0400


If you are making changes to boot code it is sometimes helpful to
check the generated lisp code to ensure it does what you want.
You can convert an individual boot file to common lisp using the
boottran::boottocl function:

)fin       -- drop into common lisp
(boottran::boottocl "foo.boot") 

when you do this it creates a foo.clisp file in ../../int/interp

Alternatively if you work from the pamphlet file the process is
more painful as you have to do

)cd (yourpath)/int/interp
)sys notangle ../../src/interp/foo.boot.pamphlet >foo.boot
(boottran::boottocl "foo.boot") 

The )cd step tells axiom to cd to the int/interp subdirectory.
The )sys notangle... extracts the boot file from the pamphlet file
The )fin step drops into common lisp
The (bootran... converts the "foo.boot" file to "foo.clisp"
The (restart) re-enters the top level loop


reply via email to

[Prev in Thread] Current Thread [Next in Thread]