We discussed the basic concepts of e in this chapter. These concepts lay the foundation for the material discussed in the further chapters.
Conventions for code segments, comments, white space, numbers, constants, and macros were discussed.
It is possible to import other e files in an e file. The import statements must always be the first statements in the file.
e contains data types such as scalar type and subtypes, enumerated scalar type, list type, and string type.
Simulator variables can be directly read or written from e code. One can access simulator variables by enclosing the hierarchical path to the simulator variable in single quotes.
There is a strict syntax hierarchy of statements, struct members, actions, and expressions. A strict hierarchy enforces coding discipline and minimizes errors.