| How about making an International Obfuscated Pascal Code Contest? :)
Just for fun:
http://googlefight.com/index.php?lang=en_GB&word1=%22Obfuscated+Pascal+code%22&word2=%22Obfuscated+C+code%22
I get:
13,800 to 0
That's a pretty big win. Or loss, so to say.
_
In fact you know what.. instead of using regular expressions, you might as well
just
ship the freepascal compiler with your application (buried in a DLL or .SO file
or
something) and write PascalObfuscations.
Compile the PascalObfuscations on the fly.. and then use them immediately. For
example.
| How about making an International Obfuscated Pascal Code Contest? :)
This program below compiles.. this is a good way to protect your source code
from
being read by other people.
i.e or you could just use C or Perl instead.
program Project1;
{$mode objfpc}{$H+}
{$define Z:= begin }
{$def
L505 wrote:
But.. for all the C wussies out there.. this won't work :
program Project1;
{$mode objfpc}{$H+}
{$define {:= begin} //this works
{$define }:= end. } //this doesn't work
{$define }:= end; } //this doesn't work
var
iLoc:integer;
{
for iLoc:= 1 to 60 do
writeln('test')
}