{ "info": { "author": "Hankel Bao", "author_email": "hankel.bao@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# [Py](#)thon [Pse](#)udocode Compiler\n\n## Introduction\n\nPsPse is a interpreted compiler for teaching purposes.\n\nFeatures:\n\n* Compile codes in AS-Level Computer Science Syllabus\n* Portable with no environemt requirements\n* Available in Windows and Linux\n* Continuously developing\n\nI am a senior high student learning A2 Computer Science currently, and I am new to compilers. Feel free to raise issues or contribute.\n\n![demo_screenshot](screenshots/demo_screenshot.png)\n\n## Why?\n\nPseudocode is used to express ideas without truly writing code. However,\n\n* AS-Level has specific grammar for this language\n* AS-Level International Test marks based on the grammar\n* There is no compiler for it, and there is no way to test it or execute it.\n\nAs a result, there is a clear need to write such compiler, also as a project of mine for interest. :smirk:\n\n## Get Started\n\nFirst, Clone the repo in terminal:\n\n```\ngit clone https://github.com/HankelBao/PyPse\n```\n\nNow, you will have the PyPse folder in your current path. CD to PyPse/bin/ and you will have `pypse.bin` and `pypse.exe` under the folder.\n\nIf you are using Windows, \n\n```\n.\\pypse.exe ..\\test\\test.5.pse\n```\n\nIf you are using Linux, \n\n```\n.\\pypse.bin ..\\test\\test.5.pse\n```\n\nIf you see the *Hello World!* message showing up just like the demo, you are ready to go!\n\n## Usage\n\nRemember, you should always use `pypse.bin` for linux and `pypse.exe` for windows.\n\nPseudocode File ends in **.pse**, so you should create a file with such extension for execution.\n\nWrite your own pseudocode and execute it!\n\n## Progress\n\n- [ ] Warnings and Errors\n- [ ] Full types support\n - [x] INT\n - [x] REAL\n - [x] STRING\n - [x] BOOL\n - [ ] More...\n- [x] Declaration\n- [x] Arrays\n- [ ] Dicts\n- [x] Custom Types\n- [x] Debug Block\n- [x] Assign\n- [x] Output\n- [x] Input\n- [x] IF...\n- [x] WHILE...\n- [x] REPEAT...\n- [x] FOR...\n- [x] Procedure...\n- [x] CALL...\n- [x] FUNCTION...\n- [x] RETURN...\n- [x] CASE...\n- [ ] More Features...\n\n\n## Contributing\n\nIf you want to see the debug info for the compiler, call the command with *--debug*\n\nFor example\n\n```\n.\\pypse.exe ..\\test\\test.5.pse --debug\n```\n\nFeel free to report issues and make contributions\n\n## Promote\n\nSpread it around your classes if you also find the need for such a compiler!\n\nThanks for your support.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/HankelBao/PyPse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pypse", "package_url": "https://pypi.org/project/pypse/", "platform": "", "project_url": "https://pypi.org/project/pypse/", "project_urls": { "Homepage": "https://github.com/HankelBao/PyPse" }, "release_url": "https://pypi.org/project/pypse/0.0.1/", "requires_dist": [ "lark-parser" ], "requires_python": "", "summary": "A compiler for Pseudocode written in python", "version": "0.0.1" }, "last_serial": 5209327, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "73cea5d35d7c24ea918f6bd286a588b5", "sha256": "aa81f5135a36d8b560080ded0f3a19bb6088f1c106281b950c214898c61da22b" }, "downloads": -1, "filename": "pypse-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "73cea5d35d7c24ea918f6bd286a588b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14930, "upload_time": "2019-04-30T17:22:22", "url": "https://files.pythonhosted.org/packages/d3/1b/8e4a440250219ce3342bcad35d697f911cf6855f2d6508a04156ffb4a62b/pypse-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce696511237bbedd8a24d3b9013e810f", "sha256": "2e701a6d5ade5d22f5054ec29dee856c38c63e2bf21f68f11ae9a99d4eb4b881" }, "downloads": -1, "filename": "pypse-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ce696511237bbedd8a24d3b9013e810f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11761, "upload_time": "2019-04-30T17:22:37", "url": "https://files.pythonhosted.org/packages/05/fe/9b1712f776fb1756866542ef0d8afc8b85c39fe19c8f2ff5107f5a794ff5/pypse-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73cea5d35d7c24ea918f6bd286a588b5", "sha256": "aa81f5135a36d8b560080ded0f3a19bb6088f1c106281b950c214898c61da22b" }, "downloads": -1, "filename": "pypse-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "73cea5d35d7c24ea918f6bd286a588b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14930, "upload_time": "2019-04-30T17:22:22", "url": "https://files.pythonhosted.org/packages/d3/1b/8e4a440250219ce3342bcad35d697f911cf6855f2d6508a04156ffb4a62b/pypse-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce696511237bbedd8a24d3b9013e810f", "sha256": "2e701a6d5ade5d22f5054ec29dee856c38c63e2bf21f68f11ae9a99d4eb4b881" }, "downloads": -1, "filename": "pypse-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ce696511237bbedd8a24d3b9013e810f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11761, "upload_time": "2019-04-30T17:22:37", "url": "https://files.pythonhosted.org/packages/05/fe/9b1712f776fb1756866542ef0d8afc8b85c39fe19c8f2ff5107f5a794ff5/pypse-0.0.1.tar.gz" } ] }