Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 62223002: Experimental lexer generator: transfer actions across epsilon transitions correctly when constructi… (Closed)

Created:
7 years, 1 month ago by marja
Modified:
7 years, 1 month ago
Reviewers:
dcarney
CC:
v8-dev
Visibility:
Public.

Description

Experimental lexer generator: transfer actions across epsilon transitions correctly when constructing the nfa. This produces a reasonable nfa (with actions) with the following grammar: <default> "break" { BREAK } <<break>> /[a-z]+/ { ID } <<break>> BUG= R=dcarney@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17542

Patch Set 1 #

Patch Set 2 : rebased #

Patch Set 3 : . #

Total comments: 5

Patch Set 4 : code review (dcarney) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M tools/lexer_generator/generator.py View 1 1 chunk +2 lines, -3 lines 0 comments Download
M tools/lexer_generator/nfa.py View 1 2 3 1 chunk +14 lines, -4 lines 0 comments Download
M tools/lexer_generator/rule_parser.py View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
marja
ptal
7 years, 1 month ago (2013-11-06 16:39:41 UTC) #1
dcarney
https://chromiumcodereview.appspot.com/62223002/diff/60001/tools/lexer_generator/nfa.py File tools/lexer_generator/nfa.py (right): https://chromiumcodereview.appspot.com/62223002/diff/60001/tools/lexer_generator/nfa.py#newcode340 tools/lexer_generator/nfa.py:340: actions.append((action[2], action[0], action[1])) action should just always be (precedence, ...
7 years, 1 month ago (2013-11-07 08:08:54 UTC) #2
dcarney
lgtm
7 years, 1 month ago (2013-11-07 08:09:23 UTC) #3
marja
https://codereview.chromium.org/62223002/diff/60001/tools/lexer_generator/nfa.py File tools/lexer_generator/nfa.py (right): https://codereview.chromium.org/62223002/diff/60001/tools/lexer_generator/nfa.py#newcode340 tools/lexer_generator/nfa.py:340: actions.append((action[2], action[0], action[1])) On 2013/11/07 08:08:54, dcarney wrote: > ...
7 years, 1 month ago (2013-11-07 08:25:40 UTC) #4
marja
7 years, 1 month ago (2013-11-07 08:26:06 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r17542 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698