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: 6 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-01T13:15:56.000Z (over 1 year ago)
- Last Synced: 2025-06-09T23:41:26.249Z (8 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
- License: LICENSE
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
