mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Add a Lua code generator
This is based on the JS generator, with a lot of inspiration from Ellen Spertus's blockly-lua: https://github.com/espertus/blockly-lua All unit tests pass with Lua 5.3.2.
This commit is contained in:
2
build.py
2
build.py
@@ -33,6 +33,7 @@
|
||||
# javascript_compressed.js: The compressed Javascript generator.
|
||||
# python_compressed.js: The compressed Python generator.
|
||||
# dart_compressed.js: The compressed Dart generator.
|
||||
# lua_compressed.js: The compressed Lua generator.
|
||||
# msg/js/<LANG>.js for every language <LANG> defined in msg/js/<LANG>.json.
|
||||
|
||||
import sys
|
||||
@@ -178,6 +179,7 @@ class Gen_compressed(threading.Thread):
|
||||
self.gen_generator("python")
|
||||
self.gen_generator("php")
|
||||
self.gen_generator("dart")
|
||||
self.gen_generator("lua")
|
||||
|
||||
def gen_core(self):
|
||||
target_filename = "blockly_compressed.js"
|
||||
|
||||
Reference in New Issue
Block a user