aboutsummaryrefslogtreecommitdiff
path: root/include/flatbuffers/idl.h
diff options
context:
space:
mode:
authoraardappel <aardappel@gmail.com>2018-07-23 19:03:11 -0700
committeraardappel <aardappel@gmail.com>2018-07-29 13:23:00 -0700
commit4898809eca4c01a0bc51f31044ab2ffd1408350b (patch)
treea749c3986b2931dbfdd9fbf793c1ba701a47ea89 /include/flatbuffers/idl.h
parentca5aaf62d3cc4477b20c42ea2635c50b1663e5d7 (diff)
downloadflatbuffers-4898809eca4c01a0bc51f31044ab2ffd1408350b.tar.gz
FlatBuffers implementation for the Lobster programming language
Language, see: http://strlen.com/lobster/ and https://github.com/aardappel/lobster
Diffstat (limited to 'include/flatbuffers/idl.h')
-rw-r--r--include/flatbuffers/idl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h
index 9d50a94e..e544b0df 100644
--- a/include/flatbuffers/idl.h
+++ b/include/flatbuffers/idl.h
@@ -409,6 +409,7 @@ struct IDLOptions {
kJsonSchema = 1 << 10,
kDart = 1 << 11,
kLua = 1 << 12,
+ kLobster = 1 << 13,
kMAX
};
@@ -820,6 +821,12 @@ extern bool GeneratePython(const Parser &parser,
const std::string &path,
const std::string &file_name);
+// Generate Lobster files from the definitions in the Parser object.
+// See idl_gen_lobster.cpp.
+extern bool GenerateLobster(const Parser &parser,
+ const std::string &path,
+ const std::string &file_name);
+
// Generate Lua files from the definitions in the Parser object.
// See idl_gen_lua.cpp.
extern bool GenerateLua(const Parser &parser,