Git Product home page Git Product logo

csc4351's Introduction

CSC 4351 Projects

This repo holds work for the CSC 4351 class Compiler Construction.

Setup Script

To get started pull the repo and run the setup script.

The setup script will guide you through the process of creating an environment file, and downloading the file from the classes server.

clone [email protected]:jmhooper/CSC4351.git
./setup

After you run the setup script, you should have all the files you need to build the projects.

Environment

After the setup script, you will still need to load the environment file for your current terminal session. If a rule for loading this file isn't added to your .bashrc, you will need to re-load this file every time you open the project in a new terminal window.

source .env

Aliases

Some aliases for working with the projects are provided in the file named ".aliases". You can run source .aliases to load these aliases.

If a rule for loading this file isn't added to your .bashrc you will have to re-load the aliases everytime you open the project in a new terminal window.

Profiles

Inside each project directory there is a file called ".profile". These are some variables that make the project work.

Everytime you switch to a project, you will need to load that projects profile.

cd prog1/
source .profile

If you loaded the aliases file, then you can use the aliases to switch between project without having to set the profile. The alias _prog1 can be used to load Project 1, _prog2 for Project 2, and so on.

Build and run the project

After everything is configured, you should be able to use a projects makefile to build the project.

_prog1
make
java Parse.Main test.tig

csc4351's People

Contributors

fran5258 avatar

Watchers

James Cloos avatar Dylan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.