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
educg-net-12619-928705
compile-188
Commits
0c6dc56c
Commit
0c6dc56c
authored
3 years ago
by
Juni May
Browse files
Options
Download
Patches
Plain Diff
feat(parser): float for non-array variable
parent
69ab771c
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
.gitignore
+1
-0
.gitignore
Makefile
+19
-26
Makefile
example.sy
+24
-0
example.sy
include/Ast.h
+1
-6
include/Ast.h
include/parser.h
+127
-0
include/parser.h
src/Ast.cpp
+10
-7
src/Ast.cpp
src/SymbolTable.cpp
+1
-2
src/SymbolTable.cpp
src/Type.cpp
+8
-10
src/Type.cpp
src/Unit.cpp
+1
-1
src/Unit.cpp
src/parser.cpp
+2964
-0
src/parser.cpp
src/parser.y
+25
-13
src/parser.y
test/float/000_decl.sy
+0
-10
test/float/000_decl.sy
test/float/197_many_param_call.out
+0
-2
test/float/197_many_param_call.out
test/float/197_many_param_call.sy
+0
-112
test/float/197_many_param_call.sy
test/float/202_register_realloc.out
+0
-1
test/float/202_register_realloc.out
test/float/202_register_realloc.sy
+0
-52
test/float/202_register_realloc.sy
with
3181 additions
and
242 deletions
+3181
-242
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