Incremental scannerless generalized LR parsing



Publication Information

Basic Information

Access and Citation

AI Researcher Chatbot

Get quick answers to your questions about the article from our AI researcher chatbot

Primary Location

Authors

Topics

Keywords

Related Works

Title: $Incremental scannerless generalized LR parsing
Abstract: We present the Incremental Scannerless Generalized LR (ISGLR) parsing algorithm, which combines the benefits of Incremental Generalized LR (IGLR) parsing and Scannerless Generalized LR (SGLR) parsing. The parser preprocesses the input by modifying the previously saved parse forest. This allows the input to the parser to be a stream of parse nodes, instead of a stream of characters. Scannerless parsing relies heavily on non-determinism during parsing, negatively impacting the incrementality of ISGLR parsing. We evaluated the ISGLR parsing algorithm using file histories from Git, achieving a speedup of up to 25 times over non-incremental SGLR.