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...
Show off your group to the world. Share a photo of your group with us.

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 251 - 281 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
251
I would appreciate your comments regarding the following simple interpreter. I would like to grow this into a simple programming language, but before I get...
ed_davis2@...
ed_davis2
Offline Send Email
Dec 17, 2003
3:25 pm
252
... I think it looks good. Reminds me a bit of QBasic, which I always liked (I think a lot of problems people associate with it are actually due to the IDE...
Bart
bart_trzynad...
Offline Send Email
Dec 21, 2003
1:14 am
253
... (and procedures!) It's a good piece of demonstration code - not cluttered with the sort of complexities you'll need for a real compiler, and if you were...
Graham Toal
graham_toal
Offline Send Email
Dec 21, 2003
1:50 am
254
... I'm trying to decide which to implement: '\n' as in C, or add an explicit println, as in Pascal: C-style: print "Hello, World!\n" Pascal-style: println...
ed_davis2
Offline Send Email
Dec 22, 2003
4:57 pm
255
... Then why not include the line-break literally in the string? Like this: print "line one line two" ... Something that not only reports on which line the...
Rainer Thonnes
rainer@...
Send Email
Dec 22, 2003
6:40 pm
256
... Because it just seems wrong? I've never seen anything like this before, hence my initial reaction. I'll have to think on it a while. Thanks for the...
ed_davis2
Offline Send Email
Dec 22, 2003
7:47 pm
257
... Good. So your hash table is, I take it, nothing but an array of pointers to chainable token decriptors, as opposed to an array of token descriptors which...
Rainer Thonnes
rainer@...
Send Email
Dec 22, 2003
10:42 pm
258
Hey Rainer, didn't your write some trie stuff once for a spelling checker? Tries are faster, smaller, and more easily expandable than hash tables. Dunno why...
Graham Toal
graham_toal
Offline Send Email
Dec 22, 2003
11:11 pm
259
... I think I am using the former. Something like: typedef struct Symbol Symbol; struct Symbol { char *name; void *data; Symbol *next; }; Symbol...
ed_davis2
Offline Send Email
Dec 22, 2003
11:26 pm
260
... Yes but not for a spelling checker, and I got the idea from some natural language processing stuff Hamish had written (to help identify geographical origin...
Rainer Thonnes
rainer@...
Send Email
Dec 23, 2003
12:24 am
261
... Yes, but not necessarily. If your language has the property that key words are distinguished syntactically from identifiers (such as being enclosed in...
Rainer Thonnes
rainer@...
Send Email
Dec 23, 2003
1:25 am
262
... That gives me an idea that I haven't seen in any language that I know of - modify the parser to insert the name tables as a parsable item so that they...
Graham Toal
graham_toal
Offline Send Email
Dec 23, 2003
3:17 am
263
... I wrote trie and hash test programs, ran them each multiple times, and took the average results. In my implementations, hash tables are smaller and faster...
ed_davis2
Offline Send Email
Dec 24, 2003
3:59 am
264
... You wouldn't be biased, would you? Your trie implementation would seem to have been written deliberately badly. :-) ... I notice that your trie...
Rainer Thonnes
rainer@...
Send Email
Dec 24, 2003
11:40 am
265
... I'm cut to the quick. If not for your ":-)", I think I would be really offended <grin>. Seriously, I deliberately tried to make both of them as good as ...
ed_davis2
Offline Send Email
Dec 24, 2003
2:57 pm
266
... It should not be difficult when using your scheme of two pointers per node. I do remember it being quite tricky with my single pointer scheme, when I used...
Rainer Thonnes
rainer@...
Send Email
Dec 25, 2003
12:21 pm
267
... I don't have your email address (I've been using the groups web interface, which hides the email address). If you'll email me (ed underscore davis2 at...
ed_davis2
Offline Send Email
Dec 29, 2003
5:10 pm
268
... Andrew Appel & Guy Jacobson - you can find their paper on my Scrabble page: http://www.gtoal.com/wordgames/scrabble.html I've written quite a bit of...
Graham Toal
graham_toal
Offline Send Email
Jan 2, 2004
5:40 pm
269
Because of the high overlap I'm posting this to compilers101 and staticrecompilers as well. But please followup to dynarec. ... Hello guys, I'm bored out of...
Graham Toal
graham_toal
Offline Send Email
Jan 2, 2004
6:46 pm
270
... When I use tries I never delete. I use tries in the lexical analyser to map strings to integers and then use other structures for the symbol table. ... -- ...
Paul Cockshott
wpc@...
Send Email
Jan 5, 2004
9:18 am
271
hi friends, my name is abhy doing mtech at nit,these year we havea course called compliler design,i had undergone this course in my grauadion but up to a...
abhi nay
abhy4you
Offline Send Email
Jan 7, 2004
3:04 pm
272
Hi All, Iam a student and iam trying to develop a compiler for C++ like language which compiles the Hll to MSIL of the dotNET framework. I have the code of a...
sanira_m
Offline Send Email
Jan 8, 2004
4:51 pm
273
... If you have an existing compiler and you want to make small changes to the grammar, it can probably be done without any deep understanding of the compiler;...
Graham Toal
graham_toal
Offline Send Email
Jan 8, 2004
5:10 pm
274
... called compliler design,i had undergone this course in my grauadion but up to a little margin,can anybody suggest me a book or any additional material to...
Graham Toal
graham_toal
Offline Send Email
Jan 8, 2004
5:17 pm
275
... Here are some that I like: Compiler Construction, by Niklaus Wirth. Only 176 pages. Light on theory, but very practical. If you liked "Algorithms + Data...
ed_davis2
Offline Send Email
Jan 19, 2004
2:09 pm
277
I just bounced a post that was an obvious "please do my homework for me" request. I have let the last few posts like this slip through, but from now on I will...
Graham Toal
graham_toal
Offline Send Email
Mar 4, 2004
5:41 am
278
Hey all, Some of you may have seen this already (a search of the archive didn't turn up any references), but I thought it might be worth mentioning since there...
rickclark58
Offline Send Email
Mar 24, 2004
4:34 pm
279
I came across an interesting site that has some good information on stack and register based programming languages: ...
rickclark58
Offline Send Email
Mar 24, 2004
11:26 pm
280
Thanks for the link. I had a look at that parser. It's quite nice. ... However it has the same mistake as yacc. No context-sensitive tokenising. Means that...
Graham Toal
graham_toal
Offline Send Email
Mar 25, 2004
6:11 am
281
Hey guys, For a couple of years now I've been working on byte code compilers and ... With what I now know, I thought it was time for me to put together a ...
sarbayo
Offline Send Email
May 9, 2004
3:57 am
Messages 251 - 281 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