-
Notifications
You must be signed in to change notification settings - Fork 1
xshield360/Nsl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
Repository files navigation
About NSL
It is a small language like c, so we call it c--.
We can use it to descript the jump state.
------------------------------------------------------
the language contains the following grammar::
program-> sub_block | state_block | header | decls
sub_block -> sub + id + block
state_block->state + id + {stc|cts id : block} | block
header -> #define + exp | #include + "ID"
block->{decls stmts}
decls -> decls decl | e
decl -> unsigned id:number
stmts -> stmts stmt | e
stmt-> exp;
|if (bool) block
|if (bool) block else block
|while(bool)block
|do block while(bool);
-------------------------------------------------------
About
脚本语言解释器
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published