[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
interpreter with bison
From: |
Xaris |
Subject: |
interpreter with bison |
Date: |
Wed, 9 May 2007 06:40:41 -0700 (PDT) |
I have made the parse tree with bison of a like html language which finds if
the input file is written correctly or not.
But i want to add code in order to make an interpreter which takes as input
the like html language and as output it gives the html code.
for example i want to give as input
<START>
<USER ID=”1111” NAME=”kkkkkk” address@hidden>
<ATTRIB COLOR=”000000” FONT=”00ff00” TITLE=”gfdsa”>
<TEXT FONT=”ff0000”>Hello</TEXT>
<TEXT>World</TEXT>
<END>
and the output will be like this
<html>
<head>
<title>gfdsa</title>
</head>
<body bgcolor="#000000" text="#00ff00">
<table>
<tr>
<td style="color: #ff0000">Hello</td>
<td>World</td>
</tr>
</table>
</body>
</html>
--
View this message in context:
http://www.nabble.com/interpreter-with-bison-tf3715814.html#a10394471
Sent from the Gnu - Bison - Help mailing list archive at Nabble.com.
- interpreter with bison,
Xaris <=