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

Douglas G. Danforth danforth at greenwoodfarm.com
Mon Jul 18 04:50:12 CEST 2016


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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160717/df6d414e/attachment.html>


More information about the Oberon mailing list