Re: Common Configuration Settings



christoph.grein@xxxxxxxxxxxxxx schrieb:

Once a few basic rules are there, it should be easy to

(a) transform the rules into compiler specific syntax

(b) have rule transformation use host OS conventions

(c) allow for compiler specific additions

We would not have to learn yet another ad hoc language.

Aha, wouldn't we need some language for this? Python, Perl, Ruby, ...

No no no...! Common configuration language just needs a simple
stupid abstract CFG based on existing language.

GNAT project files, or AdaMagic's ADA.LIB and UNIT.MAP are
heading in this direction. There is overlap in what the
GNAT files and AdaMagic files contain, such as paths.
It is at this overlap of settings where I would start defining
simple common configuration.

The current situation for portable Ada projects is that even
when configuration settings are the same, you still need
to specify and maintain them in differnt ways. Why?

Obviously, configuration is important, and is adressed
in any case, by each vendor.
In order to reduce the amount of duplicated configuration
information, a common core would need to be formalized.
Now that Ada.Directories and Ada.Environment_Variables
are part of the Ada language implementers have algorithms
ready.
.



Relevant Pages

  • Re: Common Configuration Settings (was: Ada for 1st year students)
    ... for configuration management in a compiler independent ... the usual suspects, such as directories to be included, ... have rule transformation use host OS conventions ... We would not have to learn yet another ad hoc language. ...
    (comp.lang.ada)
  • Re: "STL from the Ground Up"
    ... high-level intermediate language than can interoperate with many other ... If your language lacks expressive features then you cannot write code ... memory management in comparison. ... Mostly because type errors mean that the programmer and compiler disagree ...
    (comp.programming)
  • Re: A note on computing thugs and coding bums
    ... It would handle international characters if the execution character ... method I used in "Build Your Own .Net Language and Compiler". ... work areas and counting on Nul is an illusion. ...
    (comp.programming)
  • Re: WaitForSingleObject() will not deadlock
    ... represent an incorrect implementation of the language. ... the *compiler* does not guarantee this. ... but to state it in terms of the execution instead of the formal semantics of the language ... as long as the optimizations do not change the semantics of the language). ...
    (microsoft.public.vc.mfc)
  • Re: "STL from the Ground Up"
    ... are not features of a language. ... To support reflection you make a compiler embbed type and functional information in the compiled program. ... When the OCaml compiler is given a complicated nested pattern match it ... virtual const Base *clone= 0; ...
    (comp.programming)