A concise, procedural programming language
Project description
Q
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d3fd40e3e799caa5c73fa4b0adcf74cac3fa77789f5e9b4b4e6b156924f1844
|
|
| MD5 |
9a96a758e9dd11277f51c1f1bb8ad6ae
|
|
| BLAKE2b-256 |
b43b896ea4378d7acf22a72f28d228145d782d7dff7176de9d1c1a59ce5f8527
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84d6570352e0f9e1618fc77e09abe1ff57e4d22c39ff91f95a1ee9a752073996
|
|
| MD5 |
197ea8cc8250f1342917a467e1983b94
|
|
| BLAKE2b-256 |
a645594e0b15210f1adff17e712a12977e0366cfc8d4b968d9274bdf465d6ad1
|