{ "info": { "author": "dgisolfi", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Compyler [![Compyler version](https://img.shields.io/pypi/v/Compyler.svg)](https://pypi.org/project/Compyler)\nCompiler for Spring 2019 Compilers Course, implemented in python. Compiles a custom language into a subset of the 6502 opcodes. \n\n## Setup\nTo run the Compyler it must be installed. It can be installed either from pypi or from the source code of the directory.\n\n### From PyPi\n\nSimply use pip to install the [latest release](https://pypi.org/project/Compyler/) of the compyler. To do so run `pip install Compyler`. \n\n### From Source\n\nEither in a Python Virtual Environment or just on your machine in the root of the directory run `make install` this will install the compyler from the source code in the repo using the setup.py file. If you would like to uninstall simply run `make uninstall`\n\n## Compiling\n\nOnce setup has been completed an Alan++ source code file can be compiled. To do so run `compyler /path/to/file`\n\n#### Arguements\n\n**path** - The path of an Alan++ source file to be compiled.\n\n#### Flags\n\n**--verbose or -v** - when passed all actions of compiler will be logged to stdout.\n\n**--prettytree or -p** - Outputs CST and AST in a fancier form.\n\n#### Example\n\n`compyler -v -p ./examples/AssignVals.txt`\n\n## Releases\n\n0.1.0 - [Project1](https://github.com/dgisolfi/Compyler/tree/Project1)\n\n0.2.0 - [Project2](https://github.com/dgisolfi/Compyler/tree/Project2)\n\n0.3.2 - [Project3](https://github.com/dgisolfi/Compyler/tree/Project3)\n\n0.4.0 - [Project4](https://github.com/dgisolfi/Compyler/tree/Project4)\n\n## Developing\n\nTo develop the compyler it would be a nuisance to install each time a change is made, to avoid this use a python virtual environment. To create a Virtual environment or venv use the following command `python3 -m venv/path/to/new/virtual/environment` The path should be pointed at this repository. To enter a venv that already exists navigate to the bin dir inside of env and run `source activate`. In the case of this repo the command would look like this, `source ./env/bin/activate`.\n\nOnce in a venv to run the compyler without installing use the following format: `python3 compyler /path/to/source/file` while in the root of the directory.\n\n## Publishing to PyPi\n\nTo publish the latest release of the build to pypi run the following recipe: `make release`. This will test, build and publish the release to pypi.", "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/dgisolfi/Compyler", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Compyler", "package_url": "https://pypi.org/project/Compyler/", "platform": "", "project_url": "https://pypi.org/project/Compyler/", "project_urls": { "Homepage": "https://github.com/dgisolfi/Compyler" }, "release_url": "https://pypi.org/project/Compyler/0.4.4/", "requires_dist": null, "requires_python": "", "summary": "Compiler for Spring 2019 Compilers Course, implemented in python.Compiles a custom language into a subset of the 6502 opcodes.", "version": "0.4.4" }, "last_serial": 5279414, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0fe6a0689c2514ebb9a67f2d25197558", "sha256": "557f17c3592fc7949c0472dad15ab89436bd9c28fe5e8cf2d73eaafa51c118b3" }, "downloads": -1, "filename": "Compyler-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0fe6a0689c2514ebb9a67f2d25197558", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6029, "upload_time": "2019-02-12T14:51:06", "url": "https://files.pythonhosted.org/packages/23/9d/acfef2756bdb4e9289f43853c0bade14c756a59ca0da417b2b7aaad522ae/Compyler-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "02d335b4cab0d1dca0759544455442a2", "sha256": "f02c36bc6c7d52dc0f13c12e95f7ca48df2003cd7b1f1cbf3b644ab8d1934412" }, "downloads": -1, "filename": "Compyler-0.2.0.tar.gz", "has_sig": false, "md5_digest": "02d335b4cab0d1dca0759544455442a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9601, "upload_time": "2019-03-11T23:17:59", "url": "https://files.pythonhosted.org/packages/b9/0f/6f4b128076d93b23881a7b0b2bdde8a6bcaa27ed5c5df9479fac42bbca8b/Compyler-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "738427736e4d987bdf8ee24db1e11aef", "sha256": "7217e33d27b97f35bddc866ea9b88df32b7b0229bc409601723b9ff364f23d10" }, "downloads": -1, "filename": "Compyler-0.3.0.tar.gz", "has_sig": false, "md5_digest": "738427736e4d987bdf8ee24db1e11aef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14554, "upload_time": "2019-04-14T16:31:13", "url": "https://files.pythonhosted.org/packages/40/a4/c5c9886fbfe47584bd8a693d72bffb6f65a8694e213c4dcc712b31112117/Compyler-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "576618a6f6d80392789faa9919b66d25", "sha256": "0ef2344db3b50b458527484d5146d42fdf1c1b228a28ce3cea101d44eaedc1d5" }, "downloads": -1, "filename": "Compyler-0.3.1.tar.gz", "has_sig": false, "md5_digest": "576618a6f6d80392789faa9919b66d25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14562, "upload_time": "2019-04-14T16:33:00", "url": "https://files.pythonhosted.org/packages/5a/60/4cb66f31bb4ba6f5bd2540ebe8043d264a73ed723b2add658bb59f677cb5/Compyler-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "48c355cd452a52265b1783e2be5199b7", "sha256": "c8c6677d8224c5c2fcd34dc84e7681cd3b78b1292ef28576e1e8abbb2a357b2c" }, "downloads": -1, "filename": "Compyler-0.3.2.tar.gz", "has_sig": false, "md5_digest": "48c355cd452a52265b1783e2be5199b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14569, "upload_time": "2019-04-14T16:33:57", "url": "https://files.pythonhosted.org/packages/97/41/c83ff81749f0a7559ee3114727e716d5cc715da2ddeb912911b9d521e358/Compyler-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "55d27ee2249a0eea70605545fe54ed4f", "sha256": "841c3ea89dcea8a42b706e7ef2600e06f0fe0e2a0038914f2497006bcc9ebbd2" }, "downloads": -1, "filename": "Compyler-0.4.0.tar.gz", "has_sig": false, "md5_digest": "55d27ee2249a0eea70605545fe54ed4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18984, "upload_time": "2019-05-16T18:27:59", "url": "https://files.pythonhosted.org/packages/d0/91/8e50e92bd1514b60296ab9280f1662db0f0a61eaacc26849c608764e5c42/Compyler-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "24bb436e689c2bb812c5fe5d53b25658", "sha256": "404d980f652258c79f0dcfcc3772c7b5796f224956d958d4656ffbb80555e1ce" }, "downloads": -1, "filename": "Compyler-0.4.1.tar.gz", "has_sig": false, "md5_digest": "24bb436e689c2bb812c5fe5d53b25658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18960, "upload_time": "2019-05-16T18:42:42", "url": "https://files.pythonhosted.org/packages/4d/89/3ad9120d5ec2038cfe3be66849338f7b12a4925f731f6716e0d394fe3707/Compyler-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "903c92fa7f4f0bcb5a3b953ff078be64", "sha256": "7dc00f56cf443ca63da0ff61fe8465804afb7e0eac55a116a4b489d837b663b6" }, "downloads": -1, "filename": "Compyler-0.4.2.tar.gz", "has_sig": false, "md5_digest": "903c92fa7f4f0bcb5a3b953ff078be64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18938, "upload_time": "2019-05-16T19:04:06", "url": "https://files.pythonhosted.org/packages/f4/67/1fb6a5327247d385e0640327cdc26dc31ec4ff65fdf74d963c892bb66695/Compyler-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "bb20852b0799f709ba363a8ba287962e", "sha256": "f2d84737fb8b4e0cf6d73b13857d7e7ae019f19d89cb65868ac1a3d816d30817" }, "downloads": -1, "filename": "Compyler-0.4.3.tar.gz", "has_sig": false, "md5_digest": "bb20852b0799f709ba363a8ba287962e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18937, "upload_time": "2019-05-16T21:39:46", "url": "https://files.pythonhosted.org/packages/6c/5b/bf2f4a4dd81a667c23dfa3ff3cb7b70248df0248c3848d183b6d0f4648b9/Compyler-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "8d5fc8efabff0814b474ca34be325f4e", "sha256": "0003a9098139a6606864886c54ad3b3717ae6de2566ab358ae6a01b8217331a8" }, "downloads": -1, "filename": "Compyler-0.4.4.tar.gz", "has_sig": false, "md5_digest": "8d5fc8efabff0814b474ca34be325f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18940, "upload_time": "2019-05-16T21:41:51", "url": "https://files.pythonhosted.org/packages/a2/9d/67d65543c45a1ab23a6eeedadead505214da2658cb0a960dd4307b7191a1/Compyler-0.4.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8d5fc8efabff0814b474ca34be325f4e", "sha256": "0003a9098139a6606864886c54ad3b3717ae6de2566ab358ae6a01b8217331a8" }, "downloads": -1, "filename": "Compyler-0.4.4.tar.gz", "has_sig": false, "md5_digest": "8d5fc8efabff0814b474ca34be325f4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18940, "upload_time": "2019-05-16T21:41:51", "url": "https://files.pythonhosted.org/packages/a2/9d/67d65543c45a1ab23a6eeedadead505214da2658cb0a960dd4307b7191a1/Compyler-0.4.4.tar.gz" } ] }