[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] sayMessage
From: |
Gabriel Dos Reis |
Subject: |
Re: [Axiom-developer] sayMessage |
Date: |
27 Jan 2007 15:46:14 -0600 |
Waldek Hebisch <address@hidden> writes:
| Gabriel Dos Reis wrote:
| > On Wed, 17 Jan 2007, Waldek Hebisch wrote:
| >
| > | I personally do not like this design, but it is not clear if
| > | alternatives are better. I considered:
| > |
| > | - making a completly independent function hierarchy for translator
| > | - adding global flag tested by relevant compiler functions
| > | - using assignment to 'symbol-function'
| > | - mixture of all above
| > |
| > | First variant means significant code duplication. Second variant
| > | means that individal compiler functions would be cluttered with extra
| > | functionality which is unused during normal operation. Third
| > | variant is a slight improvement compared to current situation
| > | (would allow to restore normal operation when the translator
| > | has finished), but ATM I am not sure if gains would justify
| > | effort. Fourth variant IMHO would only add confusion due to
| > | inconsistency.
| >
| > Any reason not to consider fboundp? Also I seem to remember Camm said
| > GCL has built-in autoload capabilities. Since we're (un)fortunately
| > deeply rooted into GCL, why not consider that?
| >
|
| Could you elaborate? I do not understand how fboundp and GCL autoload can
| help for Aldor translator problem.
I was addressing the specific issue of ensuring that a function
is effectively loaded, and if not load it.
(2) -> if null? FBOUNDP('parseTransform)$Lisp then
oldParserAutoloadOnceTrigger()$Lisp
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/parsing.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/bootlex.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/def.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/fnewmeta.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/metalex.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/metameta.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/parse.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/postpar.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/postprop.
Loading /usr/local/libexec/axiom/target/i686-suse-linux/autoload/preparse.
(2) ()
Type: SExpression
(3) -> null? FBOUNDP('parseTransform)$Lisp
(3) false
Type: Boolean
-- Gaby