https://github.com/zerointensity/controlmanual
Advanced command interpreter.
https://github.com/zerointensity/controlmanual
Last synced: 5 months ago
JSON representation
Advanced command interpreter.
- Host: GitHub
- URL: https://github.com/zerointensity/controlmanual
- Owner: ZeroIntensity
- License: mit
- Created: 2021-10-09T15:44:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T18:08:18.000Z (over 2 years ago)
- Last Synced: 2025-08-29T23:29:03.362Z (5 months ago)
- Language: C
- Homepage:
- Size: 233 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Control Manual
## Alternative command interpreter
### What is this?
This is an alternative to traditional command interpreters. I'll put more here as this project progresses, but essentially heres what it's supposed to look like:
```
# Bash
if [[ $something -eq 0 ]]; then
echo "Something happened"
else
echo "Something else happened"
fi
ls | grep myfile.txt
```
```
# Control Manual
if something == 0 {
echo "Something happened"
} else {
echo "Something else happened"
}
match ls() "myfile.txt"
```
### Installation
Since this is still a heavy WIP, there isn't really any installation process. However, you can clone the repository and build, like so:
```bash
$ git clone https://github.com/ZeroIntensity/controlmanual
$ cd controlmanual
$ ./build.sh
$ gcc my_impl.c -Wall -l:libcontrolmanual.so -I include
```