Name | calciumpy JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | A Calcium language interpreter |
upload_time | 2025-07-13 01:47:28 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
calcium
interpreter
json
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# calciumpy
A Calcium language intepreter on Python
## What is Calcium language?
Calcium is a programming language that takes a JSON array as input. It is interoperable with the Python language, allowing you to utilize Python's standard libraries and more. It is primarily designed as a subset of Python.
## How to create the interpreter and run Calcium code
```python
from calciumpy.runtime import Runtime
# Calcium code is given as a JSON array.
calcium_code = [
[1, [], "#", "0.1.0"],
[1, [], "expr", ["call", ["var", "print"], ["Hello, World."]]],
[1, [], "end"],
]
# The Runtime executes Calcium code.
r = Runtime(calcium_code)
r.run() # outputs 'Hello, World.'
```
Raw data
{
"_id": null,
"home_page": null,
"name": "calciumpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "calcium, interpreter, json",
"author": null,
"author_email": "0xCAF2 <roki@0xcaf2.dev>",
"download_url": "https://files.pythonhosted.org/packages/da/d2/1862c2276ee6e72aa758779ad7a2983557324349081e07d9f66daf8cf307/calciumpy-0.1.0.tar.gz",
"platform": null,
"description": "# calciumpy\n\nA Calcium language intepreter on Python\n\n## What is Calcium language?\n\nCalcium is a programming language that takes a JSON array as input. It is interoperable with the Python language, allowing you to utilize Python's standard libraries and more. It is primarily designed as a subset of Python.\n\n## How to create the interpreter and run Calcium code\n\n```python\nfrom calciumpy.runtime import Runtime\n\n# Calcium code is given as a JSON array.\ncalcium_code = [\n [1, [], \"#\", \"0.1.0\"],\n [1, [], \"expr\", [\"call\", [\"var\", \"print\"], [\"Hello, World.\"]]],\n [1, [], \"end\"],\n]\n\n# The Runtime executes Calcium code.\nr = Runtime(calcium_code)\nr.run() # outputs 'Hello, World.'\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A Calcium language interpreter",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/0xCAF2/calciumpy"
},
"split_keywords": [
"calcium",
" interpreter",
" json"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f127a9971181f15e815989f1f9125782e0681235ab3538afaa7512a1bf065922",
"md5": "3f9b6fec0bebfcc36592a8f06e27d0f0",
"sha256": "3b71f17ca57386674b90324d075af5d30e040615d80f6084fe930e9d08be805b"
},
"downloads": -1,
"filename": "calciumpy-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3f9b6fec0bebfcc36592a8f06e27d0f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 21982,
"upload_time": "2025-07-13T01:47:26",
"upload_time_iso_8601": "2025-07-13T01:47:26.651890Z",
"url": "https://files.pythonhosted.org/packages/f1/27/a9971181f15e815989f1f9125782e0681235ab3538afaa7512a1bf065922/calciumpy-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "dad21862c2276ee6e72aa758779ad7a2983557324349081e07d9f66daf8cf307",
"md5": "f61ecdf022d5a229f91d009cda212bd7",
"sha256": "60f44d2c54a76eef981713b948559d21f5d55894e84ad2390ad88de475585e73"
},
"downloads": -1,
"filename": "calciumpy-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "f61ecdf022d5a229f91d009cda212bd7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 16012,
"upload_time": "2025-07-13T01:47:28",
"upload_time_iso_8601": "2025-07-13T01:47:28.051825Z",
"url": "https://files.pythonhosted.org/packages/da/d2/1862c2276ee6e72aa758779ad7a2983557324349081e07d9f66daf8cf307/calciumpy-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-13 01:47:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "0xCAF2",
"github_project": "calciumpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "calciumpy"
}