# HG changeset patch # User Wuzzy # Date 1570824382 -3600 # Node ID 0a12cd51adf3c2be6a834a574496fdfa75142e00 # Parent e5e6b371716452390c6dad7dbaad0a07b1c3d24d pas2CTutorial: Haskell diff -r e5e6b3717164 -r 0a12cd51adf3 pas2CTutorial.wiki --- a/pas2CTutorial.wiki Fri Oct 11 21:04:22 2019 +0100 +++ b/pas2CTutorial.wiki Fri Oct 11 21:06:22 2019 +0100 @@ -1,10 +1,11 @@ +#summary Explanation of Pas2C and how to build it #labels Phase-Implementation ==Introduction== Pas2C is an alternative way to build the engine. It is disabled by default. Pas2C is intended to be used when building the engine natively (e.g. with !FreePascal) fails for some reason. However, Pas2C does have some limitations and you should try to first build Hedgewars normally before attempting a Pas2C build. -Pas2C is our hand-written Pascal-to-C-compiler. It works by converting all Pascal code to C, and then compiling the C code. Yes, we're a little crazy. :-) +Pas2C is our hand-written Pascal-to-C-compiler. It works by converting all Pascal code to C, and then compiling the C code with a C compiler. Pas2C itself is written in Haskell. Yes, we're a little crazy. :-) ==Limitations==