[Oberon] How2 calculate First and Follow and check if LL(1)

Légrádi Gábor legradi.gabor at gmail.com
Wed Jul 20 11:08:31 CEST 2016


On Sun, Jul 17, 2016 at 07:50:12PM -0700, Douglas G. Danforth wrote:
Information about CoCo/R can be found at

http://www.ssw.uni-linz.ac.at/Coco/

G.
> Do you know about CoCo/R by /Hanspeter/ Mössenböck?
> CoCo/R => Compiler Compiler with recursive descent.
> It checks for LL(1) in the .atg (attributed grammar) file.
> 
> -Doug Danforth
> 
> On 7/17/2016 6:52 PM, Srinivas Nayak wrote:
> > Dear All,
> > 
> > Lets say I want to modify Oberon language.
> > I would then like to check if my modified language is LL(1).
> > Towards that end, I would also like to calculate First and
> > Follow set of symbols for each of my non-terminals.
> > 
> > I see a nice program EBNF.Mod
> > How can I modify this program to
> > 1. calculate First and Follow set of symbols for each of my
> > non-terminals.
> > 2. check if my language is LL(1)
> > 
> > 
> > 
> > With thanks and best regards,
> > 
> > Yours sincerely,
> > Srinivas Nayak
> > 
> > Home: http://www.mathmeth.com/sn/
> > Blog: http://srinivas-nayak.blogspot.in/
> > -- 
> > Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> > https://lists.inf.ethz.ch/mailman/listinfo/oberon
> > 
> 

> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon


-- 
============================================
"Share what you know. Learn what you don't."



More information about the Oberon mailing list