Search the web
Sign In
New User? Sign Up
compilers101 · Compilers 101
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 164 - 193 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
164
Hello, I've been working on a standalone C parser (with yacc) which builds a tree as well as type information for each data type. It's going well and it ...
Bart
bart_trzynad...
Offline Send Email
Feb 12, 2003
4:24 am
165
... Is typedef a storage class??? Those storage classes are all mutually exclusive except for typedef which I thought of as a declarator. ... You mean "int...
Graham Toal
graham_toal
Offline Send Email
Feb 12, 2003
4:36 am
166
... It is a storage class. You can't do "typedef static int STATIC_INT;", for example. ... No, that can't be... External declarations mean the variable is ...
bart_trzynadlowski <t...
bart_trzynad...
Offline Send Email
Feb 12, 2003
5:29 am
167
... Well, syntactically it may look and feel like a storage class, but it isn't one because it doesn't allocate storage. ... Graham was not using "external" as...
Rainer Thonnes
rainer@...
Send Email
Feb 12, 2003
12:33 pm
168
... Yeah, but I still need to keep track of it as a storage class so that no other storage class may be assigned to it and so that the lexer can identify it as...
Bart
bart_trzynad...
Offline Send Email
Feb 12, 2003
11:17 pm
169
... Agreed. If they are syntactically equivalent, and share the same mutual incompatibilties, there's no reason not to get the parser to reject the error. ......
Rainer Thonnes
rainer@...
Send Email
Feb 12, 2003
11:59 pm
170
... I'm not sure what you mean by this. My parser does 3 things: Builds an AST, constructs data type (TYPE) structures, and performs some semantic checking...
Bart
bart_trzynad...
Offline Send Email
Feb 13, 2003
1:28 am
171
... It is needed (sort of) in GCC for one of the non-standard extensions: http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html So, how's the code coming...
Graham Toal
graham_toal
Offline Send Email
Feb 13, 2003
2:20 am
172
... I guess they found a good way to make a useless keyword useful again ;) ... Nothing worth showing yet. It's very messy, but I think it's coming along ...
Bart
bart_trzynad...
Offline Send Email
Feb 13, 2003
3:06 am
173
... What I meant was whether the parser is aware of program context. In particular, does it know whether a declaration is inside or outside a procedure? If...
Rainer Thonnes
rainer@...
Send Email
Feb 13, 2003
10:27 am
174
... Yes, it is aware of these sorts of things. ... This is what I'm currently doing. When I parse specifiers, I fill out a structure (struct specifiers) which...
bart_trzynadlowski <t...
bart_trzynad...
Offline Send Email
Feb 13, 2003
6:18 pm
175
Hello, I was doing some more reading today and it turns out that GCC does in fact use DAGs. ...
Bart
bart_trzynad...
Offline Send Email
Feb 15, 2003
12:28 am
176
... tree of ... have a ... It *must* be a tree structure in principle - for example (1+2)*(3+4) *cannot* be represented linearly. (Use of temporaries is...
Graham Toal <gtoal@...>
graham_toal
Offline Send Email
Feb 15, 2003
3:38 am
177
... You're talking about _intermediate_ code? I thought the optimization process was this: source -> tree or DAG -> some tree optimizations -> generated i-code...
Bart
bart_trzynad...
Offline Send Email
Feb 15, 2003
3:52 am
178
... code -> ... transformation of ... linear ... Peter Robertson, I know you're lurking on this list, it's time to stand up and be counted :-) This is...
Graham Toal <gtoal@...>
graham_toal
Offline Send Email
Feb 15, 2003
5:08 am
179
Hello, Just a few minutes ago I realized how easy CSE with DAGs is and had to ask myself what I was thinking when I posted my CSE demos a while back to this ...
Bart
bart_trzynad...
Offline Send Email
Feb 15, 2003
9:41 am
180
... I found a very powerful graph drawing system for just this sort of thing and more: http://rw4.cs.uni-sb.de/~sander/html/gsvcg1.html G...
Graham Toal <gtoal@...>
graham_toal
Offline Send Email
Feb 22, 2003
2:26 pm
181
Hello, I've found some information on the Open64/ORC compiler's intermediate representation, WHIRL (which may also be used by SGI's MIPSPro compiler) here: ...
Bart
bart_trzynad...
Offline Send Email
Feb 28, 2003
12:06 am
182
Hi ! ... I think "forest" should be taken literally: What is a forest ? It consists of multiple trees ! Sometimes the trees have distinct roots but may merge...
Kai Schuetz
schuetz.kai@...
Send Email
Mar 5, 2003
1:17 pm
183
... After I wrote the email, I did some more reading and found out more about how LCC trees and dags work. LCC's frontend builds a list of trees. A tree only...
Bart
bart_trzynad...
Offline Send Email
Mar 5, 2003
4:18 pm
184
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the compilers101 group. File :...
compilers101@yahoogro...
Send Email
Mar 7, 2003
9:32 pm
185
Hi, I have added a couple of links that I think will be interesting to the group. One describes in quite good detail the internals and other aspects of the...
africabushpilot
Offline
Mar 7, 2003
9:36 pm
186
... I was just looking at this the other day and decided to implement Small C first. I've put my original C compiler on hold (I have most of the data ...
Bart
bart_trzynad...
Offline Send Email
Mar 8, 2003
6:29 am
187
I can't believe I've got this running again, but it does appear to work! Below is the output from my Skimp compiler for the 6809 which I wrote as a 3rd-yr...
Graham Toal
graham_toal
Offline Send Email
Mar 8, 2003
10:23 pm
188
... Where in your compiler is the code for this? I'd like to take a look. ... Well, not quite ;) I have been playing with a small toy parser which accepts C...
Bart
bart_trzynad...
Offline Send Email
Mar 8, 2003
10:58 pm
189
... Sorry, it's lamentably commented; we had a manual which explained it all. I have scans of the manual and I may have recently found the source of the...
Graham Toal
graham_toal
Offline Send Email
Mar 8, 2003
11:40 pm
190
... look. I have something like a dozen compiler books at home right now and not one of them explains this worth a damn. The best explanation I've found...
Graham Toal
graham_toal
Offline Send Email
Mar 10, 2003
5:32 am
191
... Thanks for putting these up! I've got them saved on my system now. ... Bart...
Bart
bart_trzynad...
Offline Send Email
Mar 10, 2003
10:50 pm
192
I decided to see if I could write the code to convert complex if()s into simple tests and jumps, just to keep my hand in. It's as tricky as I remembered to...
Graham Toal
graham_toal
Offline Send Email
Mar 11, 2003
6:13 am
193
... I persevered. I think it works now. 40: LINE 10: if (((x != i) || (y != j)) && (i == j)) i = j 41: [@AST 5] NE [@AST 13] 42: [@AST 8] NE [@AST 12] 43: OR...
Graham Toal
graham_toal
Offline Send Email
Mar 11, 2003
7:19 am
Messages 164 - 193 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help