Aaron Friesen


Arghonaut

November 7, 2021

pip install arghonaut git clone https://github.com/friedev/arghonaut.git

Arghonaut is an interactive interpreter, visualizer, and debugger for Argh! and Aargh!, which are Befunge-like esoteric programming languages designed by Sascha Wilde. Arghonaut is written in Python and includes an ncurses interface.

Arghonaut was created by Aaron Friesen for FOSS Jam 2021, a hackathon hosted by the UNL Operating Systems and Open Source Group.

Installation

pip install arghonaut

To use the UI, make sure you have ncurses or a suitable equivalent installed.

Usage

To run Arghonaut interactively, execute the following command, where src.agh is an Argh! or Aargh! source code file:

arghonaut src.agh

For more detailed usage information, run:

arghonaut --help

Keybindings

Arghonaut supports the following keybindings:

Batch Mode

Arghonaut can be run in batch mode by adding the --batch flag. In this mode, the curses interface will not be displayed, and input and output will be performed via standard input and standard output. Programs can be run interactively with standard input from the keyboard, or with redirected or piped input.

Examples

This repository includes some example Argh! and Aargh! programs written by Aaron Friesen. For more examples, refer to the Argh! Mercurial repository.

Contributing

To run Arghonaut from source:

python -m arghonaut src.agh

If you want to submit a patch, please follow these guidelines:

License

Arghonaut is licensed under the GNU General Public License Version 3. Argh! is licensed under the GNU General Public License Version 2, and permits the use of later versions of the license.