A toolchain for the Permalang language including:
- permalang compiler
- permalang virtual machine
Inspired by the C programming language.
Build toolchain
make release
Install toolchain
make install
Uninstall toolchain
make uninstall
Compile
pcc <source.pf>
Compile with optimizations
pcc -O <source.pf>
Use the -v
flag for verbose compilation
Run executable
pcc <executable> -x
Help page
pcc --help
Most of the syntax is borrowed from C
Variable declaration and assignment
int i;
int i = 0;
If statements
if (/* condition */)
{
// code
}
While loop
while (/* condition */)
{
// code
}
bool b = false;
byte b = 0;
int i = 0;
long l = 0;
float f = 0; // still work in progress
double d = 0; // still work in progress
This software is licensed under the GNU GPLv3 license.