IMMUTABLE PARSING
First Claim
Patent Images
1. A parsing method, comprising:
- employing at least one processor configured to execute computer-executable instructions stored in memory to perform the following act;
parsing an input stream with at least one of an immutable stack or immutable lookahead buffer.
2 Assignments
0 Petitions
Accused Products
Abstract
Immutable structures are employed to effect immutable parsing. In particular, a 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, wherein at least one of the stack and buffer is immutable. 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.
-
Citations
20 Claims
-
1. A parsing method, comprising:
-
employing at least one processor configured to execute computer-executable instructions stored in memory to perform the following act; parsing an input stream with at least one of an immutable stack or immutable lookahead buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A 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 a sequence of tokens produced from an input sequence to determine a grammatical structure, at least one of the first and second components employ a parser configuration including a stack and buffer, at least one of the stack or the buffer is immutable. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable storage medium having stored thereon instructions that when executed perform a method, the method comprising:
parsing an input stream with at least one of an immutable stack or immutable lookahead buffer. - View Dependent Claims (19, 20)
Specification