index
:
compiler2015
master
Unnamed repository; edit this file 'description' to name the repository.
LAN-TW
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
Commit message (
Expand
)
Author
Age
Files
Lines
*
Check and write computed types for expressions and arrays
Ting-Wei Lan
2015-12-09
2
-7
/
+181
*
process_{relop_expr, var_ref} -> check_{relop_expr, var_ref}
kugwa
2015-12-09
2
-6
/
+44
*
Handle array dimension error of function parameters
kugwa
2015-12-09
2
-9
/
+17
*
Change ID to var_ref for rule assign_expr
kugwa
2015-12-09
1
-4
/
+2
*
process_{typedef,variable,function} -> decl_{typedef,variable,function}
Ting-Wei Lan
2015-12-09
1
-9
/
+9
*
retrive -> retrieve
Ting-Wei Lan
2015-12-09
3
-7
/
+7
*
Fix crash when constant expressions include string literals
Ting-Wei Lan
2015-12-09
1
-1
/
+8
*
Show (void) for functions without arguments
Ting-Wei Lan
2015-12-09
1
-0
/
+2
*
Can declare local variable and write empty statements
kugwa
2015-12-08
1
-3
/
+24
*
Move code for block node into process_block()
kugwa
2015-12-08
1
-34
/
+62
*
Can declare functions with empty blocks
kugwa
2015-12-08
1
-18
/
+73
*
Allow using 'type name(void)' to define functions with no argument
Ting-Wei Lan
2015-12-07
1
-0
/
+24
*
Implement checks for global variable initalizers
Ting-Wei Lan
2015-12-07
1
-46
/
+185
*
Reject void variables and void arrays.
Ting-Wei Lan
2015-12-07
1
-0
/
+11
*
Write results to AST nodes when evaluating constant expressions
Ting-Wei Lan
2015-12-07
2
-88
/
+93
*
Allow using typedef with array types
Ting-Wei Lan
2015-12-07
1
-4
/
+15
*
Fix unhandled enumeration value error
Ting-Wei Lan
2015-12-07
1
-0
/
+1
*
Use stdin if the source file name is a single dash
Ting-Wei Lan
2015-12-07
1
-1
/
+2
*
Allow dumping symbol table via an environment variable
Ting-Wei Lan
2015-12-07
1
-1
/
+14
*
Fix problems caused by short-circuit evaluation
Ting-Wei Lan
2015-12-07
1
-4
/
+4
*
Handle constant expressions with integer division by zero
Ting-Wei Lan
2015-12-07
2
-5
/
+11
*
Re-add line number fields in AST nodes
Ting-Wei Lan
2015-12-07
4
-152
/
+225
*
Implement semantic checks for type and variable declarations
Ting-Wei Lan
2015-12-06
5
-2
/
+434
*
Add a flag to mark whether the type is a function
Ting-Wei Lan
2015-12-06
1
-3
/
+16
*
Simple coding style fix
Ting-Wei Lan
2015-12-06
1
-1
/
+1
*
Fix typo in ast.h
Ting-Wei Lan
2015-12-06
1
-2
/
+2
*
We are going to do semantic analysis
Ting-Wei Lan
2015-12-06
5
-0
/
+42
*
Fix indent and broken include guard in state.[ch]
Ting-Wei Lan
2015-12-06
2
-11
/
+13
*
Disable AST dumping by default
Ting-Wei Lan
2015-12-06
1
-1
/
+3
*
Use multiple small hash tables to implement symbol tables
Ting-Wei Lan
2015-12-06
3
-80
/
+116
*
Drop all non-namespaced symbols
Ting-Wei Lan
2015-12-03
9
-504
/
+523
*
Drop line_number and prog global variables
Ting-Wei Lan
2015-12-02
6
-34
/
+78
*
Make the scanner and the parser reentrant and reduce non-namespaced symbols
Ting-Wei Lan
2015-12-01
3
-19
/
+52
*
Sort the list of tokens and non-terminals
Ting-Wei Lan
2015-11-30
1
-15
/
+18
*
Use strerror_r to make error messages more useful
Ting-Wei Lan
2015-11-30
3
-19
/
+89
*
The style of grammer rules is more consistent now
Ting-Wei Lan
2015-11-30
1
-129
/
+130
*
Drop tab usage in source files
Ting-Wei Lan
2015-11-30
2
-63
/
+63
*
Drop unused code
Ting-Wei Lan
2015-11-30
1
-7
/
+1
*
All source files should include vim modelines
Ting-Wei Lan
2015-11-30
4
-0
/
+7
*
Include our headers before including system headers
Ting-Wei Lan
2015-11-30
6
-8
/
+15
*
Don't include lexer.c and move yyerror to the end of file
Ting-Wei Lan
2015-11-30
2
-11
/
+13
*
Enable POSIX extensions
Ting-Wei Lan
2015-11-13
5
-0
/
+19
*
Fix the build with --enable-compile-warnings=error
Ting-Wei Lan
2015-11-13
3
-31
/
+41
*
Implement IF and IF...ELSE statements
kugwa
2015-11-13
1
-5
/
+7
*
Complete rules and actions for remaining operators and arrays
Ting-Wei Lan
2015-11-13
1
-26
/
+84
*
Complete most of the semantic actions before relop_expr
kugwa
2015-11-13
1
-47
/
+81
*
Fix some actions to meet TA's spec
kugwa
2015-11-13
1
-10
/
+5
*
Add declaration of printGV() in main.c
kugwa
2015-11-12
1
-0
/
+2
*
It finally works for some simple programs
kugwa
2015-11-12
1
-21
/
+43
*
main() prints the parse tree
kugwa
2015-11-12
2
-0
/
+203
*
Token ID fills yylval
kugwa
2015-11-12
1
-0
/
+5
*
Constant tokens fill yylval and return CONST
kugwa
2015-11-12
1
-5
/
+24
*
Merge TA's codes to ours
kugwa
2015-11-11
7
-130
/
+917
*
Don't define [+-]? for CONST_INT and CONST_FLOAT
kugwa
2015-11-11
1
-3
/
+2
*
Make sure we don't accidently change the number of reserved words
Ting-Wei Lan
2015-11-11
1
-0
/
+5
*
All actions in lexer.l return the currect token
kugwa
2015-11-11
1
-27
/
+47
*
Change the action of the comment token
kugwa
2015-11-09
1
-1
/
+6
*
Move all source files to the new src directory
Ting-Wei Lan
2015-11-09
4
-0
/
+311