For Programmers: Free Programming Magazines  


Home > Archive > Compilers > September 2004 > Re: Regular grammar from CFG?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Regular grammar from CFG?
VBDis

2004-09-08, 3:58 am

"Lorin Netsch" <netsch@ti.com> schreibt:

>Can anyone tell me how to determine if a given CFG can be represented
>as a regular grammar?


You may have a look at the thesis and related work of Cristina Çifuentes. She
describes how interval analysis can be used to determine whether a CFG is
reducible, and IMO this is what you want to determine?

DoDi

Neal Wang

2004-09-13, 4:00 pm

vbdis@aol.com (VBDis) wrote
> "Lorin Netsch" <netsch@ti.com> schreibt:
>
>
> You may have a look at the thesis and related work of Cristina Çifuentes. She
> describes how interval analysis can be used to determine whether a CFG is
> reducible, and IMO this is what you want to determine?


The original paper of interval analysis is "Frances E. Allen, Control
Flow Analysis". The reducible graphs can be determined by interval
analysis are also called Cocke-Allen reducible by Kennedy in "A survey
of data flow analysis techniques".

Farrow, Kennedy, and Zucconi introduced Semic-structured Flow Graph
(SSFG) grammar, which is a regular grammar, in "Graph Grammars and
Global Program Flow Analysis".

The set of Cocke-Allen reducible graphs is a superset of
SSFG-reducible graphs.

Determing whether a graph is Cocke-Allen reducible is decidable, but
determing whether a graph is SSFG reducible is undecidable.

Neal
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com