[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile Abstract & Resources
- Subject: Compile Abstract & Resources
- From: jmi@columbo.inria.fr (Janet Bertot)
- Date: 17 Jun 92 13:05:57 GMT
=> Francois Rouaix wrote:
=> 3) Bug METAL/Compile Abstract : does not save the tables where it is
=> supposed to (according to me, given the resources).
and he later told me that for his language named "FILES", he had
specified the following resources:
** in his ... /FILES.rdb
Centaur.FILES.Root: user
Centaur.FILES.Location: tables/FILES
This is not sufficient, and while this is clearly stated in the Centaur
resource manual (in volume 2 of the documentation), it is not mentioned
in the Centaur tutorial (in volume 1 of the doc).
In fact, there is a third resource named "Mode" which must be specified.
This resource has two possible values: compat (as in, backwards compatibility)
and std (as in, "what we wish was the standard case"). The compat mode writes
the language tables (the generated files) in the current directory, while
std mode uses the Root and Location resources to determine where to write the
files. And of course, the default value for the Mode resource when not specified
is ... you guessed it ... compat.
Thus, to have the files generated where you've specified using Root and Location
resources you must add the following line in your FILES.rdb file:
Centaur.FILES.Mode: std
--janet