Releases: Strrationalism/YukimiScript
Releases · Strrationalism/YukimiScript
YukimiScript 0.8.3
- 为PyMO后端增加了
if
命令支持 - 为所有的后端增加了调试信息
- 增加了编译期字符串格式化语法
- 增加了GCC风格的链接参数
- 增加JSON后端
- 从环境变量
YKM_LIB_PATH
中读取库搜索目录 - 修改文本角色为string类型
- 增强系统外部定义的类型强度
YukimiScript 0.8.2
- 支持PyMO代码生成器
- 支持CPyMO及Pipe工具链
Explicit Symbol Types.
现已支持编译期类型检查
Mermaid Flowchart support!
ykmc dgml
命令行现在改为ykmc diagram dgml
- 可以使用
ykmc diagram mermaid
生成Mermaid Flowchart
Intermediate类型用于作为CodeGen的输入
Intermediate
类型用于作为CodeGen的输入- 重命名
Dom.Dom
为Dom
以更符合F#编程习惯 - Bug fix: Lua代码生成器在处理Symbol时的错误
Bug fixed.
- Bug fixed: Lua Generator can not generate command with no parameter.
Lua CodeGen bug fixed.
- Bug fixed.
Command line tool update.
Usage:
Compile YukimiScript to Lua:
ykmc <INPUT_FILE> [--target-<TARGET> <OUTPUT_FILE>] [OPTIONS...]
Create diagram:
ykmc dgml <INPUT_DIR> <OUTPUT_DGML_FILE> [OPTIONS...]
Create charset file:
ykmc charset <INPUT_DIR> <OUTPUT_CHARSET_FILE> [OPTIONS...]
Options:
--lib <LIB_DIR> Include external libraries.
Targets:
lua Lua 5.1 for Lua Runtime 5.1 or LuaJIT
Example:
ykmc ./Example/main.ykm --target-lua ./main.lua --lib ./Example/lib/
ykmc dgml ./Example/scenario ./Example.dgml --lib ./Example/lib
ykmc charset ./Example/ ./ExampleCharset.txt --lib ./Example/lib
Generates charset file
- Generates charset file in UTF-8 text file.