Python's little programming language.
Project description
Capylang
Capylang is a pretty simple language.
Here is an example of using Capylang.
from capylang import capy
a = 5
b = 2
capy.help() # Prints the functions down
capy.log(str(capy.add(a,b))) # Prints 7 (also uses the add function)
capy.log(str(capy.sub(a,b))) # Prints 3 (also uses the subtract function)
capy.log(str(capy.multi(a,b))) # Prints 10 (also uses the multiply function)
capy.log(str(capy.div(a,b))) # Prints 2.5 (also uses the divide function)
capy.log(str(capy.hyp(a,b))) # Try this yourself for more info, check capy.help()
capy.log(str(capy.opp(a,b))) # Try this yourself for more info, check capy.help()
capy.log(str(capy.adj(a,b))) # Try this yourself for more info, check capy.help()
That's pretty much it for a basic tutorial of Capylang.
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
capylang-0.12.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for capylang-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad0059070c7cbd6d4aba410fee5abc92111ec10e824b82d4a62436cc032792a |
|
MD5 | 9a79fb231f7b764950c2393841f56d6f |
|
BLAKE2b-256 | 01be148280288957f3e639fe2eb686f39d6343ce897d141bbbdcfea830ea705c |