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 1091 - 1120 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1091
I take it being a commercial thing we don't get to see any code? I'd be interested to see the byte code interpreter, or maybe some discussion of it. Do you do...
Tim
deltacentauri
Offline Send Email
Sep 1, 2008
8:41 pm
1092
Hey Tim, good to see you pop up again. How did the finals go? Done any work on your compiler since we heard from you last? (done very little myself, but...
Graham Toal
graham_toal
Offline Send Email
Sep 2, 2008
2:40 am
1093
... Definitely commercial, but it's my code and my license, so I can do with it what I so choose to. ;-) It's not far enough along to be of any appreciable IP,...
cneilbradley
Offline Send Email
Sep 2, 2008
6:19 am
1094
Hey guys, It's certainly been a while...I've been pretty busy lately, got a promotion and working a whole lot of hours(but earning lots of cash) anyways I...
timmeh@...
deltacentauri
Offline Send Email
Sep 2, 2008
8:36 am
1095
The compiler would permit "123" + "456" to be concatenated as "123456" but when the multiplication node is examined, it would throw a type mismatch exception...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
2:22 pm
1096
... Yes I can possibly post my code in a few days; I don't have a public place where I can make it accessible at the moment, sorry. ... So if my AST classes...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
2:51 pm
1097
I see what you want to do now. First, parse the expression without type info except at the leaves. Write a tree walker to traverse this AST top-down and insert...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
2:53 pm
1098
You mentioned visiting the operator nodes in your previous message, which got me thinking about several examples I've seen online. I've seen varying solutions...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
2:58 pm
1099
Uli ... That is precisely that I am considering at the moment. The type table manager class could allow me to dynamically register the language's primitive...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
9:26 pm
1100
Python has a nice idiom for number/string multiplication which you might like (I use it all the time) - ... 'abcabc' ... 'abcabc' ... you can come up with some...
Tim
deltacentauri
Offline Send Email
Sep 2, 2008
9:46 pm
1101
I never thought about that, which could prove useful in certain scenarios. ... [mailto:compilers101@yahoogroups.com] ... "123456" ... multiplied. ... this ... ...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 2, 2008
11:50 pm
1102
... the ... Hey Chris - Just wondering - why does it need to be dynamic? Are you creating new basic/fundamental types at runtime? Anyway, as yet another...
cneilbradley
Offline Send Email
Sep 3, 2008
2:31 am
1103
... The language I'm parsing uses '&' as the string concatenation operator, so this is an issue that doesn't come up in my particular case. But it's an...
Uli Kusterer
witness_of_t...
Offline Send Email
Sep 3, 2008
6:57 am
1104
... In my language, what I did was have one generic type that just said "object". It just knows how to query attributes and change them, how to call methods...
Uli Kusterer
witness_of_t...
Offline Send Email
Sep 3, 2008
7:23 am
1105
Found another C compiler today (which only appeared in Sourceforge a few months ago): http://sourceforge.net/projects/ucc It's not well documented online,...
Graham Toal
graham_toal
Offline Send Email
Sep 4, 2008
4:55 pm
1106
I found a little cluster of expression parsers at codeproject.com - basically the same sort of code that we discussed some months ago, although written up...
Graham Toal
graham_toal
Offline Send Email
Sep 5, 2008
2:23 am
1107
Well I started working on my compiler again....going down completely the wrong track, but it was interesting nonetheless. I decided to take a different tack to...
Tim Wakeham
deltacentauri
Offline Send Email
Sep 5, 2008
10:19 am
1108
Tim, Some time ago I saw an interesting implementation of this, one which I plan to explore once I get some of the more basic compiler working to my desire. ...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Sep 5, 2008
1:50 pm
1109
I'm trying to figure out the "best" way of doing runtime arithmetic/logical operations in addition to type casting. Right now I have the following variable...
cneilbradley
Offline Send Email
Sep 6, 2008
3:58 am
1110
My first instinct would be to say "play to your strengths" - you know how to write emulators - this is just another emulator, except that the instruction set...
Graham Toal
graham_toal
Offline Send Email
Sep 6, 2008
2:09 pm
1111
... Can you afford to promote all int types to either signed or unsigned long int? Then do your operations, and write the result back to the appropriate size...
Graham Toal
graham_toal
Offline Send Email
Sep 6, 2008
7:52 pm
1112
... desired. ... at ... in terms ... possible ... subdividing them ... without ... you ... I had thought about that, too. It's not a 64 bit native machine, and...
cneilbradley
Offline Send Email
Sep 6, 2008
9:14 pm
1113
... If the actual arithmetic operation is only 2X slower, that's only a factor in code generated by a real compiler where there is no decoding overhead per...
Graham Toal
graham_toal
Offline Send Email
Sep 7, 2008
3:49 am
1114
Hi Neil, ... I think you're targetting an ARM platform. If so and your core has no FPU, then you should probably avoid defaulting to float as you show here....
Laurent Desnogues
ldesnogu
Offline Send Email
Sep 10, 2008
8:50 pm
1115
... I think the answer to his problem is to break it down in to 4 sequential steps so that the size is 12+18+12+12 rather than 12*18*12*12... Or look for a...
Graham Toal
graham_toal
Offline Send Email
Sep 10, 2008
9:38 pm
1116
... decoding ... It depends upon what the program is doing. What I'm saying is that doing everything natively in 64 bit is 2X slower just for ...
cneilbradley
Offline Send Email
Sep 13, 2008
8:34 pm
1117
... in terms ... possible ... subdividing them ... without ... It's not defaulting to float. That happens to be handlers for some of the floating point...
cneilbradley
Offline Send Email
Sep 13, 2008
8:40 pm
1118
Hey guys, I've been wondering lately how one goes about making a regex engine. I assume it's something like a compiler, certainly as far as lexing and parsing...
Tim Wakeham
deltacentauri
Offline Send Email
Nov 7, 2008
10:20 am
1119
This is a full-blown implementation that is still pretty easy to follow: http://www.cse.yorku.ca/~oz/regex.bun ... From: Tim Wakeham <timmeh@...> ...
Ed Davis
ed_davis2
Offline Send Email
Nov 7, 2008
1:25 pm
1120
... The simplest way to look at the problem is that it is just a parser - a very simple parser where the tokens of the language being parsed are just single...
Graham Toal
graham_toal
Offline Send Email
Nov 7, 2008
2:50 pm
Messages 1091 - 1120 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