Skip to content

Sekai-Engine/slang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slang

Slang

License License

English|中文

A script language interpreter specifically developed for text adventure games.

Description

The slang interpreter is developed using C# and serves as a core component of the Sekai engine. It is primarily used to interpret the slang language into a JSON format readable by the engine.

A major refactoring will be conducted in the future.

Download

You can obtain the slang interpreter directly from the releases.

Compilation

You can clone the source code and compile it yourself:

git clone https://github.com/Sekai-Engine/slang
cd slang
# On Windows
dotnet publish slang -r win-x64

# On Linux
dotnet publish slang -r linux-x64

The slang interpreter will be automatically placed in the ./bin folder.

Usage Instructions

Usage: ./slang <COMMAND> [LANGUAGE]

Commands:
build      Build script content into code for the specified language
edit       Revert code functionality to script mode for the specified language

Languages:
zh/CN      Chinese
en/EN      English
jp/JP      Japanese

Examples:
slang build en
slang edit ZH

Usage: slang <COMMAND> [FILE PATH]
Commands:
json       Translate the corresponding file into JSON format and print it.

Notes:
This toolchain is currently in TESTING status, please refer to this version's README for accurate syntax.

About

A script language parser specifically developed for text adventure games.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors