Meet Virtel Maple 3.3.x! Packs, UI, PQCrypto and Fixes.

Download

Quick overview of Steps

What is "Steps"?

❓ Steps is a programming language made specifically to run on Virtel. As have been said before, Steps also lacks lots of functionality, but is constantly improved - creating programs in Steps isn't that far away from reality. The file extension that Steps uses is pretty straightforward: .steps. The same thing can be said about the language itself, as the syntax is pretty easy to learn. If you don't like Steps, in the near future you will be able to write code via another language that compiles into Steps.

Algorithm for Interpreting Steps Code in Virtel
  • File Reading: Reads the code file from the specified path.
  • Lexical Analysis: Breaks the code into tokens (modules, commands, arguments).
  • Parsing: Combines tokens into commands.
  • Execution: Calls the corresponding functions for each module and command.
  • Error Handling: Catches exceptions and forms error messages.
  • Output: Displays results in the console or other output devices.

Example:

csl write "Hello world!";

Virtel interprets Steps code through lexical analysis, parsing, and command execution, ensuring correct program execution.

  • Lexical Analysis: Identifies tokens csl, write, "Hello world!".
  • Parsing: Forms a command with module csl, command write, and argument.
  • Execution: Calls the cslWrite function with the argument.
  • Output: Prints "Hello world!" to the console.
Code example

Example, working with math commmands: This example briefly shows how you can use mathematics in Steps.
Steps Code

var set a "5"; var set b "5"; mat plus a b c; csl write c;

Output of the code

10