https://github.com/aloussase/sotest
A tiny scripting language to test loading shared libraries
https://github.com/aloussase/sotest
c interpreter programming-language shared
Last synced: 3 months ago
JSON representation
A tiny scripting language to test loading shared libraries
- Host: GitHub
- URL: https://github.com/aloussase/sotest
- Owner: aloussase
- License: gpl-2.0
- Created: 2024-10-31T12:19:32.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-11-01T13:15:56.000Z (9 months ago)
- Last Synced: 2025-02-16T07:16:37.844Z (5 months ago)
- Topics: c, interpreter, programming-language, shared
- Language: C
- Homepage:
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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

### Batch mode
