CS 333: Assignment #3

Language Resources

In this lab you'll start learning your selected languages.


Tasks

  1. For each of your languages, you and your partner should make a single top level wiki page. On the top level page, put a brief description of the language and make links to each of your projects for that language. You are free to label the links with the meaning of the project, rather than 'Project 3'.

    If you prefer to make a standard web page instead of a wiki page for your language, that is fine. We can set you up with space on a department server where you can do your work.

  2. For each of your two languages, develop a language resource wiki page or web page. Spend some time searching for useful resources, documentation, and formal descriptions of the language. Organize the page in a useful way. Think of it as your reference manual for the rest of the semester, so make it useful for you.
  3. Write an example program in each language that demonstrates the rules for identifier naming, variable declarations and identifier scoping. Focus on any special rules or capabilities of your language. Make a wiki page with the code and a brief explanation how the scoping rules apply to the code.
  4. Write an example program in each language that executes a binary seach on a list or array of numbers. Make it a function/method, if possible. Make a wiki page that explains the basic syntax of the language, using the binary search program as an example.
  5. Write an example program in each language that demonstrates all of the basic built-in types and how to construct aggregate types (e.g., records, classes or structures). The program should demonstrate which of the standard suite of operators (+-/*%) manipulate which types and what the resulting type of each operation is. Use it to explain the type system in your language.

Extensions


Writeup

The writeup for this week is the assignment itself. Once you have written up your assignment, give your main page for each language the label:

cs333f12language