{ "info": { "author": "Dany Lewin", "author_email": "danyglewin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Interpreters" ], "description": "# Pikachu Interpreter\n\nThis is an interpreter for Pikachu for Python 2.7.x\n\nThe definition of the esoteric programming language named 'pikachu' can be found [here](http://trove42.com/introducing-pikachu-programming-language/). This is built as a cleaner version of https://github.com/joelsmithjohnson/pikachu-interpreter.\n\n### Installation:\n\n1. Run `$ pip install pikapy`\n2. Go to your Sublime Packages folder, which defaults to `~/Library/Application Support/Sublime Text 3/Packages` on Mac OSX and ` ` on Windows, create a new folder called Pikachu, and copy pikachu.sublime-syntax to there.\n\n3. In the same Packages folder, find `Color Scheme - Default`, and copy `pikachu.sublime-color-scheme` there.\n\n4. In Sublime Text, go to Preferences \u2192 Color Scheme, and select Pikachu.\n\n\n### Usage\n\nIn the command line, go to the installation directory, and run:\n\n```bash\n$ pikachu [arguments*]\n```\n\n\n### Pikachu Language\n\nIn Pikachu, you have two Pikachus (i.e. stacks): `pi pikachu` and `pika pikachu`. Upon starting a Pikachu script, the arguments are pushed into `pi pikachu` in the order they're given.\n\n#### Pikachu Syntax\n\n##### Arithmetic Operations\n\n - `pi pika ` - add the top two values in the given Pikachu, and push the sum to the same Pikachu\n - `pika pi ` - subtract the top value in the Pikachu from the second top, then push the difference\n - `pi pikachu ` - multiply the top two values in the Pikachu, and push the product\n - `pikachu ` - divide the second-from-the-top value in the Pikachu by the top value, then push the product\n\n##### Stack Operations\n\n - `pika pikachu ` - pop the top value from the Pikachu, and print as a number\n - `pikachu pikachu ` - pop the top value from the Pikachu, and print as ASCII\n - `` - pop the top value from the Pikachu\n - ` ` - push `n` into the PIkachu\n - `` - push the top value of `pika pikachu` into `pi pikachu`\n - `` - push the top value of `pi pikachu` into `pika pikachu`\n\n##### Control Operations\n\n - `pikachu pikachu` - if the top values of both Pikachus are equal, goto line `n`, where `n` is the number of terms in the following line\n - `pika pika` - if the top values of both Pikachus are not equal, goto line `n`, where `n` is the number of terms in the following line\n\n*Note: Pikachus start counting lines from 1, not 0*\n\n##### Other Options\n\n - `pi pi` - push to `pika pikachu` a random number between `1` and `n`, where `n` is the top value in `pika pikachu`\n - `chu` - anything that comes after a `chu`, is treated as a comment, and will be ignored by the interpreter. This includes any line beginning with the word `chu`.\n\n*Note: Things in this section are not part of the original definition of the language, rather features added for the convenience of the programming Pikachus*\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/DanyGLewin/pykachu/archive/V0.5.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DanyGLewin/pykachu", "keywords": "Esolang,Esoteric,Language,Pokemon,Pikachu,Interpreter", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pikapy", "package_url": "https://pypi.org/project/pikapy/", "platform": "", "project_url": "https://pypi.org/project/pikapy/", "project_urls": { "Download": "https://github.com/DanyGLewin/pykachu/archive/V0.5.tar.gz", "Homepage": "https://github.com/DanyGLewin/pykachu" }, "release_url": "https://pypi.org/project/pikapy/0.5/", "requires_dist": [ "click" ], "requires_python": "", "summary": "Pikachu interpreter written in Python", "version": "0.5" }, "last_serial": 5467684, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "8fcd8ccc802bab0d5550eea06e8d286f", "sha256": "ec040b46847c5695d8a7524b1738f46f474de90093483e5ad57cca015c38140c" }, "downloads": -1, "filename": "pikapy-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "8fcd8ccc802bab0d5550eea06e8d286f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6435, "upload_time": "2019-06-21T14:32:32", "url": "https://files.pythonhosted.org/packages/e2/4d/5a99453a18db1e0c72396b8cadd750d65574146c31ed4df62f2b08dacd51/pikapy-0.3-py2-none-any.whl" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "8c769876ffcf4358b76b4da0c7463513", "sha256": "2781485661e1f2bc49b734f30c158fe5254e3210b82913e0058e6b8e8bc2457c" }, "downloads": -1, "filename": "pikapy-0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "8c769876ffcf4358b76b4da0c7463513", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7534, "upload_time": "2019-06-21T14:42:26", "url": "https://files.pythonhosted.org/packages/be/14/f57817c931d561e6725def367558cb6f53cea0bb404219bd6586709daa16/pikapy-0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eeeadb470d0b61445f80abcfe587ca5c", "sha256": "0eb46021c1538ec16505cf377b39aa3f785751b4ec6ac88a4df9b63036637219" }, "downloads": -1, "filename": "pikapy-0.4.tar.gz", "has_sig": false, "md5_digest": "eeeadb470d0b61445f80abcfe587ca5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5936, "upload_time": "2019-06-30T11:29:21", "url": "https://files.pythonhosted.org/packages/e4/c8/83ef173e940a0fac21ec2766d0ee5e0f9d011c35147c7a4cb3342d1c07a7/pikapy-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "58c8d65bc5072b8321ee96da2303e164", "sha256": "6b15c73a425b89ab96f9cc7dd1b39ae896aa5c174859f8b581b4a958fb96400f" }, "downloads": -1, "filename": "pikapy-0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "58c8d65bc5072b8321ee96da2303e164", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7533, "upload_time": "2019-06-30T11:31:24", "url": "https://files.pythonhosted.org/packages/99/00/1ceb5831d7a4f8cbbb83aec8425de46fe9c9b8e13c8c2aa56c5c1382cb26/pikapy-0.5-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "58c8d65bc5072b8321ee96da2303e164", "sha256": "6b15c73a425b89ab96f9cc7dd1b39ae896aa5c174859f8b581b4a958fb96400f" }, "downloads": -1, "filename": "pikapy-0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "58c8d65bc5072b8321ee96da2303e164", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7533, "upload_time": "2019-06-30T11:31:24", "url": "https://files.pythonhosted.org/packages/99/00/1ceb5831d7a4f8cbbb83aec8425de46fe9c9b8e13c8c2aa56c5c1382cb26/pikapy-0.5-py2-none-any.whl" } ] }