条件编译工具 LuaDef

码农软件 · 软件分类 · 编译器 · 2019-12-07 19:29:42

软件介绍

def 条件编译处理工具

这是一个编程语言无关的条件编译插件。 首先你要确认的是你的代码需要使用条件编译,或者有多种模态发布到不同平台的限制。这个工具本质是和任何语言无关,你可以在你的代码里免费使用。

{% if  SCRIPT  == "lua" then %}
     return exports.GetValueByType (eax.value);
{% end %}

{% if  SCRIPT  == "nxx" then %}
     return exports.GetValueByType (eax.value);
{% end %}


{% if  SCRIPT  == "xxx" then %}
     return exports.GetValueByType (eax.value);
{% end %}

使用方式

lua def.lua 输入文件 输出文件 SCRIPT=lua DEBUG=1

本文地址:https://www.codercto.com/soft/d/20650.html

HTML Dog

HTML Dog

Patrick Griffiths / New Riders Press / 2006-11-22 / USD 49.99

For readers who want to design Web pages that load quickly, are easy to update, accessible to all, work on all browsers and can be quickly adapted to different media, this comprehensive guide represen......一起来看看 《HTML Dog》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具