Skip to content

Commit

Permalink
README: add build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunix00 committed Jul 13, 2024
1 parent b323ced commit 888fae1
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# SPL
Another programming language (WIP).
Simple programming language (WIP).

## Build instructions

### Prerequisite
You need to have the following installed on your system:
- CMake 3.25+.
- A C++ Compiler.
- Git
- Flex
- Bison

### Cloning the repo
```console
git clone https://github.com/mrunix00/Yasi.git
cd Yasi/
git submodule update --init
```

### Build
```console
mkdir build && cd build
cmake .. && cmake --build .
./SPL
```

## Syntax
### Variable declaration
Expand Down Expand Up @@ -55,4 +79,4 @@ for define i = 0; i < 20; i++ {
- [ ] Garbage collector
- [ ] Importing libraries
- [ ] Standard library
- [ ] JIT compiler
- [ ] JIT compiler

0 comments on commit 888fae1

Please sign in to comment.