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
qlang-0.1.4.tar.gz
(5.5 kB
view hashes)
Built Distribution
qlang-0.1.4-py3-none-any.whl
(8.2 kB
view hashes)