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 1073 - 1102 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1073
Go read this announcement... http://webkit.org/blog/189/announcing-squirrelfish/ Not for how they're doing it now, but for how it was done before. Unbelievably...
Graham Toal
graham_toal
Offline Send Email
Jun 3, 2008
9:17 pm
1074
... The TADS text adventure development does this. It has certain initialization methods that it will run during compilation, like constructors of static...
Uli Kusterer
witness_of_t...
Offline Send Email
Jul 5, 2008
11:01 am
1075
Hi gang! Life is finally settling back down for me so I can start playing with my mini compiler. I'm trying to pickup the pieces from where I left off and our...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Jul 23, 2008
8:19 pm
1076
... The generalisation is a 'procedure call' node, with "print" being the name of the procedure, which is one of the parameters. You may or may not want to...
Graham Toal
graham_toal
Offline Send Email
Jul 23, 2008
8:38 pm
1077
The way I worked this was to have the print statement create a procedure node as Graham suggested. Each proc node has the option to be an implicit or explicit...
Tim Wakeham
deltacentauri
Offline Send Email
Jul 24, 2008
7:14 am
1078
Thanks for all the input Tim, Graham, and Rainer. I am still using a very simplistic example code file for my parser/lexer to get a good base and will expand...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Aug 1, 2008
3:12 pm
1079
Right now my simple language supports statements in the format of: <program> := <statements> <statements> := <statement> | <statements> <statement> :=...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Aug 14, 2008
8:17 pm
1080
Over the last few days, I have done a lot of reading about how other compiler/interpreters handle type checking scenarios plus had a few off list discussions...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Aug 29, 2008
4:31 pm
1081
Before we get into too much detail, tell us how you want your language to behave from the user's point of view. What do you consider an error? Syntactically,...
Graham Toal
graham_toal
Offline Send Email
Aug 29, 2008
5:21 pm
1082
I will try to answer your questions as best as I can. The language is expected to follow a very similar premise as ANSI BASIC does. The language will have...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Aug 29, 2008
6:04 pm
1083
On Fri, Aug 29, 2008 at 1:04 PM, CRANFORD, CHRIS ... yes :-) Here are some sketchy notes, I might add more detail later. I don't have your AST to hand to give...
Graham Toal
graham_toal
Offline Send Email
Aug 29, 2008
11:47 pm
1084
On Fri, Aug 29, 2008 at 11:31 AM, CRANFORD, CHRIS ... I see what you want to do now. First, parse the expression without type info except at the leaves. Write...
Graham Toal
graham_toal
Offline Send Email
Aug 30, 2008
12:26 am
1085
... Doh! I just realised that CAST didn't mean a type cast, it meant an AST node. So you probably do need all those other node types after all :-) And what...
Graham Toal
graham_toal
Offline Send Email
Aug 30, 2008
12:29 am
1086
... Now, keep in mind that I also simply figured out stuff by experimantation, so my limited imagination may be speaking here, but since in my case the entire...
Uli Kusterer
witness_of_t...
Offline Send Email
Aug 31, 2008
10:52 am
1087
... Language design question: let's say you overload "+" as meaning string concatenation, but you also allow type coercion for numeric literals (which several...
Graham Toal
graham_toal
Offline Send Email
Aug 31, 2008
3:38 pm
1088
Greetings all - Thought I'd jump in and introduce myself and talk about one of the projects I'm currently working on. Graham suggested I join, so, hello ...
cneilbradley
Offline Send Email
Aug 31, 2008
11:00 pm
1089
... Welcome aboard, I see you found us OK! For folks who don't mix in those circles, Neil is well known in the emulation world for writing extremely efficient...
Graham Toal
graham_toal
Offline Send Email
Aug 31, 2008
11:12 pm
1090
... translation ... *BLUSH* ... Not really. Somewhere I found the happy medium between being sloppy and excessively conseravtive with memory. The vast majority...
cneilbradley
Offline Send Email
Sep 1, 2008
5:54 am
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
Messages 1073 - 1102 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