G - Physics – 06 – F
Patent
G - Physics
06
F
G06F 9/45 (2006.01)
Patent
CA 2144351
A method and apparatus for processing source code in a language processing system with improved parsing based on prefix analysis. A method in accordance with the present invention includes the steps of identifying a previously-parsed prefix of a source code translation unit; creating a parser in a parser state corresponding to the identified prefix; and parsing a remaining portion of the translation unit after the prefix using the parser in the parser state corresponding to the prefix. In one embodiment of the invention, the step of creating a parser includes retrieving stored level-one subtrees corresponding to the top-level statements in the prefix. The level-one subtrees corresponding to the prefix may be stored in the form of a prefix tree along with the text of the top-level source code statements represented by the prefix and a parser delta indicating the effect of the code statements on the parser state.
Carroll Martin D.
Juhl Peter
Koenig Andrew Richard
American Telephone And Telegraph Company
Kirby Eades Gale Baker
LandOfFree
Method and apparatus for parsing source code using prefix... does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method and apparatus for parsing source code using prefix..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for parsing source code using prefix... will most certainly appreciate the feedback.
Profile ID: LFCA-PAI-O-1771941