a small bison based cobol interpreter for cptr354
Go to file
Josh 2d3dfc621c reducing conflicts 2024-11-12 15:48:10 -08:00
lab-2 fix sorting code and add details about integer sort 2024-10-21 20:27:10 -07:00
lab-3 add sorting lab test 2024-11-07 11:33:12 -08:00
lab-4 reducing conflicts 2024-11-12 15:48:10 -08:00
lab-5 reducing conflicts 2024-11-12 15:48:10 -08:00
.gitignore Adding testing to lab 5 2024-11-07 11:36:09 -08:00
.gitlab-ci.yml Adding testing to lab 5 2024-11-07 11:36:09 -08:00
README.md Lab 2 2024-10-10 11:20:49 -07:00

README.md

Language Interpreter Lab

The project has been set up for Flex and Bison. You must add your language definitions to the lab-2 folder. Each lab has a separate folder where you will continue working on your scanner, parser, and interpreter. The Unit Test will be automatically run when you commit to Gitlab.

Forking the Repository

To create a fork of this repository, click on the fork button on the original repository at https://gitlab.cs.wallawalla.edu/cptr354/language-interpreter-lab. Copy the URL of your forked repository by clicking the clipboard icon next to it. The URL should look something like:

git@gitlab.cs.wallawalla.edu:YourUsername/language-interpreter-lab.git

Once you have forked the repository, you must set its visibility level to private so that only you can see it. To do this,

  1. Click on the gear icon at the top right of the project page in GitLab.
  2. Select Edit Project from the drop-down menu.
  3. Set the Visibility Level to Private in the Project settings box.
  4. Scroll down until you find the green Save changes button and click it.

Add your partner to the project. From the project homepage:

  1. Click on the side menu labeled Members.
  2. Search for your partner.
  3. Give them Maintainer access to the project.

Setting Up Your Local Workspace

Create your local workspace by cloning the repository to your machine. Put the repository in a place that will remember. You can clone the repository by using a command similar to this:

git clone git@gitlab.cs.wallawalla.edu:YourUsername/language-interpreter-lab.git

If you are asked to enter a password, you need to set up your SSH key.

ssh-keygen
more ~/.ssh/id_rsa.pub

Copy the generated public key into GitLab under your profile SSH keys

Finally, to make sure that you can receive updates easily (see below), type the following commands in the command window at the bottom of the Cloud 9 screen.

git remote add upstream git@gitlab.cs.wallawalla.edu:cptr354/language-interpreter-lab.git

Passing Tests

Every time you commit code and push it to GitLab, the test will be automatically executed. You can find the results by looking at the CI/CD menu option. It will list the recent jobs executed and show their status. You can find the details of each job by clicking on them.

Examples

A few repositories with code describing b-minor which is described in the textbook.