A scripting environment that makes it easier to learn to code
Section I
What is ZPE Programming Environment?
What is ZPE?
The ZPE Programming Environment, often just known as the ZPE, is a fully fledged language parser that features a concise programming syntax that produces powerful programs.
ZPE's Three Goals
Easy to learn with an easy to read syntax
Small, light and efficient
Quick to write
And...
ZPE also seeks to be clean and concise, as well as well-documented
To date, all of these aims have been achieved in each release
And...
ZPE also seeks to be clean and concise, as well as well-documented
To date, all of these aims have been achieved in each release
Section II
Syntax
Built-in functionality
As of May 2022, there are 225+ predefined functions to make it easier to create powerful programs.
Example #1
function main()
$i = 10
print($i++)
end function
Example #2
for($i = 0, $i < 1000, 1)
print(floor(++$i + 3.3))
end for
for($i = 0, $i < 1000, $i++)
print(floor($i++ + 3.3))
end for
Example #3
when($i)
is 1 do
print("It is one.")
is 2 do
print("It is two.")
otherwise do
print("It is none of them.")
end when
Clean and Concise.
The Yet Another Simple Syntax (YASS) has been designed to be similar to that of existing programming languages such as Java, PHP, JavaScript, Python, C, VB.NET, C# and SML.
The syntax has taken the best of all languages.
Data types.
ZPE is dynamical and weakly typed, allowing variables to be easily reassigned to another value of a different type.
ZPE also allows you to force types on variables using the Typo typing system.
Section III
sPEED AND EFFICIENCY
Fast to run.
ZPE is considerably faster than BRS that it replaces, and compilation time is much lower than ever
Time to compile and run (less is better)
January 2019
January 2011
Fast to write.
Just as with BRS for .NET, the YASS syntax has been designed to be quick to write.
Things also read much easier as most of the syntax is designed to read like sentences.
Fifth Gear.
Shorthands and shortcuts help write the code quickly.
Several alternative function names exist, for instance, string_replace can be substituted by str_replace.
Section IV
Features of the YASS language
Functional.
YASS is designed for simplicity at the same time as functionality.
Easy to learn.
Like BRS, ZPE was designed to be an educational language. ZPE is also built well-enough to make it incredibly useful as a programming language for performing other tasks such as system tasks and the like.
Section V
To finish
A clean focus and direction.
The future of ZPE focuses on efficient designs - reusing what exists already to develop and expand the potential of ZPE.
The ZPE standard library utilises the code from the language itself to develop a library of very powerful functionalities.