Re: <tag> based language compiler

Henrik Johansson <>
20 Oct 1996 16:42:42 -0400

          From comp.compilers

Related articles
<tag> based language compiler (Chip Scardo) (1996-10-16)
Re: <tag> based language compiler (Henrik Johansson) (1996-10-20)
| List of all articles for this month |

From: Henrik Johansson <>
Newsgroups: comp.compilers
Date: 20 Oct 1996 16:42:42 -0400
Organization: Ericsson AXE Research and Development
References: 96-10-071
Keywords: parse

Chip Scardo wrote:
> A few years ago I wrote a basic 'scanner' for a language that is tag based.
> <abigtag>
> <attribute1> value for attribute 1
> <anotherkind of attribute>
> <subattribute1> value for subattribute1
> <subattribute1> another value for subattribute1
> <subattribute2> a value for subattribute2
> </anotherkind of attribute> /* the way to end a group of tags */
> </abigtag>
> Question is: is there a tool out there to help me write this new compiler?

It looks like you are influenced by SGML in the style. Maybe you
could use a generic SGML parser. I know one named "arcsgml" that is
freeware. But you would have to write a proper SGML DTD to make it
work (document type definition).


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.