Abstract

An essential prerequisite for modular grammar design is a clear, mathematically well-founded definition for the semantics of grammar formalisms, facilitating reasoning about grammars and their computational properties. This paper shows that existing definitions for the semantics of unification grammars, both operational and denotational, are not compositional with respect to a simple and natural grammar combination operator. Adapting results from the semantics of logic programming languages, we suggest a denotational semantics that we show to be both compositional and fully-abstract. This semantics induces an equivalence relation by which two grammars are equivalent if and only if they can be interchanged in any context. This provides a clear, mathematically sound way for defining grammar modularity.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.