Leonardus
Loading...
Searching...
No Matches
GLOSSARY

Glossary

Build Type

There are four build types for different software processes
and environments: DEVELOP PRODUCTION COVERAGE PERFORM.
The environment variable BUILD_TYPE stores the current setting.

Core Code

If a LeoScript operator is coded directly in C++, it is referred to as core code.

Jupyter

Project Jupyter is a project to develop open-source software, open standards,
and services for interactive computing across multiple programming languages.
Leonardus integrates with the JupyterLab app.

leon

The second interpreter pass reads and interprets its leon-format input.

Leon-Format

The exchange format between the first interpreter pass called "parser"
und the second interpreter pass called "leon". Stored leon-format files
use the file name extension .leon.

LeoScript

The stack-based scripting language and its file format of project Leonardus.
Each line of code can contain commands, which are short, case-sensitive
keywords, and operands, which are pushed onto a data stack and
manipulated by operators. The language supports various data types,
including integers, real numbers, booleans, strings, arrays, stacks and
dictionaries, and follows a reverse Polish notation (RPN) syntax, where
operators follow their operands.

Registered and Unregistered Core Code Operators

Most of the core code operators are referenced as values in the dictionaries
at start up time. They are called registered.
There are other core code operators for internal use. These are called
unregistered.

Operator

A subspecies of semantic objects, that operates on other semantic
objects, the stacks or the interpreter itself. Some of the operators are
LeoScript procedures and the others are core code.

Object Type Code -or- OTCode

A one character code for each SO class. The virtual ot() member function
of all SO classes return this code and allows explicit type-based decisions
beside the C++ language poylmorphisms.
See: object types

On Demand Optimizer -or- ODO

Optimzes LeoScript procedures as part of the bind operator.
See ODO

parser

The first interpreter pass checks the syntax and converts the program
into leon-format.

Procedure Level

The procedure level counts the nesting level of curly braces in the
program code.

Property

For the classes Interpreter and Context there are attributes, together with
setters and getters, which change the behaviour. These properties can be set
with LeoScript operators.

Prototype-based Object -or- PTBO

To distinguish them from semantic objects (SOs), the objects at the LeoScript
level are referred to as prototype-based objects (PTBOs). They provide the
features of inheritance and encapsulation.

Red Book

The PostScript Red Book, officially titled "PostScript Language Reference,"
is the authoritative manual for the PostScript programming language,
detailing its syntax, semantics, and graphics operators.

We use it as a reference for the LeoScript operators, for which we have
explicitly established full compatibility in behavior.

Semantic Object -or- SO

In LeoScript, the following elements form the semantic building blocks
of the language:

  • sequences of characters separated by whitespace,
  • literal values (numbers and strings), and
  • boolean values.

In the interpreter’s C++ source code, these elements correspond to
C++ objects of the SO* classes. Additionally, the interpreter represents
composite objects for dictionaries, arrays, and stacks. These are also
considered Semantic Objects.

In the programming language Forth, such elements are referred to as "words".

See: object types

Task Tag

We use IDEA:, TODO: and FIXME: as Task Tags

Verbose Mode

All tools support a -v option to generate more run time information.

Vocabulary

A subdirectory as container of LeoScript files which creates one or more
functional related dictionaries if executed.