|
From: | Chris Cranford |
Subject: | BISON To Represent BASIC Grammer |
Date: | Tue, 13 Apr 2004 18:34:39 -0400 |
I am trying to write a BASIC-language script bytecode compiler. Someone recommended that I use BISON in order to properly parse my .BAS and to generate my bytecode file. Has anyone attempted this in the past or can offer some assistance? Here is an example .BAS file: //// // Sample program // Dim X as Integer = 2 Dim Y as String = "Hello World" Print X Print Y Print "This is a string printed on print statement followed by the #"; X End // End of file //// Appreciate anyone's help in advance! Chris
[Prev in Thread] | Current Thread | [Next in Thread] |