. Check out New things on the Course Web Page http://www.csci.csusb.edu/cs320/index.html#New . Introduction In this lab you will (1) prepare for doing the project. (2) Make a more complicated personal CS320 page and link it to a set of lab pages that you will complete in the later laboratories. (3) You will to look at some BNF resources. . Projects Your project is based on studying and improving a very simple language called SMALL: http://www.csci.csusb.edu/dick/cs320/small.html Have a look at this page. You will be reworking this document as part of a team project that will take the rest of this quarter. For a start look for dumb mistakes. I've planted some and I'm sure that there are others:-) Save a copy of it and its raw form by Shift Clicking the link below: http://www.csci.csusb.edu/dick/samples/small.mth This the way that I write 90% of all my web pages. If you write a file in the same format: XBNF + bulleted headings and with suffix .mth you can instantly create and review an HTML page. Suppose the file is called foo.mth you write the UNIX command: Q small.mth and Q will translate the XBNF etc into HTML with contents, index, etc. and call the Lynx browser to view it. Quit out of Lynx by tapping the the Q key. . Making a Your CS320 Page If you already have a public file called cs320.html on web.csusb.edu then download it, edit it to include a list with 9 links Lab .... to the nine lab files you will create in this course. Otherwise (you haven't got a CS320 page yet) Download this http://www.csci.csusb.edu/cs320/lab/cs320.html This HTML file starts with a heading

...

This is an HTML file that contains an ordered (numbered) list
    ...
of items
  • .... (Hint: where is your HTML handout?) Each item in the list is an "anchor" ... that has a Hypertext REFerence (HREF="...") to another page. Edit your cs320.html file to show your name. Then fix the URLs: Look at the name of your home page: //web.csusb.edu/public/groupname/username Find all occurrences of /group/ and in cs320.html and put your own user-group in its place (csci,cs202, cs201, grad...) in its place. Find all occurrences of /user/ in cs320 and change it to your user-name Save and then copy the cs320.html page to your public directory. . Make templates for the lab pages Download a copy of this (use Shift/Click in Netscape, 'd' in Lynx): http://www.csci.csusb.edu/cs320/lab/lab02.html Make 8 copies with this UNIX command for n in 03 04 05 06 07 08 09 10 do cp lab02.html lab$n.html done Edit lab02.html to make it personal and describing what you have learned in this lab so far. Again copy the lab files to your public site cp lab*.html /web/public/...... . Review Point Netscape at your public pages... and make sure the links work when clicked. . Help with Syntax description Chapter 3 and the BNFs http://www.csci.csusb.edu/cs320/sebesta/03.html Answers to Problems (if you are interested) http://www.csci.csusb.edu/cs320/sebesta/03.answers.html http://www.csci.csusb.edu/cs320/index.html#Syntax Description Samples http://www.csci.csusb.edu/dick/samples/ http://www.csci.csusb.edu/cgi-bin/dick/lookup320 . Comments on up coming chapters Chapter 4 http://www.csci.csusb.edu/cs320/sebesta/04.html Chapter 5 http://www.csci.csusb.edu/cs320/sebesta/05.html . Earn credit Send 'dick' mail with subject cs320lab02 containing the URL of your CS320 page (and nothing else!).