Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
clg0803
Compiler
Commits
f4f82e55
Commit
f4f82e55
authored
2 years ago
by
aaicy64
Browse files
Options
Download
Patches
Plain Diff
constExp会被编译期求值,
修正了antlr parser的bug(浮点数的词法)
parent
6dd605a5
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
.gitignore
+1
-0
.gitignore
grammer/SysY.g4
+2
-2
grammer/SysY.g4
src/parser/MySysYVisitor.java
+21
-0
src/parser/MySysYVisitor.java
src/parser/SysYLexer.java
+207
-204
src/parser/SysYLexer.java
src/treeir/Node.java
+10
-0
src/treeir/Node.java
src/treeir/NumberFloat.java
+4
-0
src/treeir/NumberFloat.java
src/treeir/NumberInt.java
+4
-0
src/treeir/NumberInt.java
testRes/test1.sy
+2
-1
testRes/test1.sy
with
251 additions
and
207 deletions
+251
-207
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment