Predefined Classes

The following list of classes are pre-defined.

Class Name

File Name

Description

Math

Mathematics.yal

Class Math contains some simple mathematical constants such as PI. And Mathematics.yal is automatically parsed when Yet Another Language is launched.

Polar

Class Polar is used to express complex numbers on polar-coordinates (or phasor form).

Spherical

Class Spherical is used to express vectors on spherical-coordinates.

Cylindrical

Class Cylindrical is used to express vectors on cylindrical-coordinates.

Physics

Physics.yal

Class Physics contains fundamental constants of physics, such as speed of light, elementary charge, unified atomic mass, etc. Physics.yal is automatically parsed when Yet Another Language is launched.

Complex

Complex.yal

Class Complex is supplementary class for use with complex numbers. To use this class, you have to explicitly include this file to your module.

Vector

Vector.yal

Class Vector is supplementary class for use with vectors. To use this class, you have to explicitly include this file to your module.

User can create his or her own class libraries and include them into his modules. For more information about how to extend Yet Another Language by creating your own class module, click here to watch tutorial movie.