Chapel domain for Sphinx
Project description
Package documentation is available on readthedocs.org.
Installation
To install:
pip install sphinxcontrib-chapeldomain
To install from source on github:
git clone https://github.com/chapel-lang/sphinxcontrib-chapeldomain cd sphinxcontrib-chapeldomain python setup.py install
Getting Started
This is an example that covers several features of the Chapel domain:
.. chpl:module:: GMP :synopsis: multiple precision integer library .. chpl:record:: BigNum multiple precision instances .. chpl:method:: proc add(a:BigNum, b:BigNum) Add two big ints, ``a`` and ``b``, and store the result in ``this`` instance. :arg a: BigNum to be added :type a: BigNum :arg BigNum b: BigNum to be added :returns: nothing, result is stored in current instance .. chpl:itermethod:: iter these() ref Arbitrary iterator that returns individual digits of this instance. :ytype: reference :yields: reference to each individual digit of BigNum
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for sphinxcontrib-chapeldomain-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ae8050ab0aa5419fc1f16b525695f23a92a5e8d10fda90ef69e55e7cc0d0bdb |
|
MD5 | 61156d3e3f83074e18c68c90f6042c75 |
|
BLAKE2b-256 | 0560faf2daf9c85f4fe049a0870be4a3871ce42e508d2140e650fc7b2b4bd45a |