Immutable parsing
Abstract
Immutable structures are employed to effect immutable parsing. In particular, an immutable parsing configuration, comprising a stack and lookahead buffer, is utilized by a parser to perform lexical and syntactical analysis of an input stream and optionally output an immutable parse tree or the like. Performance with respect to the immutable structures can be optimized utilizing sharing and lazy computation. In turn, immutability benefits are afforded with respect to parsing including safe sharing amongst services and/or across multiple threads as well as history preservation, among other things.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 8.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
An immutable parser system, comprising: a processor coupled to a memory, the processor configured to execute the following computer-executable components stored in the memory: a first component configured to perform lexical analysis of an input sequence to produce a sequence of tokens; and a second component configured to perform syntactic analysis on the tokens to determine a grammatical structure, at least one of the first and second components employ an immutable parser configuration including an immutable stack and an immutable input buffer.
- Claim 2Depends on #1
The system of claim 1 , the second component is configured to produce an immutable parse tree.
- Claim 3Depends on #2
The system of claim 2 , the second component is configured to generate multiple versions of the parse tree that share common pre-existing portions.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- "A Framework for Expressing Prioritized Constraints Using Infinitesimal Logic", Agarwal et al., B.Sc., University of Victoria, 2003.
- Chen, et al. A Parallel Augmented Context-Free Parsing System for Natural Language Analysis http://nlg3.csie.ntu.edu.tw/conference-papers/rocling1992.pdf. Last accessed Apr. 30, 2008, 1 page.
- Chen, et al. A Parallel Augmented Context-Free Parsing System for Natural Language Analysis http://nlg3.csie.ntu.edu.tw/conference—papers/rocling1992.pdf. Last accessed Apr. 30, 2008, 1 page.
- Jain, et al. Parsec A Structured Connectionist Parsing System for Spoken Language. 0-7803-0532-9/92 IEEE http://ieeexplore.ieee.org/iel2/626/5894/00225936.pdf?tp=&isnumber=&arnumber=225936. Last accessed Apr. 30, 2008, 4 pages.
- Matsumoto, et al. A Parsing System Based on Logic Programming http://dli.iiit.ac.in/ijcai/IJCAI-87-VOL2/PDF/014.pdf. Last accessed Apr. 30, 2008, 4 pages.