Precedence compiler will attempt to automatically compile source code
C++ CMake Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
compilers
include/pcompiler
scripts
src
tools
.gitignore
CMakeLists.txt
LICENSE
Readme.md

Readme.md

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

cd pcompiler
mkdir build
cd build
cmake ..
make
make install

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

License

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