pas2CTutorial.wiki
changeset 218 8c01e80cf77f
parent 217 78f6f4e9f358
child 245 2ccb51761986
equal deleted inserted replaced
217:78f6f4e9f358 218:8c01e80cf77f
     8 
     8 
     9 = Details =
     9 = Details =
    10 
    10 
    11 Run from the `tools` folder
    11 Run from the `tools` folder
    12 {{{
    12 {{{
    13 ghci
    13 ghc -e "pas2C \"hwengine\"" pas2c.hs
    14 :load pas2c.hs
       
    15 pas2C "hwengine"
       
    16 }}}
    14 }}}
    17 
    15 
    18 You can replace "hwengine" with any other module.
    16 You can replace "hwengine" with any other module.
    19 
    17 
    20 Every pas file will be converted to a .c/.h version in the `hedgewars` folder. In case no output is produced something has gone wrong.
    18 Every pas file will be converted to a .c/.h version in the `hedgewars` folder. In case no output is produced something has gone wrong.