Skip to main content

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 special syntax.

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arrowpython-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

arrowpython-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file arrowpython-0.0.1.tar.gz.

File metadata

  • Download URL: arrowpython-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for arrowpython-0.0.1.tar.gz
Algorithm Hash digest
SHA256 007021035f0112b6483eb6de3f643ca129d1199dd5390fcaaa4eb9539953cf6b
MD5 6eb3603d38bfb1c9224148d001404753
BLAKE2b-256 4c5433b0fac317d5799b19877a339f943b8ccf32ef3fe767396bf4918d3fab64

See more details on using hashes here.

File details

Details for the file arrowpython-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: arrowpython-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for arrowpython-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bd34e01a8b0f8153116d015e57a0ebad1244015f36f80c56c5bd9a491965eb9
MD5 e82ae60782a1658b410687a8359af36c
BLAKE2b-256 919bbd6db23da63f992ce7ee561982bcf5f95ebbbdc5465ecd806448f6c90650

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page