cparser
16 years ago- reworked handling environments and struct, union, enum namespace
Matthias Braun [Sun, 30 Sep 2007 11:02:58 +0000 (11:02 +0000)]
- reworked handling environments and struct, union, enum namespace
- represent typedef and typeof explicitely in type graph
- lots of bugfixes

[r18369]

16 years agoFix typo in comment.
Christoph Mallon [Fri, 28 Sep 2007 21:58:33 +0000 (21:58 +0000)]
Fix typo in comment.

[r18368]

16 years agoimprove initializer handling
Matthias Braun [Fri, 28 Sep 2007 21:33:25 +0000 (21:33 +0000)]
improve initializer handling

[r18367]

16 years agobugfixes, parse initializers
Matthias Braun [Fri, 28 Sep 2007 21:06:38 +0000 (21:06 +0000)]
bugfixes, parse initializers

[r18366]

16 years agowe can now parse the infamous apfel.c, print ast as C and have it compiled and workin...
Matthias Braun [Fri, 28 Sep 2007 19:39:59 +0000 (19:39 +0000)]
we can now parse the infamous apfel.c, print ast as C and have it compiled and working again

[r18365]

16 years agolex floating suffix, parser can now parse it's own source completely
Matthias Braun [Fri, 28 Sep 2007 19:02:24 +0000 (19:02 +0000)]
lex floating suffix, parser can now parse it's own source completely

[r18364]

16 years agofix put_back in lexer
Matthias Braun [Fri, 28 Sep 2007 18:37:42 +0000 (18:37 +0000)]
fix put_back in lexer

[r18363]

16 years agoTest multiline commits
Matthias Braun [Fri, 28 Sep 2007 13:04:35 +0000 (13:04 +0000)]
Test multiline commits
Line2

[r18362]

16 years agoMore work on cparser:
Matthias Braun [Fri, 28 Sep 2007 13:02:52 +0000 (13:02 +0000)]
More work on cparser:
- cleanup some lexer code
- allow some usual non-c99 constructs (implicit function, implicit int type)
- parse float constants

[r18361]

16 years agoWrite the ANSI word "restrict" instead if "__restrict" in print_type_qualifiers().
Christoph Mallon [Fri, 28 Sep 2007 07:03:08 +0000 (07:03 +0000)]
Write the ANSI word "restrict" instead if "__restrict" in print_type_qualifiers().

[r18360]

16 years agoOlder GCCs do not know -Wextra. Only use -W.
Christoph Mallon [Fri, 28 Sep 2007 06:59:48 +0000 (06:59 +0000)]
Older GCCs do not know -Wextra. Only use -W.

[r18359]

16 years agoFactorise and indent code for printing atomic types.
Christoph Mallon [Fri, 28 Sep 2007 06:58:32 +0000 (06:58 +0000)]
Factorise and indent code for printing atomic types.

[r18358]

16 years ago- implemented decimal floating pointer numbers in lexer
Matthias Braun [Thu, 27 Sep 2007 21:36:39 +0000 (21:36 +0000)]
- implemented decimal floating pointer numbers in lexer
- reworked declaration parser
- started working on array types

[r18357]

16 years agofilter trigraphs in advance and simplify lexer code because of that
Matthias Braun [Sun, 23 Sep 2007 17:11:46 +0000 (17:11 +0000)]
filter trigraphs in advance and simplify lexer code because of that

[r18356]

16 years agosupport for more builtins, additional bugfixes
Matthias Braun [Mon, 17 Sep 2007 09:02:05 +0000 (09:02 +0000)]
support for more builtins, additional bugfixes

[r18355]

16 years agofix parameter names being taken from first declaration not currently parse declaration
Matthias Braun [Sun, 16 Sep 2007 14:05:40 +0000 (14:05 +0000)]
fix parameter names being taken from first declaration not currently parse declaration

[r18354]

16 years ago- countless bugfixes
Matthias Braun [Sun, 16 Sep 2007 13:36:11 +0000 (13:36 +0000)]
- countless bugfixes
- implement octal and hexadecimal escape sequences
- implemented more gcc extensions

[r18353]

16 years agoimprovements in statement parsing, improvements in ast printing
Matthias Braun [Fri, 14 Sep 2007 21:44:52 +0000 (21:44 +0000)]
improvements in statement parsing, improvements in ast printing

[r18352]

16 years agofix bug in method type hashing
Matthias Braun [Fri, 14 Sep 2007 20:21:53 +0000 (20:21 +0000)]
fix bug in method type hashing

[r18351]

16 years agocorrected type identities and handling of declaration/definitions
Matthias Braun [Fri, 14 Sep 2007 20:11:50 +0000 (20:11 +0000)]
corrected type identities and handling of declaration/definitions

[r18350]

16 years agoimproved union/struct parsing
Matthias Braun [Fri, 14 Sep 2007 19:36:14 +0000 (19:36 +0000)]
improved union/struct parsing

[r18349]

16 years agoimprovements for handling of function parameters
Matthias Braun [Fri, 14 Sep 2007 11:56:54 +0000 (11:56 +0000)]
improvements for handling of function parameters

[r18348]

16 years agoimproved support for enums
Matthias Braun [Mon, 10 Sep 2007 20:45:04 +0000 (20:45 +0000)]
improved support for enums

[r18347]

16 years agohandle multiple strings in a row
Matthias Braun [Sat, 8 Sep 2007 11:21:29 +0000 (11:21 +0000)]
handle multiple strings in a row

[r18346]

16 years agoimprove parsing of function pointers
Matthias Braun [Sat, 8 Sep 2007 11:21:28 +0000 (11:21 +0000)]
improve parsing of function pointers

[r18345]

16 years agoadd --print_ast option
Matthias Braun [Sat, 8 Sep 2007 11:21:27 +0000 (11:21 +0000)]
add --print_ast option

[r18344]

16 years agoimprove ast printing
Matthias Braun [Sat, 8 Sep 2007 11:21:27 +0000 (11:21 +0000)]
improve ast printing

[r18343]

16 years agoimprove type printing
Matthias Braun [Sat, 8 Sep 2007 11:21:26 +0000 (11:21 +0000)]
improve type printing

[r18342]

16 years agoimproved parsing of function declarators
Matthias Braun [Fri, 7 Sep 2007 10:39:03 +0000 (10:39 +0000)]
improved parsing of function declarators

[r18341]

16 years agoimproved representation of method types
Matthias Braun [Fri, 7 Sep 2007 10:39:02 +0000 (10:39 +0000)]
improved representation of method types

[r18340]

16 years agofix compound type comparison
Matthias Braun [Fri, 7 Sep 2007 10:39:02 +0000 (10:39 +0000)]
fix compound type comparison

[r18339]

16 years agosupport for writing functions and function types in fluffy export
Matthias Braun [Fri, 7 Sep 2007 10:39:01 +0000 (10:39 +0000)]
support for writing functions and function types in fluffy export

[r18338]

16 years agoadd TODO point
Matthias Braun [Thu, 6 Sep 2007 14:21:11 +0000 (14:21 +0000)]
add TODO point

[r18337]

16 years agomore bugfixes, started working on a fluffy declaration exporter
Matthias Braun [Thu, 6 Sep 2007 00:14:10 +0000 (00:14 +0000)]
more bugfixes, started working on a fluffy declaration exporter

[r18336]

16 years agobugfixes for context/symbol-declaration mapping
Matthias Braun [Sat, 21 Jul 2007 12:24:41 +0000 (12:24 +0000)]
bugfixes for context/symbol-declaration mapping

[r18335]

16 years agorefactored lexer code
Matthias Braun [Sat, 21 Jul 2007 11:29:01 +0000 (11:29 +0000)]
refactored lexer code

[r18334]

16 years agomore work on parser, stdio.h is fully parsed now
Matthias Braun [Sat, 14 Jul 2007 00:38:09 +0000 (00:38 +0000)]
more work on parser, stdio.h is fully parsed now

[r18333]

17 years agochanged the way preprocessing directives are parsed
Matthias Braun [Tue, 19 Jun 2007 22:48:08 +0000 (22:48 +0000)]
changed the way preprocessing directives are parsed

[r18332]

17 years agomake it compile
Matthias Braun [Mon, 18 Jun 2007 13:21:22 +0000 (13:21 +0000)]
make it compile

[r18331]

17 years agomore work on parser
Matthias Braun [Mon, 18 Jun 2007 13:18:47 +0000 (13:18 +0000)]
more work on parser

[r18330]

17 years agomore work on parser
Matthias Braun [Sun, 17 Jun 2007 10:06:29 +0000 (10:06 +0000)]
more work on parser

[r18329]

17 years agomore work on parser
Matthias Braun [Sat, 16 Jun 2007 18:50:15 +0000 (18:50 +0000)]
more work on parser

[r18328]

17 years agono enviornment passing around anymore in lexer, more work on lexer, import expression...
Matthias Braun [Sat, 16 Jun 2007 15:36:01 +0000 (15:36 +0000)]
no enviornment passing around anymore in lexer, more work on lexer, import expression parsing infrastructure from mlang and started adapting to C

[r18327]

17 years agoadjust trigraphs test
Matthias Braun [Sun, 10 Jun 2007 16:34:33 +0000 (16:34 +0000)]
adjust trigraphs test

[r18326]

17 years agorecognizre preprocessor hashs
Matthias Braun [Sun, 10 Jun 2007 16:33:32 +0000 (16:33 +0000)]
recognizre preprocessor hashs

[r18325]

17 years agofix multiline comment parsing, extended comment test
Matthias Braun [Sun, 10 Jun 2007 15:08:40 +0000 (15:08 +0000)]
fix multiline comment parsing, extended comment test

[r18324]

17 years agoextended linefeed test
Matthias Braun [Sun, 10 Jun 2007 14:09:35 +0000 (14:09 +0000)]
extended linefeed test

[r18323]

17 years agoproper newline handling
Matthias Braun [Sun, 10 Jun 2007 14:07:13 +0000 (14:07 +0000)]
proper newline handling

[r18322]

17 years agolinefeed tests, enhanced symbols test
Matthias Braun [Sun, 10 Jun 2007 14:06:56 +0000 (14:06 +0000)]
linefeed tests, enhanced symbols test

[r18321]

17 years agoautomated tests
Matthias Braun [Sat, 9 Jun 2007 23:32:57 +0000 (23:32 +0000)]
automated tests

[r18320]

17 years agomore fixes, lexer should now be correct
Matthias Braun [Sat, 9 Jun 2007 23:26:28 +0000 (23:26 +0000)]
more fixes, lexer should now be correct

[r18319]

17 years agoimprove lexer
Matthias Braun [Sat, 9 Jun 2007 23:08:57 +0000 (23:08 +0000)]
improve lexer

[r18318]

17 years agoInitial import of c parser
Matthias Braun [Sat, 9 Jun 2007 22:03:29 +0000 (22:03 +0000)]
Initial import of c parser

[r18314]