[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [PATCH 0/3] rewrite parsing of literal arrays and fix c
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] [PATCH 0/3] rewrite parsing of literal arrays and fix compilation of ##(...) within arrays |
Date: |
Tue, 7 Jan 2014 12:35:54 +0100 |
Hi all,
please review!
Unfortunately, this change introduces a new kind of parse tree node,
and thus requires modifying all visitors to support the new node. This
is a small backwards incompatibility.
Gwen, please note a small change to the VisualGST syntax highlighter.
I have not tested it, but all combinations of old (before this patch)
and new code should be okay. "#(" and ")" will not be highlighted
with new parser and old syntax highlighter, but that's just a nit.
Paolo
Paolo Bonzini (3):
stinst: extract RBParser/RBScanner tests to new files
stinst: prepare for rewrite of #(...) parsing
stinst: rewrite parsing of literal arrays and fix compilation of ##(...)
within arrays
ChangeLog | 4 +
kernel/SeqCollect.st | 15 +++
packages/blox/browser/ChangeLog | 4 +
packages/blox/browser/PCode.st | 13 +++
packages/stinst/parser/ChangeLog | 22 +++++
packages/stinst/parser/RBFormatter.st | 9 ++
packages/stinst/parser/RBParseNodes.st | 158 ++++++++++++++++++++++++++++++-
packages/stinst/parser/RBParser.st | 132 ++++++++++++++++----------
packages/stinst/parser/RBParserTests.st | 103 ++++++++++++++++++++
packages/stinst/parser/RBScannerTests.st | 103 ++++++++++++++++++++
packages/stinst/parser/RBToken.st | 23 +++++
packages/stinst/parser/RewriteTests.st | 66 -------------
packages/stinst/parser/STCompiler.st | 17 +++-
packages/stinst/parser/package.xml | 2 +
packages/visualgst/SyntaxHighlighter.st | 7 ++
15 files changed, 562 insertions(+), 116 deletions(-)
create mode 100644 packages/stinst/parser/RBParserTests.st
create mode 100644 packages/stinst/parser/RBScannerTests.st
--
1.8.4.2
- [Help-smalltalk] [PATCH 0/3] rewrite parsing of literal arrays and fix compilation of ##(...) within arrays,
Paolo Bonzini <=