tstolua:TypeScript 到 Lua 转换工具
使用 tstolua 将 TypeScript 代码转换为 Lua
tstolua 项目基于 TypeScript,旨在将 TypeScript 代码转换为 Lua 代码。
准备工作
- 确保您已安装 Node.js 和 npm。
- 关闭 Git 的自动换行符转换功能:
git config --global core.autocrlf false
- 克隆 tstolua 项目:
git clone https://github.com/freedot/tstolua.git
- 进入项目目录:
cd tstolua
- 安装 Jake 工具和项目依赖:
npm install -g jake && npm install
构建和测试
- 构建编译器:
jake local
- 清理构建文件:
jake clean
更多信息
项目地址:https://github.com/freedot/tstolua
19.92MB
文件大小:
评论区