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

https://github.com/zerointensity/controlmanual

Advanced command interpreter.
https://github.com/zerointensity/controlmanual

Last synced: 5 months ago
JSON representation

Advanced command interpreter.

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
```