yyc12345
7c88b3614a
- send message in console if PyBMap fail to load native dynamic library. this is good for user experience. - remove snippet from BMap bindings generator. We now insert generated code manually. - fix C sharp code generation issue in BMap bidnings generator. - add some content for BMapSharp. |
||
---|---|---|
.. | ||
dest | ||
.gitignore | ||
CommonHelper.java | ||
CSharpWriter.java | ||
ExpFctDecl.java | ||
ExpFctParamDecl.java | ||
ExpFctsLexer.g4 | ||
ExpFctsParser.g4 | ||
ExpFctsWalker.java | ||
ExtractBMapFctDecl.py | ||
IndentHelper.java | ||
JsonWriter.java | ||
MainRunner.java | ||
PythonWriter.java | ||
README.md | ||
VariableType.java |
BMap Bindings Generation
A helper program to generate BMap binding in Python and CSharp
This program is consisted by 2 parts, first is Python part which extract BMap interface function declarations from source file, thus following Antlr step can focus on syntax analyze.
Next part is Antlr part. It analyse extracted function declarations and output corresponding Python binding and CSharp binding.
python ExtractBMapFctDecl.py
antlr4 ExpFctsLexer.g4
antlr4 ExpFctsParser.g4
javac *.java
java MainRunner