Patent ID: 8239842
Filing Date: 2012-08-07
Classification: G06F

Abstract:
1. A method for implying line continuation within a sequence of syntax tokens of a grammar which includes multiple semantic contexts and which uses line termination as presumptive statement termination, the method comprising the steps of: identifying a set of legal syntax tokens as context-dependent implicit line continuation tokens having associated semantic contexts; parsing at least a portion of the sequence of tokens; while parsing the sequence, encountering a line-terminator-token adjacent a particular context-dependent implicit line continuation token in a particular semantic context; and then implying line continuation in response to the encountering step in view of the particular context-dependent implicit line continuation token and the particular semantic context; and wherein the method further comprises: identifying legal syntax tokens as implicit line continuation post-position tokens; encountering another line-terminator-token, which immediately precedes an implicit line continuation post-position token; and then implying line continuation by continuing parsing of the sequence as though the line-terminator-token was omitted from the sequence.