Chapel domain for Sphinx
Project description
Package documentation is available on readthedocs.org.
Installation
To install:
python3 -m 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
Built Distribution
Close
Hashes for sphinxcontrib-chapeldomain-0.0.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be5df8d35924f69787435dcf2af8ef5be45fef1b1cadde6c8994be44d479878c |
|
MD5 | 7b8cbf82bb4b4acad11ed0689900c608 |
|
BLAKE2b-256 | f0966f403bbf237d7a197cc263d22db340c6cc8f0d2a3b52bbe5af1ab847f091 |
Close
Hashes for sphinxcontrib_chapeldomain-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cf207fc023f7714a1a7e6bea8482a24cfe1e54203888bee553cffde503bfd20 |
|
MD5 | 57c11c36deacec09a16d028b5f670447 |
|
BLAKE2b-256 | 170afcddbe10eedec96c3862bbe2be2a6edf03e3cc0e26b14555a516092bf164 |