• Title of article

    XGLR—an algorithm for ambiguity in programming languages

  • Author/Authors

    Andrew Begel، نويسنده , , Susan L. Graham، نويسنده ,

  • Issue Information
    دوهفته نامه با شماره پیاپی سال 2006
  • Pages
    17
  • From page
    211
  • To page
    227
  • Abstract
    Automatically generated lexers and parsers for programming languages have a long history. Although they are well suited for many languages, many widely used generators, among them Flex and Bison, fail to handle input stream ambiguities that arise in embedded languages, in legacy languages, and in programming by voice. We have developed Blender, a combined lexer and parser generator that enables designers to describe many classes of embedded languages and to handle ambiguities in spoken input and in legacy languages. We have enhanced the incremental lexing and parsing algorithms in our Harmonia framework to analyse lexical, syntactic and semantic ambiguities. The combination of better language description and enhanced analysis provides a powerful platform on which to build the next generation of language analysis tools.
  • Keywords
    Programming-by-voice , GLR , XGLR , Embedded languages , Harmonia
  • Journal title
    Science of Computer Programming
  • Serial Year
    2006
  • Journal title
    Science of Computer Programming
  • Record number

    1079871