Re: Compiling

I thought there must be an easy way to compile scripts since it
happens by default.

But ... compiling to bytecodes will not buy you much.

If you are after performance: precompiled scripts take longer to load
than the original takes to compile, so it will actually be a perf loss.

OTOH, if you are trying to hide your sources, the standard compiler
will not do - it keeps a copy of the source.

When I distribute a script and the end users receive it, I want to
discourage them from editing it. Plain ascii just challenges the users
to open and hack things. So, I can give them just the compiled script
without any concern. (Not as app's either because these are small
scripts, there are many of them and by themselves alone they do nothing.)

This is what the AS compiler is for. You only need to buy one license for
yourself. The end users can use the "compiled" files. You can also deliver
the runtime (i.e. tbcloader) as part of your executable.

Relevant Pages

Re: Eiffel and portability, which choice ?... > So the use of such scripts would break SE 2.2. ... As long as language designers derive program script rules from actual ... Choose Unicode or choose ISO 10646, and you have a rich character... Yet, compiler writers, proud of their clever efficient solutions ...(comp.lang.eiffel)

[ANN] paxCompiler, v1.3.... Version 1.3 of the paxCompiler has been released. ... You can pause, resume and terminate scripts....Support of OLE Automation. ... The compiler generates machine code for Intel processor. ...(borland.public.delphi.thirdpartytools.general)

ExeScript 3.3.4... Compile and run scripts - no additional software required! ...ExeScript works much like the huge, ... The powerful compiler produces secure, ...compact executable files as small as just 19 KB. ...(comp.software.shareware.announce)

ExeScript 3.3.7.0... Compile and run scripts - no additional software required! ...ExeScript works much like the huge, ... The powerful compiler produces secure, ...compact executable files as small as just 19 KB. ...(comp.software.shareware.announce)