ECS is the next generation of Covariant Script Programming Language
Please visit CovScript Official Website and follow the instruction
cspkg install ecs_bootstrap --yes
If you are running officially released CovScript runtime version 3.4.1+, ecs
is setup ready after this step.
git clone https://github.com/covscript/ecs
chmod +x ecs
ecs
command is a compiler that will translate ECS to CovScript 3, but can use like an 'interpreter' (will compile your code before run automatically)
Usage:
ecs [options...] <FILE> [arguments...]
ecs [options...]
Interpreter Options:
-f Disable compile cache
-m Disable beautify
-c Check grammar only
-g Generate cSYM info
-d Run debugger
-o <PATH> Set output path
-- <ARGS> Pass parameters to CovScript
Interpreter REPL Options:
-s Close the command prompt
-r <ARGS...> Set arguments for REPL
Common Options:
Option Function
-h Show help information
-v Show version infomation
-u <CHARSET> Set unicode charset
CHARSET = {"AUTO", "UTF8", "GBK"}
-i <PATH> Append import path
- The program translated by ECS Compiler will depends on package
ecs
. - The behavior of Lambda Expression will be very different.
- Separated exception system. Please call
e = ecs.handle_exception(e)
to solve compatible problem in CovScript 3 when catch exception from ECS Packages. - To support
new
andgcnew
operator with arguments, please defineconstruct
function separately.