Language Reference

Full syntax, types, and module reference:

  1. Var - types, variables, literals, string interpolation, structs
  2. Preprocessor - #define and #include (file and plugin)
  3. Operators - arithmetic, comparison, logical, bitwise, ternary
  4. Control flow - if/else, while, for, foreach, break, continue, switch/case
  5. Functions - define, return, recursion, typed params, entry point
  6. Array - fixed-size typed arrays
  7. Class - OOP classes with fields and methods
  8. Object - root class for all user-defined classes
  9. Exception - built-in error carrier for try / catch
  10. Error handling - try/catch/finally, throw
  11. Modules - Konsol, Math, String, File, Time, List, Map, JSON, Path, OS, Regex, Date, Hash, CSV
  12. Plugin system
  13. Plugins - curl, ws, net, sqlite, mysql, pg, redis, zip, crypto, jwt

Notes