Skip navigation links

Package com.singularsys.extensions.structure

Provides limited support for block style programming with for, if and while statements.

See: Description

Package com.singularsys.extensions.structure Description

Provides limited support for block style programming with for, if and while statements.

The structure package provides limited support for block style programming with if, for and while statements. The exact syntax can be configurable to give a Java, Pascal or Basic like syntax. It is not intended to be a fully featured parser more a way to add some structured programming elements like simple loops to Jep code.

The StandardStructuredParser provides a ready made parser with a java-like syntax. It supports:

Alternative syntaxes can be built up using the StructuredGrammerParser and a set of GrammaticalRuleI. Rules are provided for most types of statements.

The StructuredEvaluator is used to evaluate sequences of expressions after parsing.

Since:
Jep 3.5 / Extensions 2.0
See Also:
StructuredConsole, Documentation
Skip navigation links

Copyright © 2018 Singular Systems http://www.singularsys.com/jep