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 to share photos of your group with the world? 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 612 - 642 of 1320   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
614
Hi Group. I recently ported Jack's 'Tiny' compiler to C, and added some additional functionality (article published in January's C/C++ Users Journal). Anyway,...
peter_f_gray
Offline Send Email
Mar 16, 2006
5:08 am
615
... Pete, I've been looking over your compiler and I see that you've also modified the Tiny language to be (slightly) more C-like than the original which was...
Graham Toal
graham_toal
Offline Send Email
Mar 17, 2006
3:45 pm
616
Hello, ... I'm game. Thanks, -- Mauro == #!/usr/bin/perl # http://www.fzort.org/mpr # $_= X x shift; # `A witty saying proves...
Mauro Persano
mauro_persano
Offline Send Email
Mar 17, 2006
5:00 pm
617
... I gave it a start: factor = '(' boolexpr ')' ... boolexpr = boolterm { ('|' boolor) | ('~' boolxor) } boolxor = boolterm boolor = boolterm boolterm =...
ed_davis2
Online Now Send Email
Mar 17, 2006
11:16 pm
619
... OK, we're on! That's three people, enough to make a start! I'll write up a little in the group wiki area and we'll see what we can get done starting...
Graham Toal
graham_toal
Offline Send Email
Mar 19, 2006
1:51 am
620
Here's the home page for our compiler-writing competition: http://www.gtoal.com/software/CompilersOneOhOne/CodingCompo It's on a wiki, and you are all invited...
Graham Toal
graham_toal
Offline Send Email
Mar 19, 2006
4:14 pm
621
Wow, you guys move quickly! TinC was really a "just for fun" learning exercise, so there's no documented grammar for the language definition, but you're right...
peter_f_gray
Offline Send Email
Mar 19, 2006
6:19 pm
622
... So *that's* where that operator precedence algorithm came from! I had written it up as folklore, I didn't realise it had ever been used in a serious...
Graham Toal
graham_toal
Offline Send Email
Mar 19, 2006
8:38 pm
623
It's interesting tracing things back to their roots. I'm very fond of the work done by "Amazing" Grace Murray Hopper (look up "first compiler" aka A/0 or A0 or...
peter_f_gray
Offline Send Email
Mar 19, 2006
11:07 pm
624
Hi Guys, I really want to be part of this, but you guys are moving too quickly. Not sure I can keep up, but I'll try ... I've added myself to the wiki, ... ...
Raheem Rufai
r_rufai
Offline Send Email
Mar 20, 2006
3:14 am
625
... Good show :-) ... Actually, there's no rush. Yahoo's mail screwed up at the weekend, and the posts I made announcing the contest didn't turn up on Friday...
Graham Toal
graham_toal
Offline Send Email
Mar 20, 2006
3:50 am
626
My last try at the Tinc grammar for a while - gotta get to work! tinc = {decls} {procedures} block . procedures = 'procedure' ident '(' formallist ')'...
ed_davis2
Online Now Send Email
Mar 20, 2006
1:48 pm
627
I have a question about updating the Wiki: ... And you are correct. Both appear to be allowed. So, do I update the Wiki and say this ("Both are allowed"), or...
ed_davis2
Online Now Send Email
Mar 20, 2006
11:32 pm
628
... I think there is a problem in the expression parser, regarding the handling of unary plus/minus. Here is the original tutorial ... procedure Expression; ...
ed_davis2
Online Now Send Email
Mar 21, 2006
12:39 am
629
There's an 'oops' there too - look at line # 1855 ... if (nextreg = -1) S'funny how you always spot these things a year after you wrote it ! I'm sure there'll...
peter_f_gray
Offline Send Email
Mar 21, 2006
1:30 am
630
... That's right, the production is wrong. ... Agreed, it is an error. Notice how inside the TopDecls parsing loop it explicitly tests for...
Rainer Thonnes
rainer@...
Send Email
Mar 21, 2006
1:36 am
631
... Please, update it :-) Make it so that the final text flows smoothly, once we've settled an issue. ... There may be some clearly identifiable bugs in the...
Graham Toal
graham_toal
Offline Send Email
Mar 21, 2006
1:56 am
632
Based on the feedback, I need to quickly point out a couple of things. TinC was based on Tiny 1.1, which is covered in Section 11 of Jack's document. Features...
peter_f_gray
Offline Send Email
Mar 21, 2006
2:00 am
633
... I missed the prototypes. We definitely keep them, otherwise any recursion other than self-recursion is impossible. Agree with trashing the 'interrupt'...
Graham Toal
graham_toal
Offline Send Email
Mar 21, 2006
2:05 am
634
... We are, and it's quite fun dissecting an implementation as you learn a lot about it that way. We hope you'll do the same for us when we eventually post...
Graham Toal
graham_toal
Offline Send Email
Mar 21, 2006
2:10 am
635
... You don't *have* to. Presumably the implementation will either be left-associative or right associative, and a meaning will be attached to b>>2<<3 -...
Graham Toal
graham_toal
Offline Send Email
Mar 21, 2006
4:08 am
636
... Yes you do. The reference implementation specifically disallows double sided comparisons (a<b<c has to be written a<b&b<c), and because the shiftops are...
Rainer Thonnes
rainer@...
Send Email
Mar 21, 2006
10:27 am
637
... Good catch on the '<<' being treated as a comparison, Rainer! OK, here's how we handle this for the competition (for now): 1) We only test the compilers...
Graham Toal
graham_toal
Offline Send Email
Mar 21, 2006
2:57 pm
638
... They work in a slightly non-intuitive way. It appears that in a prototype declaration the variable names are optional, and in the declaration of a...
Rainer Thonnes
rainer@...
Send Email
Mar 21, 2006
3:21 pm
639
... That was another mistake on my part. I left out the '[]' around formallist, as in: procedures = 'procedure' ident '(' [formallist] ')' block . formallist...
ed_davis2
Online Now Send Email
Mar 21, 2006
4:54 pm
640
... The code is so well-written that it doesn't take a genius to see what it does. But if you want to label me a genius anyway, hey, what can I do? I'm too...
Rainer Thonnes
rainer@...
Send Email
Mar 21, 2006
10:52 pm
641
... Well, I expect I will write several while testing my compiler; so will you and everyone else. I bet Pete Gray has a few already written too. We'll work...
Graham Toal
graham_toal
Offline Send Email
Mar 22, 2006
1:14 am
642
I don't know about the rest of you guys, but I for one would really, *really* like a peek at this one. Come to think of it, there's a lot of members in this...
peter_f_gray
Offline Send Email
Mar 22, 2006
1:21 am
Messages 612 - 642 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