[Mono-devel-list] Jay and C# question ... to produce parse tree for CORBA IDL

Jim jimdon at sympatico.ca
Wed Nov 5 16:05:14 EST 2003


sorry found what i am looking for using grep ... didn't show up on 
windows search sorry ...

cs-parser.cs: cs-parser.jay $(topdir)/jay/skeleton.cs
	$(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< >$@

Jim


Jim wrote:

> Just looking at your files ... now if i run jay like so:
> 
>  > ./jay cs-parser.jay
> 
> I see the output:
> 
> ./jay: 2 rules never reduced
> ./jay: 32 shift/reduce conflicts, 1 reduce/reduce conflict
> 
> But no output file seems to get generated ... like in Bison ...
> 
> Am i suppose to pipe in commands used by output.c and then i get an out 
> put file ...
> 
> Still digging :-)
> 
> Jim
> 
> 
> Jackson Harper wrote:
> 
>> Hello,
>>
>>     Look at mcs/mcs/cs-parser.jay and mcs/ilasm/parser/ILParser.jay
>>
>> Good luck,
>> Jackson
>>
>>
>> On Wed, 2003-11-05 at 10:50, Jim wrote:
>>
>>> Hi there,
>>>
>>> I have Jay compiling under visual studio .NET after some simple 
>>> changes    ...
>>>
>>> From the Mico CORBA I have a Bison Grammar that I have removed all 
>>> the "actions" out of the grammar rules from ...
>>>
>>> I would like to create a C# file that parses IDL from this file ... I 
>>> am wonder if anyone can point me to where in the MONO build jay is 
>>> actually used so I can see what other type of work i need to do to 
>>> get a out put file generated ... and of course compair the out put to 
>>> some working examples of Jay in the Mono project ...
>>>
>>> I will keep digging thru the source but a quick tip or two could save 
>>> me a whole lot of time (i.e. a day) ... thanks ...
>>>
>>> Regards and good day,
>>> Jim Don
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
> 




More information about the Mono-devel-list mailing list