[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: language neutral parser

From: Hans Aberg
Subject: Re: language neutral parser
Date: Tue, 6 Nov 2001 15:55:19 +0100

Here is the difference between my approach and the XML one:

Suppose one wants a program (like Bison perhaps) to write one array, but
with the entries not written in order. Then one would want to first
generate that array internally and after that write the array. It would
make no difference if the output language is XML or C/C++, if one wants to
write the array in an order other than the computed one.

So what I did was merely to create a language that can act directly on such
semantic information as the array in the example above. It proved
convenient to do that in the form of a macro language where the array is
defined as a sequence of environments.

  Hans Aberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]