Skip to content

API language

Welcome to the CES language documentation.
This page describes the main programming syntaxes (CES) available for your project.

🚧 Under Development

This Language is currently in beta and some features may be incomplete or unavailable. We are continuously working to improve and expand it.


Introduction

CES is a scripting language created to add logic and interactivity to CSX components. It is interpreted and executed internally using C#. While CES is easy to learn, it introduces its own syntax and rules that differ from traditional programming languages, so reading the full documentation is recommended before getting started.

Documentation Pages

Page Description
Syntax Basic syntax rules of CES
Variables Variable declaration and updates
Conditions Conditional statements (if, else)
Functions Creating and using functions
Loops Loop structures (for, while)
Classes Defining classes
Objects Creating object instances
Operators Arithmetic and logical operators
Types Built-in CES types
Modules Import Importing CES files
Modules Include Loading external C# libraries

Basic example

Str message : "Hello World";
DisplayLog(message);

Output

console hello world