----------------------------------------------------------------------

CSE 401: Compilers

[Home] [Admin] [Details] [Help] [Other]

Administration / Bboard & E-Mail Log

----------------------------------------------------------------------

Below is a log of all email sent to the class mailing list cse401 at cs. We will use this list for announcements of general interest to the class. Students should also feel free to use it to ask questions, post information, or initiate discussions of general interest to the class. Of course, questions or comments that don't seem of general interest can be directed to the TA (ashish at cs) and/or instructor (ruzzo at cs), instead.

Following usual Internet conventions, administrative requests concerning the mailing list itself, such as add/delete/address change requests, should be addressed to cse401-request at cs.

Index of Messages

(Latest message [an error occurred while processing this directive].)


Messages


Date: Mon, 05 Oct 1998 15:30:36 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: CSE 401 files, etc. 1) this is the CSE 401 mailing list. Please let me know if this is not the address to which you want mail sent, if you drop the course, etc. 2) all mail to the list is automatically logged to the course web site http://www.cs.washington.edu/education/courses/cse401/CurrentQtr/ for reference. 3) feel free to use the list to initiate and respond to class-related discussions. 4) ANNOUNCEMENTS: - If you want a copy, the slide packet is available from ASUW Lecture Notes in the HUB; about $2.75. They're also available on the web. - HW #1 is on the web. - The baseline PL/0 files are available on the instructional machines (as described on the web). Also reachable as ftp://ftp.cs.washington.edu/courses/cse401/pl0_base/ if that's more convenient. - HOWEVER, the spim stuff isn't set up yet; I'll send mail when it is. (Maybe the 378 version works, if you can't wait...) -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Tue, 06 Oct 1998 14:01:03 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: SPIM I *think* we now have a working version of SPIM/XSPIM installed. Please let me know if you have troubles. Basic instructions for accessing spim for pl/zero projects are on: http://www.cs.washington.edu/education/courses/401/98a/help/pl0.html There are also some general spim help pointers on the 378 web page. -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Tue, 6 Oct 1998 14:25:19 -0700 (PDT) From: Tim Tuan <page at s.washington.edu> To: "Walter L. Ruzzo" <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: Re: SPIM One small glitch: The webpage says to add /cse/courses/cse401/CurrentQtr/spim/bin to path, but spim is actually installed at /cse/courses/cse401/spim/bin Tim On Tue, 6 Oct 1998, Walter L. Ruzzo wrote: > I *think* we now have a working version of SPIM/XSPIM installed. Please > let me know if you have troubles. > > Basic instructions for accessing spim for pl/zero projects are on: > > http://www.cs.washington.edu/education/courses/401/98a/help/pl0.html > > There are also some general spim help pointers on the 378 web page. > > > -- > > Walter L. Ruzzo > Computer Science and Engineering > University of Washington > Box 352350 > Seattle, WA 98195-2350 > Phone: (206) 543-6298 > Fax: (206) 543-2969 > Email: ruzz at s.washington.edu >
Date: Tue, 06 Oct 1998 16:04:41 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: Tim Tuan <page at s.washington.edu> CC: cse40 at s.washington.edu Subject: Re: SPIM References: <Pine.OSF.4.02A.9810061422590.23027-10000 at anjuan.cs.washington.edu> good catch, thanks. I added another link, so it should work either way now. Tim Tuan wrote: > One small glitch: The webpage says to add > > /cse/courses/cse401/CurrentQtr/spim/bin > > to path, but spim is actually installed at > > /cse/courses/cse401/spim/bin > > Tim > > On Tue, 6 Oct 1998, Walter L. Ruzzo wrote: > > > I *think* we now have a working version of SPIM/XSPIM installed. Please > > let me know if you have troubles. > > > > Basic instructions for accessing spim for pl/zero projects are on: > > > > http://www.cs.washington.edu/education/courses/401/98a/help/pl0.html > > > > There are also some general spim help pointers on the 378 web page.
Date: Wed, 07 Oct 1998 15:09:04 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: Re: HW#1 References: <Pine.OSF.4.02A.9810071416210.25962-10000 at rcas.cs.washington.edu> > I'm having some trouble understanding how the input works for the PL/0 > convolve program we're supposed to write. When we run our program using > Spim, are we supposed to be able to just type, for example, 1 2 0 3 4 and > then hit enter, and then the answer appears? How do we get access to the > next number? When I run fib.0 or squares.0 and enter in multiple numbers, > like 1 2, the 2 is ignored. I'm so confused! input in pl/0 is being handled by a some funky syscall in SPIM. As near as I can tell (undoubtedly most of you know spim better than I do), SPIM buffers up input until you hit return, then extracts and returns to pl/0 the first number it finds in the buffered line, discarding the rest of the line. So, I think you need to enter the input 1 2 0 3 4 on 5 consecutive lines, one number per line: 1 2 0 3 4
From: "Bo Brinkman" <bobrin at .washington.edu> To: <cse40 at s.washington.edu> Subject: Heads-up: Nice tool for viewing class hierarchies Date: Wed, 7 Oct 1998 21:24:58 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal For those of you who have a PC, I found a neat program which will load up all of our .c and .h files and produce a nice hierarchy chart. It doesn't do the whole project for you, but definitely helped me understand the project. You can find it at: http://codevizor.iftech.com Good luck, Bo
Date: Thu, 08 Oct 1998 00:29:52 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: HW#1 Turnin; Groups Oops, I forgot to ask the lab staff to enable turnin for HW1; I'll let you know as soon as it's ready, hopefully first thing in the morning. Several people have asked me about groups. There's a lag in creating group directories, so they probably won't be ready in time to use for this week's HW. (you can still work as a group; you'll just need individual copies of the files.) If you do decide to work as a group on this one: 1) Please tell me who's in your group, 2) Turn in only ONE (hardcopy) of the class hierarchy and only ONE (electronic) copy of convolve per group, and 3) Please CLEARLY mark the hardcopy with the list of group members, so everyone will get credit. You get to pick who you want to work with; I don't assign group memberships (but let me know if you can't find a partner - maybe I can do some match making).
Date: Thu, 08 Oct 1998 12:05:59 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: Electronic Turnin Enabled Electronic Turnin for the convolve portion of HW#1 is now enabled. PLease let me know if you have trouble.
Date: 9 Oct 1998 23:49 PDT From: Larry Ruzzo <ruzz at uinault.cs.washington.edu> To: cse40 at s.washington.edu Subject: pl0_base; pl0_lex 1) the pl0_lex files are available. 2) I did a little cleanup work on the pl0_base files tonight. I'd suggest you discard old versions you might have and copy new ones before beginning HW#2. [Specifically, discard the obsolete files pas and io.c, and get updated copies of stmt.codegen.c, expr.codegen.c and Makefile; I think that's all I changed.]
Date: Sun, 11 Oct 1998 20:10:17 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: 3.7a 3.7a seems to be confusing people. The problem says: "All strings of letters that contain the 5 vowels in order." first, the 5 English vowels are a e i o u. "In order" means alphabetical order, i.e. as listed above. I take this to mean that a string is in the language if you can underline exactly 5 letters in it, so that you've underlined one a, one e, one i, one o, and one u, and futhermore the underlined a is somewhere to the left of the underlined e, which in turn is somewhere to the left of the underlined i, etc. The underlined letters may or may not be adjacent to each other, may or may not start at the left end of the string; there may or may not be other vowels in the string; there may or may not be non-vowels in the string. E.g.: the rain in sp_ain d_escends ma_inly to the gr_o_und Does this help?
From: "Bo Brinkman" <bobrin at .washington.edu> To: <cse40 at s.washington.edu> Subject: 3.16c Date: Mon, 12 Oct 1998 21:20:13 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Should we really use the algorithm 3.3, or can we use the constructions from class? Algorithm 3.3 step 3c seems to be needlessly complex, and 3b seems to be flawed. (As pointed out in class). I like the constructions we used in class better, and they are the constructions we used in 322. (Or are the two identical, and I am smoking crack?) --Bo
Date: Tue, 13 Oct 1998 08:38:16 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: Bo Brinkman <bobrin at .washington.edu> CC: cse40 at s.washington.edu Subject: Re: 3.16c References: <000d01bdf660$c693a4e0$04ef5f8 at 5-239-4.student.washington.edu> Bo Brinkman wrote: > Should we really use the algorithm 3.3, or can we use the constructions from > class? Algorithm 3.3 step 3c seems to be needlessly complex, and 3b seems > to be flawed. (As pointed out in class). 3b is not flawed, although I didn't make that clear. What I argued in class is that joining 2 *arbitrary* NFAs as in 3b does *not* correctly implement concatenation. However, Algorithm 3 doesn't join arbitrary NFAs; it only joins the special kinds of NFAs that are built (inductively) by algorithm 3, and it *is* sound in that case. Why the difference? Well, as you'll recall, the problem with applying 3b to arbitrary NFAs is that if the 2nd machine can return to its start state, and if the 1st machine can exit from its final state, then this might allow the joined machine to hop back and forth between the two sub-machines on the way to accepting a string. [Recall my example: the 2-state machine for odd number of 0s concateneted with the 2-state machine for odd number of 1s.] However, Algorithm 3 guarantees that the NFAs it builds have (i) no edges into the start state and (ii) no edges out of the final state. Step 3b is correct for machines of this restricted kind. (In fact , either (i) or (ii) alone would be sufficient.) The need to preserve restrictions (i) and (ii) is exactly why step 3c looks "needlessly complex" - it's more complex than the version I showed in lecture, but my version didn't preserve (i) and (ii), since my analog of 3b doesn't need them. Is my version better than the book's version? Not clear; mine sometimes generates more states and epsilon moves, sometimes fewer. Which should you use for the homework? I don't care, BUT SAY WHICH YOU ARE USING so Ashish knows what to expect. [The book version has the advantage that you don't have to depend on your notes of my sloppy handwriting...] > (Or are the two identical, and I am smoking crack?) > --Bo (No, and I hope not.)
Date: Tue, 13 Oct 1998 11:23:06 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: occasional volunteer notetaker needed "We have a student with a disability in this class who needs assistance with notetaking. Disabled Student Services (DSS) has found a person to be the primary notettaker, but they still need one or two alternate notetakers who they could call if the primary notetaker misses a lecture. If you are interested in volunteering to be an alternate notetaker, or if you have any questions, please contact Disabled Student Services directly. They are located in Schmitz Hall, room 448. You may also call 543-8925 or email uwds at .washington.edu Thank you for your time."
Date: Tue, 13 Oct 1998 17:55:26 -0700 (PDT) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: Electronic turnin Electronic turnin for "scanner" is enabled now, while turnin's for "convolve" are disabled. Send me a mail if you have any problems. -- Ashish
From: "Bo Brinkman" <bobrin at .washington.edu> To: <cse40 at s.washington.edu> Subject: Groups? Date: Tue, 13 Oct 1998 21:39:26 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Anyone out there still need a person in their group? I have waited a bit long to get a group, and I would definitely like to have a group on future projects! --Bo
Date: Wed, 14 Oct 1998 19:51:05 -0700 (PDT) From: Justin Miller <justi at s.washington.edu> To: cse40 at s.washington.edu Subject: Doing PL/0 on NT To do the PL/0 project on NT, you'll need to do a couple things. First off, you want it to agree with MSVC: 1) Download all the .c and .h files to some NT folder. 2) Make a new project workspace like usual, add all the .c files 3) Under Project->Settings (Alt+F7), select the "C/C++" tab. At the bottom of the panel is a window with a bunch of compiler flags. At the end of this mess, add the flag "/Tp". This will make the .c files compile as C++ files. 4) There are a few discrepancies that MSVC will warn you about, or just plain won't compile: a) The method isMarked() in class RegisterBank (reg.h) has an implicit cast to bool that MSVC doesn't like. Replace the line with: bool isMarked(Reg reg) { return (_bank & nthBit(reg)) != 0; } b) token.h has the line "#include <strings.h>". Replace this with #include <string.h>. strings.h in /usr/include is just a one-line file that says "#include <string.h>". c) MSVC *still* doesn't do scoping of loop variables according to the final draft of the C++ standard, so any time two 'for' loops appear with the declaration "int i = 0;" in them, it complains. Solve this this by making the second declaration "int j = 0"; this way it will still compile in Unix. d) In regs.h, SymTabScope is declared as a struct for use in the RegisterBank class, but later defined in symtab.h as a class. Change the reg.h declaration to a class. Okay, that should get your PL/0 compiler to compile. :) Next you need PC SPIM, which is available via anonymous ftp at: ftp://ftp.cs.wisc.edu/pub/spim/spimwin.exe Just type that into your web browser. You can also download the SPIM documentation from: ftp://ftp.cs.wisc.edu/pub/spim/spim_documentation.ps An online version is at: http://www.cs.bilkent.edu.tr/~baray/cs224/ref/spim.html Finally, a "SPIM Quick Reference", made from the Appendix A of your beloved 378 textbook, is available at: http://www.cs.bilkent.edu.tr/~baray/cs224/quickspim.html If you want to get SourceSafe set up, I think you'll have to talk to someone in support. I am lucky and have an office machine that allows me to make my own SourceSafe databases.... Enjoy! -Justin
From: "Bo Brinkman" <bobrin at .washington.edu> To: <cse40 at s.washington.edu> Subject: Turnin of project 1: Attn Ashish and Prof. Ruzzo Date: Wed, 14 Oct 1998 20:20:56 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal How are we supposed to turnin project 1? The instructions say "setup a directory called hw2b" and put the lex version in there. The turnin directions linked from the assignment directions say "Please use only a directory named pl0". Does this mean we have a pl0 directory with our normal project in it, then a subdirectory called hw2b with the lex version in it? What do you want us to do? --Bo
From: "Bo Brinkman" <bobrin at .washington.edu> To: <cse40 at s.washington.edu> Subject: Question on part 4 Date: Wed, 14 Oct 1998 20:25:05 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Is something like NonNewline ::= not(<newline>) valid notation for part 4? Lex accepts a similar concept, and to specify _inclusively_ what I mean by "NonNewline" would take a bit of typing. --Bo
Date: Wed, 14 Oct 1998 20:41:10 -0700 (PDT) From: Ashish Sabharwal <ashis at s.washington.edu> To: Bo Brinkman <bobrin at .washington.edu> cc: cse40 at s.washington.edu Subject: Re: Turnin of project 1: Attn Ashish and Prof. Ruzzo You are right...have your normal project in "pl0" directory and create a subdirectory called "hw2b" with the lex version in it. The idea is to keep all your lex related files separate from normal project files so that you can remove them later. -- Ashish On Wed, 14 Oct 1998, Bo Brinkman wrote: > How are we supposed to turnin project 1? The instructions say "setup a > directory called hw2b" and put the lex version in there. The turnin > directions linked from the assignment directions say "Please use only a > directory named pl0". Does this mean we have a pl0 directory with our > normal project in it, then a subdirectory called hw2b with the lex version > in it? What do you want us to do? > --Bo > > >
Date: Thu, 15 Oct 1998 08:56:12 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: Bo Brinkman <bobrin at .washington.edu> CC: cse40 at s.washington.edu Subject: Re: Question on part 4 References: <000701bdf7eb$671ef820$04ef5f8 at 5-239-4.student.washington.edu> yes, this is fine. (But as in problem 1, don't use "not" on anything more complex than a set of chars.)) Bo Brinkman wrote: > Is something like > NonNewline ::= not(<newline>) > valid notation for part 4? Lex accepts a similar concept, and to specify > _inclusively_ what I mean by "NonNewline" would take a bit of typing. > --Bo
Date: Thu, 15 Oct 1998 16:55:55 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: Re: which files to modify References: <Pine.OSF.4.02A.9810151546210.2251-10000 at anjuan.cs.washington.edu> > we need to know which files to modify to extend the grammer. Do we modify > and just the original lex file or do we modify both the lex and bnf files. This week you only need to modify scanner-related stuff. Grammar/parsing, AST, code gen, etc. etc. will come in later phases. -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Fri, 16 Oct 1998 10:08:48 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: 401 Schedule FYI, the schedule page has finally been updated: http://www.cs.washington.edu/education/courses/401/98a/admin/schedule.html Midterm is tentatively set for Monday, 11/2. -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Sat, 17 Oct 1998 16:07:08 -0700 (PDT) From: Bradley Liu <bcli at s.washington.edu> To: Undisclosed-recipients at s.washington.edu Subject: NT group directory FYI, if you want to set up a project group directory, you need to send email to suppor at s. I used to be able to share my directory with others, but they've change lab policy and taken away our rights to share our directories. Bradley ================================================== Bradley Liu 425-787-0202(h) 14727 45th P. W. 425-745-2053(h) Lynnwood, WA 98037 bcli at s.washington.edu ==================================================
Date: Sat, 17 Oct 1998 23:46:18 -0700 (PDT) From: Tim Tuan <page at s.washington.edu> To: Larry RUZZO <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: HW3 question In question 2 and 3, we're asked to "Compute the FIRST and FOLLOW sets..." Is it correct that we only need to compute FIRST sets for the non-terminals of the grammar? I ask because there may be FIRST sets for all strings in a language. _________________________________________________________ Tim Tuan Computer Engineering, U of Washington mailto:page at s.washington.edu http://www.cs.washington.edu/homes/pagey ICQ # 14515985 _________________________________________________________
From: "Majd, Farjam" <Farjam.Maj at SS.Boeing.com> To: "'compiler401'" <ruzz at s.washington.edu>, "'cse40 at s.washington.edu'" <cse40 at s.washington.edu> Subject: CSE401 Groups Date: Sun, 18 Oct 1998 14:27:35 -0700 Hi Dr. Ruzzo: I still don't have a group and judging from the amount of work in HW2, I think we definitely need collaboration with at least one person. I think there may be a few other people that don't have groups either. I have a suggestion: since you or Ashish have access to all the names, please send an email to the class and ask for the names & email of all who still don't have a group, and publish the list so people can form groups. I say this because not everybody in the class know each other or have any contact outside the class, and it may be very difficult to know who has a group and who doesn't, and who to approach and how to contact them ... You can also announce this in class on monday so those who need a group can get together after class outside the door. Alternatively, all who are in need of a group, plz respond to this email. I can make a list of all who responded and send it to class email (or just to those who are on the list) and may be we can form groups quickly. -thx,farjam |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||| FARJAM MAJD, Fleet Support The Boeing Company POBox 3707, MS 7L-66 Seattle, WA 98124-2207 Tel: 425-957-5051, Fax: 425-865-2964 Email: farjam.maj at oeing.com |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||
From: "Wyvern (K. Aldinger)" <wyver at s.washington.edu> To: <cse40 at s.washington.edu> Subject: Re: CSE401 Groups Date: Sun, 18 Oct 1998 19:41:45 -0700 X-MSMail-Priority: Normal X-Priority: 3 > Alternatively, all who are in need of a group, plz respond to this email. I > can make a list of all who responded and send it to class email (or just to > those who are on the list) and may be we can form groups quickly. Yeah, I guess it's inevitable. The homeworks just kinda keep piling up, so I guess it might be time to give in. ;) If someone's willing to share the pain with me, I'm still open for a partner. ^_^ ~~~ Wyvern ^*^ - = < May your path be never free of dragons... ^*^ ^*^ ^*^
Date: Sun, 18 Oct 1998 23:26:48 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: Tim Tuan <page at s.washington.edu> CC: cse40 at s.washington.edu Subject: Re: HW3 question References: <Pine.OSF.4.02A.9810172341350.30973-10000 at rcas.cs.washington.edu> in order to tell whether the grammar is LL(1) you need the FIRST set the right hand side of each rule. (And the FOLLOW set for each nonterminal). Tim Tuan wrote: > In question 2 and 3, we're asked to "Compute the FIRST and FOLLOW sets..." > Is it correct that we only need to compute FIRST sets for the > non-terminals of the grammar? > > I ask because there may be FIRST sets for all strings in a language. > > _________________________________________________________ > > Tim Tuan > Computer Engineering, U of Washington > mailto:page at s.washington.edu > http://www.cs.washington.edu/homes/pagey > ICQ # 14515985 > _________________________________________________________
Date: Mon, 19 Oct 1998 15:09:58 -0700 (PDT) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: Office hours The room for my Monday office hours is changed to SIEG 226b due to some overlap. -- Ashish
Date: 20 Oct 1998 17:17 PDT From: Larry Ruzzo <ruzz at uinault.cs.washington.edu> To: cse40 at s.washington.edu Subject: CSE401 GROUP INFO Here's the status of 401 groups. Please send me corrections/updates as soon as possible. 1. Groups a-f below already exist; g and h have been requested; hopefully they'll be created within a day or so. 2. Unix group file space has been/will be created on sanjuan/orcas in /projects/instr/cse401/98au/cse401{a,b,...}. 3. For suggestions on using RCS to share files with partner(s), see http://www.cs.washington.edu/education/courses/401/1998au/help/rcs.html Please DO NOT turn in your RCS directory; see above page for instructions on how to avoid this. 4. If you also want shared space on the NT systems, send mail to suppor at s; give them your group name (cse401x) and members' logins on cse machines (no outside email addresses). 5. I've given 2 people permission to work alone; one is considering it. The other un-grouped people are listed below cse401a : : : Erin Moore <el at s> Nathan Schaffer <maxwel at s> John Snell <geigud at s> cse401b : : : Arthur Gregory (artj at s) John Thimsen (jd at s) Mike Palmer (palme at s) cse401c : : : Leo Lai <regulu at s> Tim Tuan <page at s> cse401d : : : Derek Peschel <dpesche at s> cse401e : : : Mariani Alimin marian at s Edward Lau ela at s Bradley Liu bcli at s cse401f : : : Benjamin Liu <bchli at s> Susan Shinoda <st at s> cse401g : : : Ward Scotland war at s Patrick Snyder psnyde at s cse401h : : : Wyvern (Ken Aldinger) <wyver at s> Bo Brinkman bobrink Seeking Groups: ERIKSEN,MELISSA :erikse at s GLAVIN,NATALYA V :nglaviz at MAJD,FARJAM:farjam.maj at oeing.com NANKANI,AKASH :aa at s PESCHEL,DEREK HARG:dpesche at Possibly wants to work alone: Robert Lee McCann <rmccan at s> Working alone: Yoochang Jung <mrchan at csl.ee> D Crawford <dncraw at >
Date: Tue, 20 Oct 1998 18:44:57 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: CSE401 GROUP INFO, cont. Sorry, previous message escaped prematurely. Here's the rest: ... 5. I've given 2 people permission to work alone; one is considering it. The other un-grouped people are listed below. Please communicate among yourselves to set up groups. I can invent a grouping if you prefer, but it's probably better to do it yourselves. If any existing pair wants a third member, that's also OK. My estimate is that the base compiler is 5000 lines; you'll add/change 1-2000 lines. That's not unmanageable for one person alone, but as I've said, I think there's a definite benefit to having a partner to talk with, even if it doesn't save any time at all.
Date: Tue, 20 Oct 1998 18:54:35 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: Tim Tuan <page at s.washington.edu> CC: cse40 at s.washington.edu Subject: Re: HW3 turnin References: <Pine.OSF.4.02A.9810192021120.18228-10000 at anjuan.cs.washington.edu> > Do we turn in HW3 as a group or individually, or some combination of both? You may work on this one individually or with your group. If you work with your group, please turn in just ONE paper per group (clearly marked with the names of the group members, and the group ID (CSE401a, etc.) as shown in my previous message).
Reply-To: "Benjamin Liu" <bchli at s.washington.edu> From: "Benjamin Liu" <bchli at s.washington.edu> To: "Larry Ruzzo" <ruzz at uinault.cs.washington.edu>, <cse40 at s.washington.edu> Subject: Re: CSE401 GROUP INFO Date: Tue, 20 Oct 1998 19:01:56 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Susan and I would not mind having another person in our group. If anyone is interested. . . . Benjamin >cse401f : : : > Benjamin Liu <bchli at s> > Susan Shinoda <st at s>
Date: Tue, 20 Oct 1998 19:19:21 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: Re: HW Questions References: <Pine.OSF.4.02A.9810201450450.21745-10000 at anjuan.cs.washington.edu> > 1. How does the LL(1) parser distinguish an LValue from any other Id in > our original BNF? Does it actually look one more ahead to see if there is > a := ? Aha. Who said the "original grammar" was LL(1)? Or that the "original grammar" is exactly in the form that pl/0 uses? (Maybe I did, but surely you've learned that I'm a cronic liar by now, so maybe they are and maybe they aren't.) Take a look at parser.stmt.c if you want to see what it really does.
Date: Tue, 20 Oct 1998 19:35:20 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: Re:another hw3 question: Break References: <000301bdfc67$e2c82340$49085f8 at cerimmer.cs.washington.edu> > We are having problem figuring out where breaks fit in the BNF. > > For example, can we have StmtList break StmtList nested in a loop? I guess > our question is why would we want to break the loop if it can't be in a if > statement? yes, break can appear in an "if", but only if the "if" is inside a loop (or inside something which is inside a loop, etc.)
Date: Tue, 20 Oct 1998 20:12:21 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: More questions: parser vs semantic analysis References: <Pine.OSF.4.02A.9810201450450.21745-10000 at anjuan.cs.washington.edu> > What is the best way to evaluate the trade-off between putting a rule > in the grammer vs. enforcing it a later phase of the compiler? Most of the > new > rules regarding the new boolean type for example could be incorporated > into the grammer but doing so creates a lot of new non-terminals. To avoid > the new grammer rules is it better to do the type checking for the new > boolean type the typechecking phase? Or should you always enforce things > in the > grammer if possible? "Best way to evaluate" - you tell me what you think is best; there isn't a gold-standard answer to this. A few criteria that makes sense me, however, are that (1) you shouldn't *greatly* complicate the parser to do something that could be *simply* done during semantic analysis, and (2) you probably shouldn't complicate the parser to do a partial job at checking something that will have to be rechecked later anyway. On the other hand (3), it's generally better to catch errors early, so *do* include in the parser as much as you can conveniently include; it will simplify later processing. I realize that having seen only a skimpy outline of the "semantic analysis" material, these issues are perhaps a little murky, but I think they're still worth thinking about now. Here's a brain teaser along these lines: Which of the following are legal pl/0 expressions, and can you tell at parse time, or do you need to wait until later? var imareallyveryunusuallyextralongvariablename: int; 1 + 2 1 + true x + 2 x and true (x + 2) and x imareallyveryunusuallySuperlongvariablename + 5 Write a few sentence about the major design decisions that you faced, and why you made the decision you did.
Date: Tue, 20 Oct 1998 20:40:22 -0700 (PDT) From: Tim Tuan <page at s.washington.edu> To: Larry Ruzzo <ruzz at uinault.cs.washington.edu> cc: cse40 at s.washington.edu, CSE Lab Support <support at cs.washington.edu> Subject: Re: CSE401 GROUP INFO Strangely, I'm not in group cse401c on Sanjuan/Orcas (as I should be). Even more strangely, on the Suns (calvin/hobbes), I belong to a group called 401c. Is anyone else having similar problems? Support - Please fix promptly, or explain to me what's going on, Thanks, Tim On 20 Oct 1998, Larry Ruzzo wrote: > Here's the status of 401 groups. Please send me corrections/updates > as soon as possible. > > 1. Groups a-f below already exist; g and h have been requested; > hopefully they'll be created within a day or so. > > 2. Unix group file space has been/will be created on sanjuan/orcas > in /projects/instr/cse401/98au/cse401{a,b,...}. > > 3. For suggestions on using RCS to share files with partner(s), see > http://www.cs.washington.edu/education/courses/401/1998au/help/rcs.html > Please DO NOT turn in your RCS directory; see above page for > instructions on how to avoid this. > > 4. If you also want shared space on the NT systems, send mail to > suppor at s; give them your group name (cse401x) and members' logins > on cse machines (no outside email addresses). > > 5. I've given 2 people permission to work alone; one is considering > it. The other un-grouped people are listed below > > cse401a : : : > Erin Moore <el at s> > Nathan Schaffer <maxwel at s> > John Snell <geigud at s> > cse401b : : : > Arthur Gregory (artj at s) > John Thimsen (jd at s) > Mike Palmer (palme at s) > cse401c : : : > Leo Lai <regulu at s> > Tim Tuan <page at s> > cse401d : : : > Derek Peschel <dpesche at s> > cse401e : : : > Mariani Alimin marian at s > Edward Lau ela at s > Bradley Liu bcli at s > cse401f : : : > Benjamin Liu <bchli at s> > Susan Shinoda <st at s> > cse401g : : : > Ward Scotland war at s > Patrick Snyder psnyde at s > cse401h : : : > Wyvern (Ken Aldinger) <wyver at s> > Bo Brinkman bobrink > > Seeking Groups: > ERIKSEN,MELISSA :erikse at s > GLAVIN,NATALYA V :nglaviz at > MAJD,FARJAM:farjam.maj at oeing.com > NANKANI,AKASH :aa at s > PESCHEL,DEREK HARG:dpesche at > > Possibly wants to work alone: > Robert Lee McCann <rmccan at s> > > Working alone: > Yoochang Jung <mrchan at csl.ee> > D Crawford <dncraw at > >
Date: Tue, 20 Oct 1998 21:06:42 -0700 (PDT) From: Tim Tuan <page at s.washington.edu> To: Larry RUZZO <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: Orig BNF It looks like the OrigBNF doesn't have "input". Is that a mistake? tim
Date: Tue, 20 Oct 1998 21:11:29 -0700 (PDT) From: Tim Tuan <page at s.washington.edu> To: Larry RUZZO <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: Re: Orig BNF nevermind... On Tue, 20 Oct 1998, Tim Tuan wrote: > It looks like the OrigBNF doesn't have "input". Is that a mistake? > > tim > >
Date: Wed, 21 Oct 1998 09:31:03 -0700 From: sha at une.cs.washington.edu (Alan Shaw) To: cse40 at une.cs.washington.edu Subject: office hour today I have a long-standing off-campus appointment at 8:30 tomorrow. I think I will be back in time for my 10:00-11:00 office hour, but might be a bit late. I should also be available 11:00-12:00 and roughly 2:40-3:20. Sorry for the short notice; Absent Minded Professor syndrome.
Date: Wed, 21 Oct 1998 11:59:34 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: My LL(k) parsing slides... are on the web, in case you missed them, at: http://www.cs.washington.edu/education/courses/401/98a/details/lectures/ -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Wed, 21 Oct 1998 21:19:36 -0700 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: Re: return statement References: <Pine.OSF.4.02A.9810210021550.16216-10000 at rcas.cs.washington.edu> > Is return statement legal inside a module? Or it can be only used > in procedures? Thanks. Sorry I couldn't answer sooner. I'd guess it's easier to make it legal at the module level, but it's OK with me for you to treat this either way.
Date: Mon, 26 Oct 1998 15:18:39 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: HW#2, 3.7c It seems that most of you had trouble understanding what exactly is a legal "comment". So here is some explaination of what was required, what were some common errors and what could be a possible solution. o A comment in this context is a usual 'C' comment. So you allow things like /* xyz "abc */ de " pqrs */ and /* "a" xx "b" */ to be valid comments, but do not allow things like /* "a" */ "b" */ where the first occurance of */ is NOT inside quotes (it occurs BETWEEN the two quoted strings "a" and "b"). o A comment starts with a /* : beginComment = /* o You need to take care that a quoted string DOES NOT contain any quotes within it: QuotedStr = " {not(")} " Note: {R} here means 0 or more occurance of R. o Now, as long as you do not see a '*' or a '"', you can continue scanning the comment: NoSpecialChar = not(*,") o If you see a string of '*'s that is not going to end the comment, it must be followed by a QuotedStr or a character other than a '/' or a '"': StarString = {*} (QuotedStr | not(/,")) o Finally, you must see a string of '*'s that ends the comment: Endcomment = {*} */ -------------------- So our regular definition for comment looks like: BeginComment = /* QuotedStr = " {not(")} " NoSpecialChar = not(*,") StarString = {*} (QuotedStr | not(/,")) EndComment = {*} */ Comment = BeginComment { QuotedStr | NoSpecialChar | StarString } EndComment -------------------- -- Ashish
Date: Mon, 26 Oct 1998 15:25:23 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: HW#2 grading scheme 1. ASU 3.7abch => 6 pts (1.5 x 4) 2. ASU 3.16cd => 5 pts (2 + 3) 3. ASU 3.17cd => 5 pts (2 + 3) 4. PL/0 lexical structure => 5 pts 5. Project, Part A => 7 pts 6. Project, Part B => 7 pts 7. Project, Part C => 5 pts [You will get back your scripts for #4-#7 on Wednesday.] -- Ashish
Date: Tue, 27 Oct 1998 08:56:43 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: Re: [cse401] Const declarations References: <Pine.OSF.4.02A.9810270037090.30007-10000 at anjuan.cs.washington.edu> > There's a little detail in the definition for constant declarations that > seems a little wierd. According to the specs, this is right: > > CONST boolconst:BOOL = xx = yy and yy < zz; > > It just looks wierd. Things would look more consistant if the leftmost = > was a := operator instead. It's specified this way in more than one place > though; the BNF and the project specs. So we were wondering if we should > leave it as is, or if changing it for the sake of consistancy and "pretty > PL0 code" would be acceptable? :) some language designers have used "=" for const declarations like "const pi = 22/7" as a way of emphasizing the permanent identity between the name on the left and the value on the right, as opposed to the more ephemeral "pi := (gets) 22/7 right now, but I might change my mind any nanosecond". pl/0 follows this model. Clearly an arguable choice, but for the project PLEASE IMPLEMENT IT AS WRITTEN in the spec; we'll be running an automated set of test cases, and if you deviate from the spec in this (or any other) detail, our test suite and your compiler will not get along.
Date: Tue, 27 Oct 1998 23:35:32 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: A subtle point ... While going through various implementations of the (hand-coded) scanner, I found that all implementations (except one) did not have any checks for EOF while scanning comments. This could, in principle, lead to problems when there is no '\n' ending the last comment. If you figured out that THIS WILL NOT HAPPEN for our extension of the pl0_base compiler, and THEREFORE did not have a check for EOF, that's great. But if you missed the EOF check unintentionally, here's why your code still works correctly: The implementation of GetCh() uses a buffer that gets lines of input using the standard library routine "gets", and the result of "gets" is ALWAYS a string ending in '\n' (whether or not it read the last line of input) unless there are some `serious' problems with the input file. -- Ashish
Date: Thu, 29 Oct 1998 07:17:57 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: sample midterms Sample midterm questions are available on both the Fall 97 and Spring 98 course webs.
Date: Thu, 29 Oct 1998 14:13:26 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: lex vs. hand-coded scanner Here are a few points that I compiled from the memos that were turned in for "lex vs. hand-coded scanner". Which method scores higher for each criterion is very subjective. So I will list only the criteria and not express my opinion on which one is better. 1. Ease of implementation 2. Performance 3. Maintenance / Extension 4. Inherent limitations on kinds of languages that can be scanned 5. Clarity of design / Readibility 6. Error handling while designing the scanner -- Ashish
Date: Thu, 29 Oct 1998 21:27:14 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: Mel Eriksen <erikse at s.washington.edu> cc: cse40 at s.washington.edu Subject: Re: turnin The turnin for homework #4 was ON but it was not the DEFAULT project (you could still have turned in using the option -p parser). I have fixed it. Let me know if you have any problems. -Ashish On Thu, 29 Oct 1998, Mel Eriksen wrote: > Hi, > > Is turnin for homework #4 turned on yet? We were unable to turn in our > directory. > > Thanks, > > -Mel > >
Date: Fri, 30 Oct 1998 15:06:22 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: HW 3 : grading scheme 2.a 1 pt 2.b 2 pts 2.c 2 2.d 3 2.e 2 3 5 4 5 (not graded yet) Total 20 (presently 15) -- Ashish
From: "Majd, Farjam" <Farjam.Maj at SS.Boeing.com> To: "'cse40 at s.washington.edu'" <cse401 at cs.washington.edu> Subject: UNIX and/or PC tools Date: Sat, 7 Nov 1998 15:02:43 -0800 I have found it useful to be able to construct a static call tree to see the overall structure of the program without having to flip back & forth between files. Does anybody know any tools out there, UNIX or PC/NT/windows, that can list out a call tree given a bunch of files and print it out? Visual C++ studio can expand all classes and files but I don't think it can do this (or I don't know how), including printing it out. If anybody knows such tools/utilities, plz let me know. -thx,farjam |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||| FARJAM MAJD, Fleet Support The Boeing Company POBox 3707, MS 7L-66 Seattle, WA 98124-2207 Tel: 425-957-5051, Fax: 425-865-2964 Email: farjam.maj at oeing.com |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||
Date: Tue, 10 Nov 1998 14:39:21 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: Office hr on Wed... My Friday office hour this week is shifted to Wednesday. Time remains the same (3:30). -- Ashish
Date: Wed, 18 Nov 1998 06:43:11 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Accept-Language: en To: cse40 at s.washington.edu Subject: No Office Hour Today I have to cancel my office hour this morning. If you need me, I should be available 11:30-12:30, 2:35-3:30, and probably after 5:00 today, or we can make an appointment for tomorrow. Sorry for the short notice.
Date: Fri, 20 Nov 1998 14:36:56 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: m2-cse40 at auhaus.cs.washington.edu Subject: [Fwd: Office Hours of Ashish Sabharwal Cancelled Today] This is a multi-part message in MIME format. --------------454F0F930598256C02D73341 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu --------------454F0F930598256C02D73341 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from sucia.cs.washington.edu (sucia.cs.washington.edu [128.95.8.119]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with ESMTP id MAA12389; Fri, 20 Nov 1998 12:43:17 -0800 Received: from larch.cs.washington.edu (larch.cs.washington.edu [128.95.3.108]) by sucia.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id MAA04947 for <cse40 at ucia.cs.washington.edu>; Fri, 20 Nov 1998 12:43:03 -0800 (PST) Received: from localhost (svive at ocalhost) by larch.cs.washington.edu (8.8.8+CS/7.2ws+) with SMTP id MAA00195 for <cse401 at cs.washington.edu>; Fri, 20 Nov 1998 12:43:02 -0800 Date: Fri, 20 Nov 1998 12:43:02 -0800 (PST) From: Vivek Sahasranaman <svive at s.washington.edu> To: cse40 at s.washington.edu Subject: Office Hours of Ashish Sabharwal Cancelled Today Message-ID: <Pine.LNX.4.02A.9811201241400.110-10000 at arch.cs.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Ashish Sabharwal will not be holding affice hours today since he is ill. --------------454F0F930598256C02D73341--
Date: Fri, 20 Nov 1998 14:38:13 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: m2-cse40 at auhaus.cs.washington.edu Subject: [Fwd: Office hours next week.] This is a multi-part message in MIME format. --------------35F15C6ACC26C268B4A4B460 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu --------------35F15C6ACC26C268B4A4B460 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from cs.washington.edu (ruzzo-pc.cs.washington.edu [128.95.8.50]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with ESMTP id OAA19176; Fri, 20 Nov 1998 14:17:41 -0800 Message-ID: <3655EAC7.DA93F7C at s.washington.edu> Date: Fri, 20 Nov 1998 14:18:47 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: cse40 at s Subject: Office hours next week. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I again have to move my office hours next wednesday (11/25): I'll be available 1:30-3:30, instead of 10-11. Office hours Monday 11/23 are unchanged: 1:30-2:30 -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu --------------35F15C6ACC26C268B4A4B460--
Date: Tue, 24 Nov 1998 20:17:03 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: Office hour on Wed I will be holding office hour tomorrow between 5:30 and 6:00 in the evening. Room will be one of 226a and 226b. -- Ashish
Date: Tue, 24 Nov 1998 20:19:06 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: office hour : a correction There was a typing error..... office hour is from 5:30 till 6:30 [it will not be half an hour :)] -- Ashish On Tue, 24 Nov 1998, Ashish Sabharwal wrote: > > I will be holding office hour tomorrow between 5:30 and 6:00 > in the evening. Room will be one of 226a and 226b. > > -- > Ashish > >
Date: Mon, 30 Nov 1998 16:35:54 -0800 (PST) From: Ashish Sabharwal <ashis at s.washington.edu> To: cse40 at s.washington.edu Subject: office hour... Sorry, I got stuck up in the city today. I will be in my office for the next few hours. So if you have some doubts that you want clarified, we can meet in 226a/b. Just send me a mail and we will fix up a time. -- Ashish
Date: Tue, 1 Dec 1998 21:58:08 -0800 (PST) From: Nathan Schaffer <maxwel at s.washington.edu> To: cse40 at s.washington.edu Subject: for statements is this syntax allowed for x[1] := 0 to 5 do output:= x[1]; end; where x is defined as var x:array [5] of int;
Date: Tue, 01 Dec 1998 23:18:38 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> Reply-To: ruzz at s.washington.edu Organization: University of Washington, CSE X-Accept-Language: en To: Nathan Schaffer <maxwel at s.washington.edu> CC: cse40 at s.washington.edu Subject: Re: for statements References: <Pine.OSF.4.02A.9812012155250.27042-10000 at anjuan.cs.washington.edu> No, not legal. Both the project description and extended BNF say: <for stmt> ::= for <id> := <expr-1> to <expr-2> do <stmt list> end I.e. the control variable is a declared integer ID token, not an arbitrary integer l-value. Nathan Schaffer wrote: > > is this syntax allowed > > for x[1] := 0 to 5 do > output:= x[1]; > end; > > where x is defined as > > var x:array [5] of int;
Date: Sun, 06 Dec 1998 23:30:22 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> Reply-To: ruzz at s.washington.edu Organization: University of Washington, CSE X-Accept-Language: en To: cse40 at s.washington.edu Subject: Office Hours, Monday, Wednesday & Beyond 1) Monday 12/7: I have an Extremely Boring Meeting I should go to during my office hour tomorrow (right after class). I'd much, much rather talk to you during office hours, but would feel both forsaken and guilty if I sit in my office alone for the whole hour and neither talk to you nor go to the Extremely Boring Meeting, so Please Come To Office Hour, and Please Tell Me In Advance That You Will Come If I don't hear from you, I'll probably sigh and go to the Extremely Boring Meeting instead. 2) Wednesday 12/9: Another Extremely Boring Meeting, but this one I can't skip, so office hour will be shifted 1/2 hour later: 10:30-11:30. 3) After Wednesday: No regularly scheduled hours, but a. send mail or call (543-6298) & we can arrange something b. Is there interest in a review session before the final, say Monday afternoon or early evening? I could be persuaded...
Date: Mon, 7 Dec 1998 14:49:55 -0800 From: aa at s.washington.edu SUBJECT: Studying for exams Hi, I am interested in getting together to study for the exam, either some evening this week or over the weekend. If any of you have been working alone on your project and are interested in getting together and studying for the final, please let me know. Thanks - Akash aa at s.washington.edu
Date: Mon, 07 Dec 1998 15:15:51 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: review session? I will run a review session sometime next monday. If you think you will attend, please send me your available times, say between 8:00 AM and 7:00PM, Monday 12/14. Also, I won't prepare anything formal, so come with some questions prepared. Better yet, mail your questions to the list so we can all think about them. -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Mon, 7 Dec 1998 15:20:39 -0800 (PST) From: Mike Palmer <palme at s.washington.edu> To: "Walter L. Ruzzo" <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: Re: review session? I am available all day... Mike On Mon, 7 Dec 1998, Walter L. Ruzzo wrote: > I will run a review session sometime next monday. If you think you will > attend, please send me your available times, say between 8:00 AM and > 7:00PM, Monday 12/14. > > Also, I won't prepare anything formal, so come with some questions > prepared. Better yet, mail your questions to the list so we can all > think about them. > > -- > > Walter L. Ruzzo > Computer Science and Engineering > University of Washington > Box 352350 > Seattle, WA 98195-2350 > Phone: (206) 543-6298 > Fax: (206) 543-2969 > Email: ruzz at s.washington.edu >
Date: Mon, 7 Dec 1998 15:22:35 -0800 From: aa at s.washington.edu SUBJECT: Re: Studying for exams [CSE401] I actually did not BCC. I am sorry about it showing as BCC. I am using a hack email program to send mail and it is hiding the "To:" field. I am referring to the CSE401 class. Thanks -Akash -----Original Message----- From: Nathan Schaffer [mailto:maxwel at s.washington.edu] Sent: Monday, December 07, 1998 3:18 PM To: aa at s.washington.edu Subject: Re: Studying for exams it would help to know to which class you are responding to. If you bcc a list it does not appear in the header. On Mon, 7 Dec 1998 aa at s.washington.edu wrote: > Hi, > > I am interested in getting together to study for the exam, either some evening this week or over the weekend. If any of you have been working alone on your project and are interested in getting together and studying for the final, please let me know. > > Thanks > - Akash > aa at s.washington.edu >
Date: Wed, 9 Dec 1998 14:41:36 -0800 (PST) From: Mariani Alimin <marian at s.washington.edu> To: "Walter L. Ruzzo" <ruzz at s.washington.edu> cc: cse40 at s.washington.edu Subject: Re: review session? After 12 will be good...
Date: Wed, 09 Dec 1998 17:21:41 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> To: cse40 at s.washington.edu Subject: Old CSE401 Final Last Spring's 401 final exam has been added to the SPRING course web: http://www.cs.washington.edu/education/courses/401/98sp/details/ 3 pages; .ps and .pdf versions. -- Walter L. Ruzzo Computer Science and Engineering University of Washington Box 352350 Seattle, WA 98195-2350 Phone: (206) 543-6298 Fax: (206) 543-2969 Email: ruzz at s.washington.edu
Date: Thu, 10 Dec 1998 22:28:48 -0800 From: "Walter L. Ruzzo" <ruzz at s.washington.edu> Reply-To: ruzz at s.washington.edu Organization: University of Washington, CSE X-Accept-Language: en To: cse40 at s.washington.edu Subject: CSE 401 REVIEW SESSION The votes are counted - The 401 review session will be *** Monday, 12/14, 12:30-1:30, in Sieg 422 *** Apologies to the few of you who can't make that time. Send me mail if you want to set an appointment for another time.
Date: Mon, 14 Dec 1998 18:57:26 -0800 (PST) From: "'Bo' William Brinkman" <bobrin at .washington.edu> To: cse40 at s.washington.edu Subject: Today's review session Can anyone tell me a few highlights from today's session: Did Ruzzo give any big hints as to what would be on the test? I couldn't come because my Dance professor moved the final to 12:30 today. Thanks alot! -- William "Bo" Brinkman II http://weber.u.washington.edu/~bobrink bobrin at .washington.edu
----------------------------------------------------------------------

401admin at cs.washington.edu (Last Update: 02/26/05)