RSS feed
7b0ece05
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/10 16:17
Add initial version of #define
f41175b8
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/10 14:16
Free trees after emit them
68ccb5a1
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/10 07:58
Add yylen variable
84ae6c8c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/10 06:39
Add #line directive
4b68176e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 16:02
Add #error to cc1
c5eea59c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 15:45
Add pragma directive to cc1
9b4c6ff2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 14:15
Fix error returning EOFTOK in next()
10a0b46b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:56
Remove inifinite loop in ahead()
4603a2a2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:56
Fix iden()
c231c04f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:55
Add limit to the number of errors
37c54333
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:53
Do not try to recover from declearations
f5199492
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:21
Add cpp.c file
1ae4a875
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/09 13:01
Rewrite lexer analizer
3f1b9619
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/08 19:08
Allow comments multi file
5c310c32
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/08 15:53
Add comments to the preprocessor
8fb3ee51
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/08 14:15
Add include handler
7a32845f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/08 08:12
Add nextchar() and backchar()
669e2ebc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 11:50
Add FILE* to input
2edbdb8b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 11:18
Add newline()
664e7829
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 11:11
Add addinput() lexer function
7c3cd98f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 10:47
Add discard() to cc1
35257df5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 08:50
Avoid ugly error messages with non printable characters in expect
373ea4b9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 06:01
Add hexadecimal and octal constants
93b37d4f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 05:57
Fix long long constant in lex.c
056904fd
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 05:17
Free auxiliar node in typeof()
3275da48
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 05:06
Rename variables in expr.c
24738fc2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:48
Remove STRING token
6ef69d3e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:36
Remove emitternary()
3d2ccb36
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 04:09
Fix problem in condition()
289a9181
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 03:56
Remove ugly macros from cc1.h
b08bb3cd
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/07 03:29
Rewrite cc1.h
32ec291e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:57
Add missing static in code.c
1fa83f13
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitswitch into private of code.c
57ca51bc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitdcl into private of code.c
7b85dc85
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitret into private of code.c
eda1a5eb
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:28
Convert emitfun into private of code.c
a12c51a5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:24
Conver emitprint into private function
ecd4d6b2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:19
Remove emiteloop, emitbloop, emitestruct, emitefun
97f296d2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 15:04
Convert emitsymid() to private of code.c
8b6e44b5
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:58
Remove non used local variable of freenode
35f16441
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:56
Add emit() function to cc1
1ca89cac
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:44
Fix typo in right field
e879cdfc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:40
Pass aditional parameter to elements of opcode[]
24572d76
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:13
Unify emitbin() and emitunary()
bce2cfac
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 14:04
Unify emitstruct, emitlabel, emitjump, emitbranch, emitcase, emitdefault
507e3c82
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 13:05
Makes all emit*() only one parameter
9d1c9139
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 12:28
Change type of opcode[] array in cc1
5d9e9d54
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/05/06 12:06
Remove yyin
a6cbaeb1
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/24 14:46
Add security points in conditions and compounds
cb444f38
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:29
Makes setsafe to put the recovery point
8be6d800
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:16
Avoid calls to next() in error recovery code
3e242e21
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 16:10
Add error recovery at external declaration level.
c65b1561
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 14:47
Recover from expect() errors
db85440b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:12
Improve the longjmp logic
867af16e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 12:11
Simplify main in cc1 (even more)
33cced33
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:14
Simplify generror script
4dd8392c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 11:12
Add longjmp point of recover
665c38d0
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:47
Rewrite main loop in cc1
5e7b55dc
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:44
Add option parser for cc1
cd19be49
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/04/21 09:17
Remove user_opt struct
42b233b6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 02:39
Add cast() wrapper in cc2
061575df
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 02:22
Add neg and cpl operations
23597ee4
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 00:20
Remove additional parameter of cgen()
8cc7f57a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/21 00:06
Add BAND, BOR and BXOR operations
8d0d2c09
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:20
Improve assign() in cc2
78ccf13a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:14
Add peephole for jump to next instruction
fb96623f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 23:02
Fix moveto() reuse case
d9bc0a02
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 16:24
Fix return generation
b50a3944
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 15:24
Fix bug in allocreg()
fa31b3c3
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 15:05
Assign type to return nodes
0f4ff07f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 14:21
Add JP assembler instruction
8f5c9ee7
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:33
Simplify generate()
b42ed545
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:29
Rewrite allocreg()
61a52a5c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:20
Allow assignment of not register things
37382404
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 13:04
Add used field in Nodes of cc2
0221fe4f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 12:54
Remove dirty field of Node in cc2
c40ce09e
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 12:52
Change allocreg to receive only a num
b1235747
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 10:49
Simplify add() function in cc2
9b361f53
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 09:01
Merge MEM and AUTO cases of assign()
96e69761
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 08:58
Fix error in imm()
b00898d9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:51
Remove unneeded variable in generate()
b180e15d
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:48
Add initial support for return statements
b584afc2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:43
Remove individual register variables
e22a6ae2
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 07:33
Remove non needed field in opnodes elements
e5501c13
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 06:31
Remove non used addr field in symbol of cc2
1b0107f0
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/20 01:20
Add optimization for SUB to
3801978b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 16:56
Add SUB instruction
f957dc88
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 16:45
Add spill()
6a7fb9b9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/19 13:46
Add peephole infrastructure
37ffac18
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 10:48
Use unsigned types where it is possible
4786cd4f
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 10:42
Fix addr2txt() bug
a90c987a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 06:31
Add prev pointer in Inst
b5fe10c6
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/18 03:02
Convert additions to increments
0e5ae348
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 17:15
Allow assignations as expression
04331f0a
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 17:11
Fix parentheses expressions
7144207c
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 15:42
Move reguse to index() and moveto()
47e8c646
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 13:43
Remove inclue guard in cc.h
aa7ece0b
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 13:18
Remove include guards in sizes.h
64ae09c9
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 11:05
Move reguse update to moveto()
54e5f131
– Roberto E. Vargas Caballero <k0ga@shike2.com>
authored
on 2015/03/17 10:42
Inver switch order in moveto()
Next