WirthX Compiler

About



Wirthx is an experimental pascal compiler.
The compiler is named after Nicolaus Wirth the creator of pascal.

Compiler



The compiler is based on llvm and will generate a native binary for the target plattform.
For now only `linux-x86-64` and `windows-x86-64` are supported.


Options

OptionsValuesDescription
–run
-r
Runs the compiled program
–debug

Usage

wirthx testfiles/hello.pas


Executing the compiler



The compiler will generate a native executable based on the program name defined in the program unit.


Examples

wirthx testfiles/hello.pas


Hello World

program test;

begin
    Writeln('Hello World');
end.