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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qlang-0.1.4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file qlang-0.1.4.tar.gz.

File metadata

  • Download URL: qlang-0.1.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

File hashes

Hashes for qlang-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3d3fd40e3e799caa5c73fa4b0adcf74cac3fa77789f5e9b4b4e6b156924f1844
MD5 9a96a758e9dd11277f51c1f1bb8ad6ae
BLAKE2b-256 b43b896ea4378d7acf22a72f28d228145d782d7dff7176de9d1c1a59ce5f8527

See more details on using hashes here.

File details

Details for the file qlang-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: qlang-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7

File hashes

Hashes for qlang-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84d6570352e0f9e1618fc77e09abe1ff57e4d22c39ff91f95a1ee9a752073996
MD5 197ea8cc8250f1342917a467e1983b94
BLAKE2b-256 a645594e0b15210f1adff17e712a12977e0366cfc8d4b968d9274bdf465d6ad1

See more details on using hashes here.

Supported by

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