[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD
From: |
Mark Murray |
Subject: |
Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD |
Date: |
Tue, 11 Nov 2003 08:01:19 +0000 |
root writes:
> Mark,
>
> There is a variable in the top level Makefile.pamphlet called
> TANGLE=
Excellent! Thank you!
> The weave function is never
> called directly as I've already subsumed it under the "document"
> command.
Yeah I found that. This is very good!
> The notangle command will be subsumed when I make another major
> cleanup sweep.
Great!
> I've moved Axiom's version of noweb's executables out of $AXIOM/bin so
> they don't show up on the user's path. Thus a user that has noweb installed
> will still get the standard version of noweb rather than Axiom's patched
> version. Axiom will use the patched version to build, not the user's version.
Good news!
> I'm not sure how this will help (although it is cleaner) since the standard
> noweb has a bug which Axiom patches. The fix was never accepted because
> I changed the C code rather than the awk/sed scripts.
I may be able to help here. Are we talking about a patch whose essence
is
--- c/modules.nw.orig Wed Mar 28 14:44:00 2001
+++ c/modules.nw Mon Nov 10 09:25:05 2003
@@ -197,11 +197,17 @@
out as a special case.
This change probably blows the case where the module being expanded is
empty.
+
+If the lookup fails then the module (or chunk) is an undefined name.
+We complain about it but want to output the original source.
+We just wrap it in the bogus chunk name in the angle brackets
+that it must have had in the input and output it. (Tim Daly Nov 13, 2002)
<<expand a module>>=
newmod = lookup(p->contents);
if (newmod==NULL) {
- errormsg (Error, "undefined chunk name: @<<%s@>>", p->contents);
+ errormsg (Error, "ignoring undefined chunk name: @<<%s@>>", p->contents);
error=Error;
+ printf("@<<%s@>>",p->contents);
} else {
int retcode;
??
If so, what were the detailed objections, and I'll sort out a real fix :-).
> In any case there will eventually be an Axiom "document" command that
> knows how to do all of the necessary magic for everything we need done
> with literate programs.
Right. Nice.
> I've checked in the changes.
You da man! ;-)
M
--
Mark Murray
iumop ap!sdn w,I idlaH
- [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, (continued)
- [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/09
- Message not available
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/09
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, Mark Murray, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, Mark Murray, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, Mark Murray, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/10
- Re: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, root, 2003/11/11
- RE: [Axiom-developer] Re: [Axiom-mail] Compiling Axiom on FreeBSD, Weiss, Juergen, 2003/11/11