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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 584 - 613 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
584
Can someone explain how to maintain alignment within my stack machine? I was considering the notion of using a block of memory as my stack machine. The code...
CRANFORD, CHRIS
crancran77
Online Now Send Email
Oct 5, 2005
10:29 am
585
... machine? ... stack machine. The code would be loaded into the bottom lower address portion of the memory block and the stack would grow from the higher...
Graham Toal
graham_toal
Offline Send Email
Oct 7, 2005
2:35 pm
586
... stack prior-to, during the call-to, and how to cleanup after calling a function and how to deal with the activation records on the stack? I forgot your...
Graham Toal
graham_toal
Offline Send Email
Oct 7, 2005
2:51 pm
587
Hello, I had written an interpreter approx 11 years back as part of my academic course project. It was not done the lex-yacc way, it was hard coded in c...
maheshkumaraguru@...
kay_mahesh
Offline Send Email
Oct 21, 2005
4:25 am
588
Hi Guys... I m in immediate need of the solution for writing a syntax analyser using lex and yacc....here the language i m using is C on Linux... (Red Hat...
promila_bcs_h
Offline Send Email
Nov 27, 2005
6:28 pm
589
Hi, Can any one please tell me what type of parser is used in most of the modern c/c++ compilers? I am actually interested in knowing as to what is the look...
Muhammad Ahsan Shafiq
mahsanshafiq
Online Now Send Email
Nov 27, 2005
6:28 pm
590
I hope everyone had a good new year. I have been very busy over the last few months with travel and just had a moment to revisit my compiler project I was...
Chris Cranford
chrisc062677
Offline Send Email
Jan 4, 2006
11:49 pm
591
Does anyone know of a program that I can use that would automatically extract the First and Follow sets from an EBNF or BNF grammar?...
ed_davis2
Offline Send Email
Jan 24, 2006
1:12 pm
592
... Take a look at Wirth's Pascal-S for one approach: www.moorecad.com/standardpascal/pascals.html has a good discussion of Pascal-S, and the original paper...
ed_davis2
Offline Send Email
Jan 24, 2006
1:17 pm
593
... http://home.earthlink.net/~slkpg/ Final paragraph. Haven't tried it myself. G...
Graham Toal
graham_toal
Offline Send Email
Jan 25, 2006
4:00 pm
594
... Thanks, I'll take a look. I also found that COCO/R (I don't know how I missed this) does, as well as one called wacco: www.codegen.com/freesoft/wacco.tgz ...
Ed Davis
ed_davis2
Offline Send Email
Jan 25, 2006
10:38 pm
595
What I originally thought is I'd need to define my stack as something like: unsigned char stack[32768]; // 32k stack. Can someone comment on this concept and...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Jan 26, 2006
2:27 pm
596
... Do you need to fetch objects off in larger chunks than a byte at a time? I.e. is an integer fetch something like I = stack[SP] << 24 | stack[SP+1] << 16 |...
Graham Toal
graham_toal
Offline Send Email
Jan 26, 2006
2:35 pm
597
Yes, I will need to be able to put 32-bit addresses, integers, longs, floats, etc on the stack. Can you provide me an example of how to push these types of...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Jan 26, 2006
5:09 pm
598
... off the top of my head, not run through a compiler... // method 1: ignore alignment, do everything a byte at a time #define push(x) push(&x, sizeof(x)) ...
Graham Toal
graham_toal
Offline Send Email
Jan 26, 2006
6:10 pm
599
When you say that it does not work well with binary code, are you refering to an actual executable binary file or just storing the data in an intermediate file...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Jan 26, 2006
7:08 pm
600
... Executable. When fully compiled a single store into the stack should be a single instruction, not four plus overhead. When compiling, you generally know...
Graham Toal
graham_toal
Offline Send Email
Jan 26, 2006
7:49 pm
601
Graham, Again, thanks for all your help. I know we may have spoke about this in the past, but what about floats/doubles? These are 8-bytes. I extended your...
CRANFORD, CHRIS
Chris.Cranford@...
Send Email
Jan 27, 2006
1:16 am
602
Hi there, I am new to this group, and I hope someone could help me, sorting out my question? I have had a look at Fabrice Bellard's otcc(n) Compiler. I am very...
vincent007de
Offline Send Email
Jan 27, 2006
2:40 pm
603
... I'm not sure there is any special name for it, or any special technique. Basically his compiler is a straight-forward 1960's style 'student system'...
Graham Toal
graham_toal
Offline Send Email
Jan 27, 2006
3:13 pm
604
hi there I have been looking for some time for an easily (not GCC!) retargetable compiler, generating assembly code for RISC processor ISAs from ANSI C. This...
kaveirious
Offline Send Email
Feb 10, 2006
8:27 pm
605
... http://www.cs.princeton.edu/software/lcc/index.html http://www.cs.virginia.edu/~lcc-win32/ I can't think of any that do either, so start thinking which of...
Graham Toal
graham_toal
Offline Send Email
Feb 10, 2006
9:39 pm
606
... I don't see why LCC does not fit all your needs... Plus, it is documented in a book (even though it is lcc 3, it is close enough to lcc 4). Laurent...
Laurent Desnogues
ldesnogu
Offline Send Email
Feb 10, 2006
9:56 pm
607
Hello, I'm writing a lazy interpreter for a functional programming language. I've written my lexical analyzer in Lex, and parser in YACC. I want to generate...
haifa_368
Offline Send Email
Feb 27, 2006
3:02 am
608
Hi Haifa, Is this a class homework or just a personal project? ... Remember that in YACC, you've got three sections: the declaration, rules and user subroutine...
Raheem Rufai
r_rufai
Offline Send Email
Feb 27, 2006
4:15 am
609
Hi Raheem, Thanks for the feedback and help. ... It's a personal project! Since what you're writing is an interpreter, ... Actually in order for it to be a...
haifa_368
Offline Send Email
Feb 27, 2006
1:26 pm
610
Hi Haifa, ... Are you saying that what you really want to do is translate code in the language of your grammar into a program in lambda calculus, which is a...
Raheem Rufai
r_rufai
Offline Send Email
Feb 27, 2006
5:34 pm
611
... I actually meant to say "attributes of identifiers" rather than "values of variables" here. That way you symbol table will includes not just varibales, but...
Raheem Rufai
r_rufai
Offline Send Email
Feb 27, 2006
5:42 pm
612
Hiya Raheem (and everyone else) Firstly i can't thank u enough! You're really helping me put this all in perspective :) Ok lazy evaluation is basically...
haifa_368
Offline Send Email
Mar 2, 2006
12:16 am
613
... You can do lazy evaluation trivially without needing lambda calculus. The latter somewhat requires creating functions on the fly as first-class objects,...
Graham Toal
graham_toal
Offline Send Email
Mar 2, 2006
4:33 am
Messages 584 - 613 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