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
Commit message (
Expand
)
Author
Age
Files
Lines
*
Draw computed types stored in AST
Ting-Wei Lan
2015-12-09
1
-0
/
+36
*
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
6
-0
/
+44
*
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
*
Refuse to compile if C11 isn't supported
Ting-Wei Lan
2015-12-03
2
-3
/
+178
*
Drop all non-namespaced symbols
Ting-Wei Lan
2015-12-03
10
-505
/
+525
*
Drop line_number and prog global variables
Ting-Wei Lan
2015-12-02
7
-34
/
+80
*
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
5
-19
/
+91
*
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
7
-9
/
+16
*
Don't include lexer.c and move yyerror to the end of file
Ting-Wei Lan
2015-11-30
3
-15
/
+17
*
Add the header generated by yacc to BUILT_SOURCES
HW3
Ting-Wei Lan
2015-11-13
1
-1
/
+1
*
Enable POSIX extensions
Ting-Wei Lan
2015-11-13
6
-0
/
+23
*
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
3
-0
/
+204
*
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
9
-144
/
+937
*
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
6
-12
/
+14
*
CONST_FLOAT now matchs some fucking cases like '1.' or '.1'
HW2
kugwa
2015-10-23
1
-1
/
+1
*
CONST_FLOAT can now match 1e9
kugwa
2015-10-23
1
-1
/
+1
*
Exit after an unknown token is found
Ting-Wei Lan
2015-10-23
1
-0
/
+2
*
line_number starts from 1 instead of 0
kugwa
2015-10-23
1
-1
/
+1
*
More complex format of int and float can be match
kugwa
2015-10-23
1
-3
/
+3
*
Don't include file generated by flex in submitted homework
Ting-Wei Lan
2015-10-21
1
-0
/
+3
*
Follow the format required by TA
Ting-Wei Lan
2015-10-21
2
-10
/
+14
*
Use AX_COMPILER_FLAGS
Ting-Wei Lan
2015-10-21
13
-3
/
+899
*
Don't export non-namespaced symbols
Ting-Wei Lan
2015-10-21
4
-34
/
+34
*
symbol-table.h needs a header guard
Ting-Wei Lan
2015-10-21
1
-0
/
+4
*
Don't export linenumber global variable
Ting-Wei Lan
2015-10-21
3
-8
/
+7
*
Print sorted list of identifiers in main
Ting-Wei Lan
2015-10-21
1
-3
/
+20
*
Move main function to a separate file
Ting-Wei Lan
2015-10-21
3
-12
/
+21
*
Break a long line
Ting-Wei Lan
2015-10-21
1
-1
/
+2
*
Show undefined characters in error messages
Ting-Wei Lan
2015-10-21
1
-1
/
+4
*
Change the usage of fillTab()
kugwa
2015-10-21
2
-3
/
+16
*
Add fillTab() for hw2
kugwa
2015-10-21
2
-0
/
+15
*
Replace tabs with spaces in symbol-table.c
kugwa
2015-10-21
1
-8
/
+8
*
Add modelines for vim
Ting-Wei Lan
2015-10-21
3
-0
/
+5
*
Replace all tabs with spaces in symbol-table.h
Ting-Wei Lan
2015-10-21
1
-5
/
+5
*
Show line numbers in error messages
Ting-Wei Lan
2015-10-21
1
-1
/
+1
*
Ignore ylwrap generated by automake
Ting-Wei Lan
2015-10-21
1
-0
/
+1
*
Fix coding style and remove all tabs
Ting-Wei Lan
2015-10-21
2
-74
/
+69
*
Deal with identifiers and reserved words differently
kugwa
2015-10-21
1
-15
/
+19
*
Complete lexer.l
kugwa
2015-10-19
3
-74
/
+135
*
Add a simple autotools build system
Ting-Wei Lan
2015-10-19
3
-0
/
+57
*
Rename header.h to symbol-table.h
Ting-Wei Lan
2015-10-19
4
-3
/
+3
*
Rewrite Makefile to use default rules specified by POSIX
Ting-Wei Lan
2015-10-19
2
-21
/
+10
*
Add a .gitignore file for autotools
Ting-Wei Lan
2015-10-19
1
-0
/
+64
*
Import files provided by TA
TA
Ting-Wei Lan
2015-10-19
4
-0
/
+211