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 281 - 310 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
282
... the ... amount ... or ... With a little effort it compiles fine on Linux. Got any basic source files we can throw at it to try it out? Reminiscent of some...
Graham Toal
graham_toal
Offline Send Email
May 9, 2004
4:52 am
283
Hey guys, ... source files we can throw at it to try it out? Yes, the Bxbasm.zip contains a file Bxbasm.rtf, which contains about 50 cut-n-paste examples to...
sarbayo
Offline Send Email
May 9, 2004
10:24 am
284
Hey Guys, I have uploaded the Bxbasm source files in: sources.zip. See the: Readme.txt. Steve...
sarbayo
Offline Send Email
May 10, 2004
8:46 pm
285
I forgot to mention, that this file now also contains the command language description as well as about 50 sample programs that will generate ASM code from the...
sarbayo
Offline Send Email
May 11, 2004
4:26 am
286
Graham, Just curious, What modifications did you have to make to get it to compile under Linux ?? I have not tried that yet. I'd like to make a Linux version...
sarbayo
Offline Send Email
May 11, 2004
4:31 am
287
... Linux ?? ... Trivial. Here's a script you can execute that will fix the files and compile and test it. However it does run with errors: Copyright:...
Graham Toal
graham_toal
Offline Send Email
May 13, 2004
2:51 am
288
I have a heap debugging package that sometimes helps on code like this. Unfortunately with the data corruption it wasn't able to pinpoint the source line...
Graham Toal
graham_toal
Offline Send Email
May 13, 2004
3:10 am
289
PS I forgot this: #total allocations:1289 #total re-allocations:30 #total frees:1183 #total allocated never freed:304 #average size of allocations:38.7 #map#...
Graham Toal
graham_toal
Offline Send Email
May 13, 2004
3:15 am
290
I've written several simple one-pass compilers, with the code generation phase intermixed with the parsing phase, e.g., generate code as soon as possible. But,...
ed_davis2
Offline Send Email
May 14, 2004
2:00 pm
291
Build the ast. Walk over once to build symbol table Walk over again to do code generation. ... From: ed_davis2 [mailto:ed_davis2@...] Sent: Fri 5/14/2004...
Paul Cockshott
wpc@...
Send Email
May 14, 2004
2:08 pm
292
Hey guys, When I first started learning about compilers I ran across some discussion in a compiler forum that discussed single-pass versus multi-pass...
Steve
sarbayo
Offline Send Email
May 14, 2004
5:41 pm
293
... That's not quite the whole story. The principle driver was whether you had to read the source file twice. With card jobs this was a major hassle. Even...
Graham Toal
graham_toal
Offline Send Email
May 15, 2004
5:03 pm
294
Bxbasm compiler: update 1.051 Hey Guys, I have uploaded an update for Bxbasm (Native Code Compiler). The compiler update and source-code can be downloaded...
Steve
sarbayo
Offline Send Email
May 15, 2004
5:22 pm
295
... There is no advantage from the point of view of having data available from some point later in the compilation (except perhaps in C with old-style partial...
Graham Toal
graham_toal
Offline Send Email
May 15, 2004
5:26 pm
296
Hey Graham, Thanks for your detailed clarfication. It makes a lot of sense. For further clarfication, I was not quoting from my exprience or any special...
Steve
sarbayo
Offline Send Email
May 15, 2004
5:39 pm
297
... We have lots of opinions here. Some conflicting. Sometimes depending on the time of day you even get conflicting opinions from the same person ;-) By all...
Graham Toal
graham_toal
Offline Send Email
May 15, 2004
5:56 pm
298
... I'd lose that bet :-/ ISO C: struct { int x; struct { int y, z; } nested; } i = { .nested.y = 5, 6, .x = 1, 2 }; Found that one reading about CIL:...
Graham Toal
graham_toal
Offline Send Email
May 15, 2004
6:12 pm
299
Thanks Graham, and thanks for the link. I'll certainly give it a visit. I have monitored some of the discussion here, over the past few months and I always...
Steve
sarbayo
Offline Send Email
May 15, 2004
7:12 pm
300
... Try this: http://www.gtoal.com/compilers101/trie/test.c Graham...
Graham Toal
graham_toal
Offline Send Email
May 16, 2004
2:51 am
301
... Ok, here goes: The data is a list of 47,000 unique words. The search word list is 94,000 unique words, which includes the above words. So, there should be...
ed_davis2
Offline Send Email
May 18, 2004
9:52 pm
302
I can't remember in that code whether I do a malloc for each node, or allocate one big array at the start. If the former, the speed will be dominated by the...
Graham Toal
graham_toal
Offline Send Email
May 19, 2004
4:11 pm
303
I've created a simple compiler that generates code for a stack based VM. I've also implemented some extended instructions, such as: inc offset, constant which...
ed_davis2
Offline Send Email
May 20, 2004
12:14 am
304
... What you could do is widen the records you use to describe nodes of your AST, to include addition of constants. So whereas A+B would be represented as a...
Rainer Thonnes
rainer@...
Send Email
May 20, 2004
9:39 am
305
I do this by using java classes for the ast and have a Boolean predicate method in the super class to which all node classes belong and that predicate is...
Paul Cockshott
wpc@...
Send Email
May 20, 2004
12:17 pm
306
... The pattern matching is basically the test you already have but generalised to look for type_of(op) == const instead of op == add To make this easier you...
Graham Toal
graham_toal
Offline Send Email
May 20, 2004
12:44 pm
307
It certainly helps to move constants to the right of all commutative operators. I would not go to the extent of doing it for non-commutative ones. It is also...
Paul Cockshott
wpc@...
Send Email
May 20, 2004
7:54 pm
308
... I take it the virtual machine design is entirely under your control. Did you inherit the design or create it from scratch? What were the design criteria?...
Graham Toal
graham_toal
Offline Send Email
May 21, 2004
3:46 am
309
... Yes. ... I created it. I had a short introduction to compilers in college (late 70's) and have been infatuated with the subject ever since. The first...
ed_davis2
Offline Send Email
May 21, 2004
11:52 am
310
... Heh heh heh. The test of a real programmer: couldn't find a language that did exactly what you wanted so you designed and implemented your own. I've...
Graham Toal
graham_toal
Offline Send Email
May 21, 2004
3:02 pm
Messages 281 - 310 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