Skip to main content

A concise, procedural programming language

Project description

Q

PyPI version

NOTICE: This is work in progress

A concise, procedural programming language.

Installation

To install Q from pip, use the command:

$ pip install qlang

If you want to use Q from a shell script, navigate to the directory where Q is installed and create a symbolic link:

ln -s ./cli.py q

Usage

To use Q from a shell script:

$ q # run interactive shell
$ q <file> # run file

To use Q using the Python API:

from q import run, run_text

run_text('<text>') # run text
run('<file>') # run file

Example program

Factorial

F={$0>1?$0*F($0-1):1}

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

qlang-0.1.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

qlang-0.1.4-py3-none-any.whl (8.2 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