https://github.com/matographo/compilerbau
https://github.com/matographo/compilerbau
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/matographo/compilerbau
- Owner: Matographo
- Created: 2025-02-11T17:51:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-17T16:34:07.000Z (over 1 year ago)
- Last Synced: 2025-03-17T17:41:51.316Z (over 1 year ago)
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compilerbau
## Installation & Start
### Prerequisites
* UNIX-System
* Node `v23.0.0` or greater ([nvm](https://github.com/nvm-sh/nvm) is recommended)
* Maven `v3.9.4` or greater
* gcc (C Compiler)
* g++ (C++ Compiler)
* Make
### Setup
1. Navigate to the `tree-sitter-cma` directory
```zsh
cd tree-sitter-cma
```
2. Install the Node dependencies
```zsh
npm install
```
3. Navigate to the `cma` directory
```zsh
cd ../cma
```
4. Compile the Java project with maven
```zsh
mvn clean install
```
5. Move back to the main directory
```zsh
cd ..
```
6. Run the `compile.sh` script with the files to be compiled as arguments
```zsh
./compile.sh test1.c test2.c
```