{ "info": { "author": "Benjamin Brock", "author_email": "brock@cs.berkeley.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# reple\nInteractive REPL for executable-based software toolchains.\n\nEver wished you could have an interpreter for your executable-based compiled language\ntoolchains? reple *simulates* an interpreter to create a REPL for you. Each time you\nenter a command, reple compiles and runs your program, printing out any new input.\n\nThe advantage to this approach is that reple only requires a simple config file to\ncreate a REPL for a new language or executable-based runtime system. If your language\nor runtime system is not available, adding it will likely only take a few minutes!\n\n## Installation\nJust install the `reple` pip package.\n\n```Cpp\n[xiii@reple ~]$ pip3 install reple\n[xiii@reple ~]$ reple.py -env cxx\n> printf(\"Hello, World!\\n\");\nHello, World!\n```\n\nIf you install the package locally, you might need to add `~/.local/bin` to your path.\n\n## Running\nTo start an interactive REPL session, call `reple.py` with the title of a configuration\nfile defined in the `/configs` directory.\n\n```Cpp\n[xiii@reple xiii]$ reple.py -env cxx\n> printf(\"Hello, world!\\n\");\nHello, world!\n> int x = 12;\n> int y = x + 2;\n> std::cout << y << std::endl;\n14\n>\n```\n\nSome more complicated runtimes, like MPI, may have optional runtime flags.\n\n```Cpp\n[xiii@reple home]$ reple.py -env mpicxx --rargs \"-n 8\"\n> int rank, nprocs;\n> MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n> MPI_Comm_size(MPI_COMM_WORLD, &nprocs);\n> printf(\"Hello, world! I'm %d/%d\\n\", rank, nprocs);\nHello, world! I'm 0/8\nHello, world! I'm 1/8\nHello, world! I'm 2/8\nHello, world! I'm 4/8\nHello, world! I'm 6/8\nHello, world! I'm 3/8\nHello, world! I'm 5/8\nHello, world! I'm 7/8\n> \n```\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/BenBrock/reple", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "reple", "package_url": "https://pypi.org/project/reple/", "platform": "", "project_url": "https://pypi.org/project/reple/", "project_urls": { "Homepage": "https://github.com/BenBrock/reple" }, "release_url": "https://pypi.org/project/reple/0.1.0.2/", "requires_dist": [ "prompt-toolkit", "pygments" ], "requires_python": "", "summary": "\"replay-based\" REPL for compiled languages", "version": "0.1.0.2" }, "last_serial": 4619187, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3fca34ef70ca758c455fed7c487e6d2f", "sha256": "f691776afa415006ab8e05863d0d3c43f59f6162a232c4550b593e38f7ca94cf" }, "downloads": -1, "filename": "reple-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3fca34ef70ca758c455fed7c487e6d2f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12765, "upload_time": "2018-12-16T03:05:53", "url": "https://files.pythonhosted.org/packages/6e/09/a0178c7c6532201a05adee9ad5740d740a3ee6077ae614c0191f8f048455/reple-0.1-py3-none-any.whl" } ], "0.1.0.1": [ { "comment_text": "", "digests": { "md5": "bf77786a23e32a309743f0e2195ae78a", "sha256": "2def9ed1b11b32ead7fe74b7a00d0c54ab3a415d94a98936aa772e6b1fbc35bc" }, "downloads": -1, "filename": "reple-0.1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf77786a23e32a309743f0e2195ae78a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12237, "upload_time": "2018-12-16T03:12:57", "url": "https://files.pythonhosted.org/packages/9a/65/143ee3fd493a49d2e4c6d25eb9555dfb4c27fc74066b9e5fbe0eb31127f3/reple-0.1.0.1-py3-none-any.whl" } ], "0.1.0.2": [ { "comment_text": "", "digests": { "md5": "5c5476bba711f613fda8f8f70f5b9817", "sha256": "99f50207de376091877d6915e4ee098ae8370087e54a4f9c8af699e31b3db0a0" }, "downloads": -1, "filename": "reple-0.1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5c5476bba711f613fda8f8f70f5b9817", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12237, "upload_time": "2018-12-20T03:11:46", "url": "https://files.pythonhosted.org/packages/07/fc/579c3853db5ce2676ed198328d417cac18a2cd70dec2ef8accca37d88778/reple-0.1.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c5476bba711f613fda8f8f70f5b9817", "sha256": "99f50207de376091877d6915e4ee098ae8370087e54a4f9c8af699e31b3db0a0" }, "downloads": -1, "filename": "reple-0.1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5c5476bba711f613fda8f8f70f5b9817", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12237, "upload_time": "2018-12-20T03:11:46", "url": "https://files.pythonhosted.org/packages/07/fc/579c3853db5ce2676ed198328d417cac18a2cd70dec2ef8accca37d88778/reple-0.1.0.2-py3-none-any.whl" } ] }