Re: XML-oriented precompiler (current version is for PHP)
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: 15 Aug 2006 18:51:18 -0400
Satyam wrote:
(John wrote)
[Precompilers for languages embedded in other languages have been
around for a long time. I did one in 1981 and it was a well-known
technique then. -John]
(snip)
I wasn't asking about the concept of precompilers or about embedding
one language within another which I am acquainted with (I used
embedded SQL once), but about the usefulness of this particular
combination.
Precompilers and embedding isn't what I thought about when I read the
post, but closer to special purpose languages.
It is common to write a compiler in the language that it compiles,
but that is not always best, or always done. In some cases a special
language is designed for just one use.
The Kermit state machine has its Wermit language, though other
state machine languages exist.
Knuth's WEB is supposed to be more general than TeX, but I don't believe
it is widely used other than for TeX and associated programs.
I am sure others can find examples of special purpose languages.
-- glen
.
- References:
- Prev by Date: Re: The History of the ALGOL Effort
- Next by Date: Re: Implementing Exception Handling in a VM
- Previous by thread: Re: XML-oriented precompiler (current version is for PHP)
- Next by thread: SLR and LR(1) Differences: A Recap
- Index(es):
Relevant Pages
|
|