Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yemouu/sclinterpreter
Group project from KSU's CS 4308 Concepts of Programming Languages Course
https://github.com/yemouu/sclinterpreter
Last synced: 24 days ago
JSON representation
Group project from KSU's CS 4308 Concepts of Programming Languages Course
- Host: GitHub
- URL: https://github.com/yemouu/sclinterpreter
- Owner: yemouu
- License: 0bsd
- Created: 2024-08-31T20:26:27.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T03:12:15.000Z (about 2 months ago)
- Last Synced: 2024-09-11T08:44:52.533Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# SCL Interpreter
This is the group project for Kennesaw State University's 'CS 4308 - Concepts of Programming Languages' course.
For this project we were tasked with writing a lexer, parser, and interpreter for fictional(?) language called SCL.
Our interpreter didn't need to interpret the entirety of this fictional language, just the sample file of our [choice](examples/bitops1.scl).## Building and Executing
If you are using NixOS, you can run `nix build`.
This will automatically get the dependencies needed to build this project as well as build the project itself.
Alternatively, you can run `nix run .# -- ` to build and run this project in the same command.Otherwise, you will need the following dependencies:
- jdk17+
- mavenTo build, use maven:
```sh
mvn package
```To run, excute:
```sh
java -jar target/scli-1.0.0.jar
```