Compilation and execution
Installation
Cind release package contains the language compiler and execution software.
All files are packed in release file named
For more about releases and versions of the Cind language see the public page at
http://www.cindlang.com/download.html.
Depending on the version and operating system,
a release file should be unpacked and placed in some known location in the system.
It is also helpful to add subdirectory
For example, on linux systems, it could be done by adding directory to the environment variable PATH:
Program compilation
The
The compiler creates a binary files from the text files written in the Cind language
and in addition it checks semantic correctness and finds various errors in the program.
Typical compiler call:
creates binary file
All other parameters accepted by the compiler depends on the compiler version,
and can be listed by calling:
For more about writing programs see Code writing style.
Program execution
A program compiled to the binary form (to the file with .soft extension) can be executed in various ways.
In this release, a program can be executed only as a console application.
Basically, to execute program on local machine inside console, enter:
Some local execution methods are available by adding appropriate parameters to the command line, which may be listed by calling:
For more about console program see Cind console application.
Creating libraries
A program's library is a binary file, which contains a set of compiled classes.
It is compiled independently and may be used as a part of some program.
There are two main reasons to use libraries:
A source code of a library, instead of section
To compile a library file add
To use a compiled library, include library file name in execution list in parameters, for example: