Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aloussase/sotest

A tiny scripting language to test loading shared libraries
https://github.com/aloussase/sotest

Last synced: 1 day ago
JSON representation

A tiny scripting language to test loading shared libraries

Awesome Lists containing this project

README

        

# sotest

A tiny interpreter for loading and testing shared libraries.

## Installation

You'll need a C compiler and CMake installed.

```
git clone https://github.com/aloussase/sotest
cd sotest
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build
```

## Usage

To spawn a REPL:

```
./build/sotest
```

To evaluate the contents of a file:

```
./build/sotest
```

Replace `` with the name of your script. You can use the included
`test.sc` script to test the interpreter if you want.

## Demo

### Interactive mode

![interactive](./assets/interactive-mode.png)

### Batch mode

![batch](./assets/batch-mode.png)