Hal Fulton wrote:
> Ara.T.Howard / noaa.gov wrote:
> 
>> On Fri, 27 Aug 2004, Hal Fulton wrote:
>>
>>> I was playing with ripper and I found it documented that it
>>> requires bison (because of %pure_parser and thread safety issues
>>> which I don't really understand).
>>>
>>> I'm wondering: What's involved in getting bison to generate a
>>> language other than C? Is it just a matter of providing a
>>> "skeleton" file, or is there much more to it?
>>>
>>> Thanks for any clues...
>>>
>>> Hal
>>
>>
>>
>> you need a bnf for the language and a scanner to give tokens from that 
>> bnf
>> (yacc).
> 
> 
> No... I'm talking about the generated language, not the
> parsed one.
> 
> ripper takes a Ruby grammar and generates a C parser. I want to
> take a Ruby grammar and generate a C# parser.
> 

Oops. :) Guess I misunderstood your original question, too. I've never 
seen bison used for anything besides generating a C parser... Are there 
yacc-compatible parser generators for C#?

- Jamis

-- 
Jamis Buck
jgb3 / email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."