Abstract

PAG ( Prototyping with Attribute Grammars ) is an environment that promotes active learning in courses on language processing (e.g. compiler construction and computational linguistics). In PAG, learners can specify the syntax and the semantics of their languages with attribute grammars. Then, the environment generates prototypes of processors for the languages specified which learners can test with different inputs. For each valid input the prototypes produce one or more decorated syntax trees, which learners can navigate using the semantic equations in the original grammar. In this paper we describe the environment and we report its educational uses.

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.