Skip to content
/ pcompiler Public

Precedence compiler will attempt to automatically compile source code

License

Notifications You must be signed in to change notification settings

kipr/pcompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcompiler (Precedence Compiler)

pcompiler is an automatic source code compiler. Given a set of input files, pcompiler will attempt to create an executable out of them.

pcompiler is not robust enough to compile large or complex projects, but is extremely simple to use.

Requirements

  • Qt 5.0 or higher
  • CMake 2.8.12
  • libkar (only for the command line pcompiler tool)

Building

OS X and Linux

	#Generate Library
	cd pcompiler
	mkdir build
	cd build
	cmake .. or cmake -Ddocker_cross=ON .. (docker cross compiling option)
	make
	make install

	#Install Generated Library
	cd .. #pcompiler root directory
	sudo cp lib/libpcompiler.so /usr/lib

Windows

Prerequisite: The binaries/includes/libraries are installed into <dir>\prefix

  1. Clone this repository into <dir>\pcompiler.
  2. Configure it and generate the makefiles with cmake. Set the build directory to <dir>\pcompiler\build.
  3. Open <dir>\pcompiler\build\pcompiler.sln with Visual Studio
  4. Build the INSTALL project

The binaries/includes/libraries are installed into <dir>\prefix

Authors

  • Braden McDorman
  • Nafis Zaman
  • Erin Harrington

License

pcompiler is released under the terms of the GPLv3 license. For more information, see the LICENSE file in the root of this project.

About

Precedence compiler will attempt to automatically compile source code

Resources

License

Stars

Watchers

Forks

Packages

No packages published