A golfing language that has aspects of traditional programming languages.
Project description
Vyxal
Vyxal is a golfing language with a unique design philosophy: make things as short as possible but retain elegance while doing so. In very simple terms, this means keeping aspects of traditional programming languages that most developers are familiar with, while still providing commands that allow golfers to actually win challenges.
Vyxal is not a language which forces users to mash random characters togther until something works. Nor is it a language that needs to be verbose. Vyxal is terse when it needs to be, and readable/stylish when it wants to be.
Vyxal is also deliberately designed to be an easy language to learn. While it may be possible to teach golfers how to program in Vyxal, it is far more likely that they will just learn through experience. The language is designed to be easy to understand, and to allow for fast development.
Ultimately, Vyxal is a language for golfers, by golfers.
Installation
If you only want to run Vyxal, all you need to run is this:
pip install vyxal
If you are working on Vyxal, you can clone this repo and then run
pip install -e <folder where you cloned Vyxal>
Usage
To run using the script:
vyxal <file> <flags (single string of flags)> <input(s)>
To run using Python:
python3 -m vyxal <file> <flags (single string of flags)> <input(s)>
Why Make Another Golfing Language When There's Like Hundreds of Them Already?
Most golfing languages are created with the intent of terse code - a goal that is obviously essential to the very core of what a golfing language is. However, this is mostly done at the expense of losing constructs within traditional programming languages that make things simple to do. Vyxal's raison d'être is to provide structures of practical languages - such as functions, variables and comments - that are oftentimes lost within the modern golfing language market.
Another reason for Vyxal is to provide an easy to use golfing language that anyone can quickly pick up - by providing tools that both new and experienced users are familiar with, Vyxal aims to cater to a wide demographic of golfers.
Put simply, Vyxal exists because golfers need a golfing language - and because golfing languages could be better.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vyxal-2.7.3.tar.gz
.
File metadata
- Download URL: vyxal-2.7.3.tar.gz
- Upload date:
- Size: 127.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1895680e1b3fa414b8c7a4fabb55552ed934e56324ba88f9b38344f65641bee5 |
|
MD5 | d3d2564207d258b5d969a65e04f2efbc |
|
BLAKE2b-256 | 2da6820a48450368c707fd0530f7d6e16cf2322389d3cadb0d4065ece6c8cbd2 |
File details
Details for the file vyxal-2.7.3-py3-none-any.whl
.
File metadata
- Download URL: vyxal-2.7.3-py3-none-any.whl
- Upload date:
- Size: 129.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a83feb1402828451abdf158723a25a4718ecff3b61a202c4e1d1ebb279615b |
|
MD5 | a92b24ece590b43b052afc6dca798d47 |
|
BLAKE2b-256 | 78ac18eca197b26363c71ddec490b2749150b157105d66688ef77d22dfa13aa4 |