[logo] Computing Systems
CS134b, Winter 2005

Programming languages and compilers

Home
Policy
Syllabus
Assignments
Using Osaka
Pearls
Text
People
FAQ
Mailing Lists
Previous Years
Links
Style Guide
Resources OCaml Syntax Syntax Metalanguage

Homeworks

Labs

  1. Random search trees (lab1.ps) [errata]
    [lab1.tgz]
  2. Lexing and parsing (lab2.ps.gz)
    Solution: fj_ast_lex.mll, fj_ast_lex.mli, fj_ast_parse.mly
  3. Semantic analysis (lab3.ps.gz)
    Solution: fj_ir_ast.ml, fj_ir_exp.ml
    You may decide to use the solution fj_ir_ast.ml without any penalty. If you look at the solution, you must mention it in your README file when you submit. There is 10% extra credit if you submit a working fj_ir_ast.ml file without looking at the solution.
  4. CPS and closure conversion (lab4.ps.gz)
    Solution: fj_fir_ir.ml, fj_fir_closure.ml
  5. Code generation (lab5.ps.gz)
    Solution: ra_live.ml, ra_main.ml, x86_codegen.ml, fj_fir_dead.ml, fj_fir_inline.ml
    Tests: Test5d.java, Pi.java

How/what to submit

Homework assignments are due at the end of class on the due date.

Lab assignments are due 11:59pm on the due date.

Written assignments

Written assignments may be submitted online or on paper. To submit your written work online, send it by email to cs134-admin@metaprl.org . To submit a paper assignment, you may:

  • Hand it in in class on the due date,
  • Give it to the instructor or one of the TAs,
  • Place it in the mailbox on Jason's door (260 JRG).

You must include the following with your assignment to receive credit.

  • Your name (yes, really, we want to know who you are).
  • Your CS account username.
  • The date.

Laboratory assignments

Laboratory assignments are submitted using Osaka. The Osaka page contains a brief synopsis of the commands you will use to submit your assignment. Please consult the instructions for Osaka before you attempt to submit your first assignment. For group assignments, only one member of the group needs to submit the assignment.

Submitting lab1

You can submit your lab1 assignment using your CS account. Please login to your CS account, change directory to the top directory of your lab1 submission, and type cs134-submit lab1. For example, if I stored my files in ~/CS134/lab1, I would type:

   cd ~/CS134/lab1
   cs134-submit lab1


Webmaster | Contact Us | Generated on %%DATE%%

Copyright (c) 2005 Caltech CS134 Course Administration.
Computer Science Dept., California Institute of Technology