This parser is outdated. Kuna is the new Toaq parser.
A tool for parsing and interpreting Toaq Gamma text.
It can currently be invoked from Discord using %tree Hıo ka or %logic Hıo ka or (silly) %english Hıo ka.
This is the "core" of zugaı that does all the hard work.
To build, get Haskell Stack and try stack build, stack test, stack run zugai-exe.
See stack run zugai-exe -- --help for command line instructions.
A Python-based Discord bot that invokes the zugaı core.
Instructions:
- Put
zugai-exeon the PATH by runningstack install - Put
inkscapeon the PATH - Run
python3 -m pip install discord - Set an environment variable
export ZUGAI_DISCORD_TOKEN=<your bot token> - Run
python3 discord_bot.py
It responds to %tree/%logic/%english followed by a Toaq sentence.
A Python-based HTTP server. GET /zugai?text=jadi&to=english responds with zugai's result as plain text.
Try GET /zugai to see the supported &to= formats.
Instructions:
- Put
zugai-exeon the PATH by runningstack install - Run
python3 -m pip install flask - Run
FLASK_APP=web_server python3 -m flask run