Questions tagged «compilation»

1
使用命令行编译器而不是文件编译文本
我正在使用luac -p file.lua解析文件来检查语法错误。有可能做这样的事情: luac -p | [a bunch of text] 有人提到了一些关于'管道'的事情,但我无法弄清楚这会有什么帮助。 我想要做的是从我正在编写的程序中获取文本并将所有文本放入编译器中,-p以便它只解析文本。基本上我想检查我的程序的textarea的语法,而不必先将它写入文件。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.