ArrowPython
A programming language that transpiles to python. It has extremely similar syntax, but instead of colons (:),
you use arrows (=>). Along with this, you are also able to call functions with only one argument with the following syntax:
function:argument
This allows for statements such as this in ArrowPython:
print:"hello"
or:
str:1234
It allows you to call single-argument functions whilst shortening the time it takes to write them.
To use arrow python, first install it using:
pip3 install arrowpython
Then, to use it in your program, create a new python file and before putting in any code write:
import arrowpython
If you are using IDLE, IDLE can often be finicky over syntax errors, as it tries to find then before the code is run. This way you will often have a hard time executing ArrowPython in IDLE. I'd reccomend using something like Sublime Text or VSCode.
With that out of the way, this is an example of the popular FizzBuzz program in ArrowPython:
import arrowpython
def fizbuzz:num =>
for fizzbuzz in range:num =>
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0 =>
print:"fizzbuzz"
continue
elif fizzbuzz % 3 == 0 =>
print:"fizz"
continue
elif fizzbuzz % 5 == 0 =>
print:"buzz"
continue
print:fizzbuzz
fizbuzz:51
Have fun coding!
Release files for arrowpython 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arrowpython-0.0.4.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arrowpython-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / arrowpython-0.0.4.tar.gz
| Download URL | arrowpython-0.0.4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4be0effa83912e428f27ed3527316f35e460834295c48f89d9f0a805bb9f1c4c
|
|
BLAKE2b-256 checksum How to use checksums |
719e9173621a41874c017eb373a76daf32e7830d40894307eb087618cb869099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / arrowpython-0.0.4-py3-none-any.whl
| Download URL | arrowpython-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
834eecb920da4be716cb442ad4a4b99c69301e3292cdf6f15cb6057793a87487
|
|
BLAKE2b-256 checksum How to use checksums |
c35425de5157464ca2227426f6b50126c13b4f0551cc934350a923e1d1a4046b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|