Changes between Version 3 and Version 4 of LexicalAnalysis


Ignore:
Timestamp:
Oct 11, 2013, 1:12:49 PM (11 years ago)
Author:
xmedved1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LexicalAnalysis

    v3 v4  
    6464}}}
    6565
    66 The output of "RE2re2c.py" is re2c like file and all strings from text file is transformed into Unicode code point format. If lexical rule contains signs ".*" in RE than it is replaced by special macro STRING. The STRING macro is specified as follows: {{{STRING = [^\t\n\r\0]*}}} '''This is only special macro and user is not allowed to specified macro with name STRING.'''
     66The output of "RE2re2c.py" is re2c like file and all strings from text file is transformed into Unicode code point format. If lexical rule contains signs ".*" in RE than it is replaced by special macro STRING. The STRING macro is specified as follows: {{{STRING = [^\t\n\r\0]*}}}. '''This is only special macro and user is not allowed to specified macro with name STRING.'''
    6767
    6868In tag regular expression part sign ".*" s replaced with STING or if there are some strings like "k1" then sign is replaced by [^\t\n\r\0k]*. This modification makes program faster when the re2c file is transformed in final automata written in C-code.