view ide/runbuild.py @ 23:5dd47d6eebac

Added ubersimple malloc algorithm
author windel
date Thu, 01 Dec 2011 21:42:59 +0100
parents de004f808e56
children
line wrap: on
line source

import sys

# Compiler imports:
from compiler.compiler import Compiler
from project import Project

if __name__ == '__main__':
   if len(sys.argv) < 2:
      print('Use {0} projectfile'.format(sys.argv[0]))
      sys.exit(-1)
   filename = sys.argv[1]
   project = Project()
   project.load(filename)
   pc = Compiler()
   pc.compileProject(project)