Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 822 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 822 Bytes

Kirikiri TJS2 ANTLR4 grammar

Kirikiri TJS2 is a Javascript-like script language for Kirikiri2 game engine.

Modified from JavaScript grammar

Parse Kirikiri TJS2 language.

Tested on KAG3, KAG3-HAM and some games

Only Java Runtime have tested. All other runtime is directly copy-paste-rename without test.

Known issue:

  • Now consider ¥(\u00a5,japanese yen) as UnexpectedCharacter insteadof Backslash(\,\u005c).
  • TJS2 bytecode also use *.tjs extension, this script can't parse them.
  • Need an preprocessor (preprocessor.js) to handle preprocess command.