Skip to content

angelonuffer/PyCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyCompiler 0.0.1

Simple way to build a compiler in python. The methods are converted in assembly instructions.

Usage

To make a static executable:

>>> from pycompiler import compile, Executable
>>> executable = Executable()
>>> executable.write("foo")
>>> compile(executable, ".test.out")

Then a executable was created:

$ ./test.out
foo

Installing

Install using latest version:

$ git clone git@github.com:angelonuffer/PyCompiler.git
# python setup.py install

*NOTE: the second command needs be runned with root user, you can use the sudo application for this

About

Simple way to build a compiler in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published