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

Compiling




   Thanks for the answers to my message about compilation.  I received them a
long moment ago, and I have just integrated some criticisms and suggestions.

   In fact, concerning "function", i.e., "#'", it seems to me that it is
equivalent to "quote" unless there are "tagbody" forms.  Consequently, there
are two solutions:

   ---writing:
	#'(lambda (...) (f ...))
and adding "f" to the export list of the current module;
   ---or writing:
	(lambda (...) (f ...))
which works fine while we do not have to add "f" to the export list.

   I do not want take part in the debate about the comparison between Le_Lisp
and Common Lisp, but I noticed that the notation "#'" in Common Lisp is
encouraged to be used systematically, and among arguments of a function, it
distinguishes whta is a function expression, and what is another expression.
Thta why I used "#'# whatever I delat with a function expression.

   There are still two problems in my environment:

   ---in a "Buildfile" file, if I put:
	CMPLC=complice
it induces the following message:
	Error with /usr/ilog/lelisp/v15-24/sun4/cmplc++
which is surprising since the compilation works fine with "cmplc" and "centaur
-top";

   ---I also have, for one of my modules:
	Undeclared global variable: AS_secureflag
I think this variable must originate from the expansion of a macro, but which?

   More precisely, where can I find more documentation about complice?  This is
not the purpose of the Centaur documentation, I agree, but the Le_Lisp manual
is indigent, too.

   Yours faithfully,

				 J.-M. Hufflen