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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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