Waldek Hebisch <[email protected]> writes: | Bill Page wrote: | > | > Very cool. But isn't it odd to make this a function of )read ? I | > would have expected )compile ... | > | > On Fri, Dec 9, 2011 at 9:22 AM, Waldek Hebisch <[email protected]> wrote: | > > Ralf Hemmecke wrote: | > >> ... | > >> Can someone tell me how exactly that should be done? | > >> In particular, assume that I want to recompile ax.boot from within | > >> fricas. Of course, I'd also like to immediately use the (modified) boot | > >> function. | > > | > > In reasonably new FriCAS: | > > | > > )read ax.boot | > > | | Originally )read would translate .boot file to lisp and load | the lisp file. This meant that the code was executed by | Lisp interpreter. IMHO loading files to be interpreted | makes little sense, so I changed ')read' so that the | Lisp file is compiled and loaded in compiled form. | Note that this is consistent with .input files, which | are also compiled by default. | | Concerning ')compile': logically it should just compile, | without loading anything. But somewhat orignal authors | thought that combining several operations is more | convenient.
Tim Daly sent me recently a document on Boot that explicitly stated that Boot (the old Boot) was designed to be compiled, not interpreted as Spad scripts are. Nowadays, given that the most efficient Lisp implementations have EVAL internally compile the Lisp forms, I think the change is benign and makes sense to. -- Gaby -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en.
