Re: export & public

new topic     » goto parent     » topic index » view thread      » older message » newer message

source/std.ex

to show missing std/includes or unresolved references
exwc source/std.ex someprog.ex 

output is on the console, and will create ex.err you can view or open in a text editor. this can fail if for ex you are beginning to convert an eu3 program and still have include misc.e or a known eu4 keword like loop used as a variable. you would want to start by fixing any includes you know will need to change and avoid mixing v3. and v4 includes. although it may work if you are lucky.

unfortunately, source dir was excluded from the first alpha distribution. grab the source dir from svn and create rev.e if you want to try dis or std before the next eu4 alpha or beta.

analize.ex

shows missing includes.
win: 
exwc eu4\bin\analize.ex someprog.ex 
nix: 
exu eu4/bin/analize.ex someprog.ex 

analize can also catalog 3rd party libs by including their include path in an euinc.conf or -i ..\..\path on the commandline

if you have many files and directories on your euinc path this can take some time and memory on a slower computer. you will probably want to limit the paths accordingly.

-TEST

used as a commandline option,

don't run the program just parse it and return any errors
exwc -TEST someprog.ex 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu