Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xshield360/Nsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

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

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /