Skip to content

UCLA-CS-131/fall-23-project-starter

Repository files navigation

CS 131 Fall 2023: Project Starter

Hey there! This is a template repository that contains the necessary boilerplate for CS 131's quarter-long project: making an interpreter. The project specs are as follows:

  1. Project #1 Spec

There are three stages to the project; students are currently at the first. Thus, this folder contains the necessary bootstrapping code:

  • intbase.py, the base class and enum definitions for the interpreter
  • brewparse.py, which contains the parse_program function to parse Brewin programs
  • brewlex.py, which contains helper functions for brewparse.py

Some notes on your submission (for Project 1)

  1. You must have a top-level, versioned interpreterv1.py file that exports the Interpreter class. If not, your code will not run on our autograder.
  2. You may also submit one or more additional .py modules that your interpreter uses, if you decide to break up your solution into multiple .py files.
  3. You should not modify/submit intbase.py, brewparse.py, or brewlex.py; we will use our own when grading.

You can find out more about our autograder, including how to run it, in its accompanying repo.

Licensing and Attribution

This is an unlicensed repository; even though the source code is public, it is not governed by an open-source license.

This code was primarily written by Carey Nachenberg, with support from his TAs for the Fall 2023 iteration of CS 131.

About

Starter code for CS 131 (with Professor Carey Nachenberg) fall 2023 projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages