tstolua:TypeScript 到 Lua 转换工具

使用 tstolua 将 TypeScript 代码转换为 Lua

tstolua 项目基于 TypeScript,旨在将 TypeScript 代码转换为 Lua 代码。

准备工作

  1. 确保您已安装 Node.js 和 npm。
  2. 关闭 Git 的自动换行符转换功能: git config --global core.autocrlf false
  3. 克隆 tstolua 项目:git clone https://github.com/freedot/tstolua.git
  4. 进入项目目录:cd tstolua
  5. 安装 Jake 工具和项目依赖:npm install -g jake && npm install

构建和测试

  • 构建编译器:jake local
  • 清理构建文件:jake clean

更多信息

项目地址:https://github.com/freedot/tstolua

zip 文件大小:19.92MB