[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: woups, language error
- Subject: Re: woups, language error
- From: bertot@bagheera.inria.fr (Yves Bertot)
- Date: 16 Jun 92 12:59:41 GMT
- Keywords: Answers: Buildfile, ppml, #:inter:load-or-parse-file
Answering the questions of F. Rouaix:
=> 1) tvtwm failures.
We would need a more precise description of the failure. On this site, we
use several different window managers, and no such failure has ever been
experienced.
=> 2) Suffixes:
We know that this is something users would like and will implement it in a
later revision.
=> 3) Bug METAL/Compile Abstract :
this bug report is not precise enough, especially since resources are very
delicate to use.
=> 4) Buildfiles for Metal :
Your Buildfile should rather have the following form (Note that the main
modification was to put the line "LANGUAGE=FILES" before the dependancy for "all"
and to replace "allmetal" by "$(LANGUAGE).t", I also removed everything that
was not related to metal).
ROOTDIR=/home/sylvaner/distrib1.2/
USERDIR=/home/beaune/croap/rouaix/
LANGUAGE=FILES
all : $(LANGUAGE).t
NOLEX=
NOYACC=
#include /home/sylvaner/distrib1.2/centaur/tables/metal/Buildmetal
=> 5) Pprinters configuration:
Fundamentally, your question is related to the possibility of having several
prettyprinters specified in the same ppml file. This is not possible, since
a ppml specification contains the "exact" name of the pretty printer in the
title line "prettyprinter std of L is". Thus, the specification of two
different pretty printers are necessarily different, although they may differ
only in that title line.
=> 6) Read/Parse Functions :
The function #:inter:load-or-parse-file is still available and provides exactly
the same functionality as in the good ol' time. It takes as arguments a string
describing the pathname to the file and either the language name or the symbol
'polish and returns a cons whose "car" is the tree parsed or loaded from the
file and whose "cdr" is some data on the file. No witchcraft of any kind is
needed, since this function still does not rely on parser servers.
However,it may happen that starting the server is not done when needed. This is
the case when you want to use emacs to edit a program fragment. If the parser
server for that given language is not already running, emacs does not know how to
start it. We know this problem and it will be corrected in a later version.
Thank you for all these remarks.
Yves Bertot.