https://github.com/loic-sharma/e100-pear-compiler
Compiles PHP to the E100 Assembly Language
https://github.com/loic-sharma/e100-pear-compiler
Last synced: 3 months ago
JSON representation
Compiles PHP to the E100 Assembly Language
- Host: GitHub
- URL: https://github.com/loic-sharma/e100-pear-compiler
- Owner: loic-sharma
- Created: 2018-02-03T04:34:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-03T04:40:02.000Z (over 7 years ago)
- Last Synced: 2025-02-02T12:48:03.727Z (4 months ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E100 Compiler
This compiles PHP into E100 Assembly. Written by Loic Sharma
## Installation
You'll need to have PHP installed for this. Obviously. Run the following commands:
```bash
cd /path/to/compiler
curl -s http://getcomposer.org/installer | php
php composer.phar install
```This will install all of the compiler's dependencies.
## Usage
Once installed, you can compile a PHP script like so:
`./compiler compile `
For example:
`./compiler compile source.php compiled.e`