UScript PreProcessor Released

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Zenny

I'm gonna steal your girlfriend.
Mar 14, 2003
571
0
0
37
Washington DC
While I'm not sure what this does exactly, I still think that this is really cool.

UnrealScript Class PreProcessor (UCPP) is a commandline utility intended
to be executed before ucc make. It adds some preprocessor features that
are not available in the standard UnrealScript compiler in UnrealEngine1
and UnrealEngine2.

Features include conditional compiling directives but also definition
replacements and function definitions. Most of the preprocessor
directives found in most C\C++ compilers are supported.

Yeah I know, there was one already a while ago. But as far as I know it
dropped from the face of the earth. And I needed some features
implemented in this program for an other project I am working on.

More information can be found at this page on the UnrealWiki; download links can be found at the project's SourceForge page.
 

elmuerte

Master of Science
Jan 25, 2000
1,936
0
36
42
the Netherlands
elmuerte.com
KDR_11k said:
Wouldn't it work already to just throw a C precompiler (e.g. gpp) at it, then use ucc instead of gcc? Does the precompiler check your language in any way?

yes, the precompiler does check your language in a (small) way.

but you can adjust the gnu c precompiler, but in the end you'll get this tool.

the way C is compiled is very different from how unrealscript is compiled. That's why the input files are "translated" to working unrealscript files.