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

John R. Strohm strohm at airmail.net
Mon Jul 18 14:31:09 CEST 2016


Calculation of First and Follow is covered in the Green Dragon Book.  I'd 
expect it to be covered in the later books as well.

And, as always, Google is your FRIEND.  "first follow sets"

-----Original Message----- 
From: Srinivas Nayak
Sent: Sunday, July 17, 2016 8:52 PM
To: ETH Oberon and related systems
Subject: [Oberon] How2 calculate First and Follow and check if LL(1)

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 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Oberon mailing list