Added Lemon Parser Generator tool.

This commit is contained in:
Branimir Karadžić
2017-12-23 15:13:39 -08:00
parent a887260fcf
commit 9ff09510d1
8 changed files with 7480 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ end
dofile "bx.lua"
dofile "bin2c.lua"
dofile "lemon.lua"
project "bx.test"
kind "ConsoleApp"

21
scripts/lemon.lua Normal file
View File

@@ -0,0 +1,21 @@
--
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
--
project "lemon"
kind "ConsoleApp"
files {
path.join(BX_DIR, "tools/lemon/lemon.c")
}
configuration { "not vs*" }
buildoptions {
"-Wno-sign-compare",
"-Wno-unused-parameter",
}
configuration {}
strip()