Vyxapedia

Welcome to Vyxapedia!

Vyxal is a stack-based recreational programming language created by lyxal and maintained by the Vyxal team for code golf, a competition to write the shortest code to complete a certain task.

Vyxal uses a custom Single Byte Character Set (SBCS), so each of its characters count as one byte (this is important, as code golf is usually scored in bytes as opposed to characters). You can run Vyxal on the official online interpreter, or the interface on this site here, which uses the official site's API.


How to get started

Vyxal is easier to get into than most golfing languages, as its design philosophy values elegance and readability and includes components from practical languages. However, mastering it requires just as much skill and experience as any other language.

If you are completely new to stack-based programming and Vyxal, a good place to start is the beginners' page under the resources tab. There are other resources available for documentation and lessons ranging from introductory to more advanced. Finally, you can find help in the Vyxal chat room on Stack Exchange, but you will need a Stack Exchange account with 20 reputation to send messages in that room.


Installation

You don't need to install Vyxal if you just want to use it - there is an official online interpreter and an interpreter on this website here. Both should work exactly the same, as the latter calls the former's API.

If you are just running Vyxal, you can install it with

pip install vyxal

If you are working on Vyxal, install Poetry, clone the repository, and run

poetry install

Usage

To run using the script:

vyxal <file> <flags (single string of flags)> <input(s)>

Using Poetry:

poetry run vyxal <file> <flags (single string of flags)> <input(s)>