How to compile a scriptol program
If you are new in programming, the Scriptol Interpreter should be the
program of choice for your first steps to learn commands of computers.
But once the install process accomplished, that is harder for the compiler
than for the interpreter, using Scriptol is really easy, and simpler
than any legacy programming language.
The interpreter is well suited to design open source programs only,
to protect you code you need for a compiler.
Getting started with the Scriptol to PHP compiler
1) Install the compiler
Detailed installing instructions are provided in this: Installing
Scriptol PHP.
Firstly, download the installer.
The archive holds:
- solp.exe, the scriptol to php compiler.
- An editor with syntax-highlighting.
- The reference manual.
- Demos programs.
You need also for the PHP interpreter to interpret a web page or a script.
2) Build a scriptol program from the source
At command line, under Windows or Unix
Building a web page:
type: solp -w xxx
The page has a .html or .php extension and embeds scriptol code.
Interpreting a script with the PHP interpreter,
type solp -br xxx
Getting Started with the Scriptol to C++ Compiler
1) Install the compiler
Read the installing Scriptol for C++ tutorial.
Download the compiler from the download page. The archive holds:
- solc.exe, the scriptol to C++ or binary compiler.
- An editor with syntax-highlighting.
- The reference manual.
- Demos programs.
You need a C++ compiler to generate binary code.
The solc compîler is compatible with:
- Turbo Explorer or BCC
5.5
- GCC under Unix and under Windows MingW
- Visual Studio or Visual
C++ Express.
2) Build a scriptol program from the source
At command line, under Windows or Unix
Building and running a binary executable,
type: solc -ber xxx
-b compiles the xxx.sol scriptol program.
-e makes an executable.
-r runs the program.
| Tweet |
|