-
Notifications
You must be signed in to change notification settings - Fork 1
TEGS Scripting Language
TEGS provides an easy-to-use scripting language for Graph authors to define:
- The changes to state variables when Vertices execute
- The conditions, parameters, and delay when Edges execute
- The values to be traced to output at each step of a running Simulation
The language is loosely based on C# to make it relatively easy to convert graphs into independent .NET applications.
There are four data types available:
A Boolean is boolean type that represents either a true
or a false
value.
Internally TEGS uses a C# bool.
An Integer is an integral numeric type that represents an integer, or whole, number from -2,147,483,648 to 2,147,483,647.
Internally TEGS uses a C# int.
A Double is a floating-point numeric type that represents a real, or fractional, number from ±5.0 × 10−324 to ±1.7 × 10308.
Internally TEGS uses a C# double.
A String is a textual type that represents a sequence of zero or more Unicode characters.
Internally TEGS uses a C# string.
Copyright (c) 2019-2024 Jon Thysell