Scriptol to C++ or to native compiler
(c) 2001-2005 by Denis G. Sureau
http://www.scriptol.com       The Scriptol compilers.
http://www.scriptol.net       Web programming.


Overwiew

This archive contains mainly solc, the Scriptol to native compiler.
Another achive hold a scriptol to Php compiler.


Installing the Scriptol compiler

It is better to install Scriptol at root of a disk, for example:
 c:\scriptolc
Once the archive is extracted into the scriptolc directory, you have just to
change to this directory to run the compiler.
To use the compiler at command line from any directory, you have to put
the compiler into the path variable.
The setup script installs required file into sub-directories, or
into the directory given as argument.
Before to use the compiler, you have to read the licence, in the doc
directory: licence.html.


Using the Scriptol to native compiler

Just type:
    ./solc mysource
Type "solc" only to list the options.

If your program is a multi-file project, the source given as parameter must
be the main source file, the compiler will know dependencies from "include"
statements and will build what is needed.


Testing the examples

Type from the main scriptol directory:
   ./solc -bre demos\fibo


Configuring

By editing the solc.ini file, you may change the second pass compiler (you may
have to rebuild the libsol library for this compiler), change the options of
the compiler or add header files to include.
To add header files, just add "header=someheader.hpp" lines into the config
file.
A xxx.cfg file may be written for each project main source beeing xxx, and if
present, it overloads the solc.ini file.

Need more details? Read the faq file on the Scriptol site:
 http://www.scriptol.com/faq.php
or send your questions at support@scriptol.com  (a form is also available
on the web).



Read the CONTENT file for more details on what is available in the archive.
