You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,23 +22,31 @@ chmod +x ecs
22
22
## How to use
23
23
`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)
24
24
```
25
-
Usage: ecs [options...] <FILE> [arguments...]
25
+
Usage:
26
+
ecs [options...] <FILE> [arguments...]
27
+
ecs [options...]
26
28
27
-
Options:
28
-
Option Function
29
-
-h Show help information
30
-
-v Show version infomation
29
+
Interpreter Options:
31
30
-f Disable compile cache
32
31
-m Disable beautify
33
32
-c Check grammar only
34
33
-g Generate cSYM info
35
34
-d Run debugger
36
-
-u <CHARSET> Set unicode charset
37
-
CHARSET = {"UTF8", "GBK"}
38
-
-i <PATH> Set import path
39
35
-o <PATH> Set output path
40
36
-- <ARGS> Pass parameters to CovScript
41
37
38
+
Interpreter REPL Options:
39
+
-s Close the command prompt
40
+
-r <ARGS...> Set arguments for REPL
41
+
42
+
Common Options:
43
+
Option Function
44
+
-h Show help information
45
+
-v Show version infomation
46
+
-u <CHARSET> Set unicode charset
47
+
CHARSET = {"AUTO", "UTF8", "GBK"}
48
+
-i <PATH> Append import path
49
+
42
50
```
43
51
## Compatibility Notice
44
52
1. The program translated by ECS Compiler will depends on package `ecs`.
0 commit comments