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.5.tar.gz
.
File metadata
- Download URL: vyxal-2.7.5.tar.gz
- Upload date:
- Size: 128.6 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.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34cc12c49f930034a3980c6fa93394155574eba2f6e5d9266fb69ea81546d02 |
|
MD5 | 7a8267200191ef21f186643cd429bb74 |
|
BLAKE2b-256 | 0426c8782e85a665b0114a64892c15454aeed46d27212584c4b6ff5918ef91fd |
File details
Details for the file vyxal-2.7.5-py3-none-any.whl
.
File metadata
- Download URL: vyxal-2.7.5-py3-none-any.whl
- Upload date:
- Size: 130.8 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.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4287b41717a6a3f18c7e6330371dccec81349e0783957ddbaa13e94837671be3 |
|
MD5 | 3148872501b669ba7a1d084e95efd22c |
|
BLAKE2b-256 | cf7f4e56bbb326882fda45d6c075e5e2ceb12d2e7ce1c61901e7eb7aaf5cdc5d |