forked from BigfootDev/flatbuffers
* starting Lua port of python implmention. Syncing commit * Bulk of Lua module port from Python done. Not tested, only static analysis. Need to work on binary strings. Started work on flatc lua code generation * Fixed all the basic errors to produced a binary output from the builder, don't know if it is generated correctly, but it contains data, so that must be good * fixed binary set command that was extending the array improperly * continued improvement * Moved lua submodules down a directory so their names don't clash with potential other modules. Added compat module to provide Lua versioning logic * Successful sample port from Python * working on testing Lua code with formal tests * continued to work on tests and fixes to code to make tests pass * Added reading buffer test * Changed binaryarray implmentation to use a temporary table for storing data, and then serialize it to a string when requested. This double the rate of building flatbuffers compared to the string approach. * Didn't need encode module as it just added another layer of indirection that isn't need * profiled reading buffers, optimizations to increase read performance of monster data to ~7 monster / millisecond * Writing profiler improvments. Get about ~2 monsters/millisecond building rate * removed Numpy generation from Lua (came from the Python port) * math.pow is deprecated in Lua 5.3, so changed to ^ notation. Also added .bat script for starting Lua tests * adding results of generate_code.bat * simple edits for code review in PR. * There was a buffer overflow in inserting the keywords into the unorder set for both the Lua and Python code gens. Changed insertion to use iterators. * fixed spacing issue * basic documenation/tutorial updates. Updated sample_binary.lua to reflect the tutorial better * removed windows-specific build step in Lua tests
108 lines
1.7 KiB
Plaintext
108 lines
1.7 KiB
Plaintext
*_wire.txt
|
|
*_wire.bin
|
|
.DS_Store
|
|
*.o
|
|
*.o.d
|
|
*.class
|
|
*.a
|
|
*.swp
|
|
*~
|
|
*.vcxproj
|
|
*.vcxproj.filters
|
|
*.vcxproj.user
|
|
*.sln
|
|
*.suo
|
|
*.opendb
|
|
*.keystore
|
|
**/.vs/**
|
|
**/bin/**
|
|
**/gen/**
|
|
**/libs/**
|
|
**/obj/**
|
|
**/*.dir/**
|
|
**/CMakeFiles/**
|
|
**/cmake_install.cmake
|
|
**/install_manifest.txt
|
|
**/CMakeCache.txt
|
|
**/CMakeTestfile.cmake
|
|
**/Debug/**
|
|
**/Release/**
|
|
**/RelWithDebInfo/**
|
|
**/x64/ #build artifacts from VS
|
|
build.xml
|
|
local.properties
|
|
project.properties
|
|
proguard-project.txt
|
|
linklint_results
|
|
Makefile
|
|
flatc
|
|
flatc.exe
|
|
flathash
|
|
flathash.exe
|
|
flattests
|
|
flattests.exe
|
|
flatsamplebinary
|
|
flatsamplebinary.exe
|
|
flatsampletext
|
|
flatsampletext.exe
|
|
grpctest
|
|
grpctest.exe
|
|
snapshot.sh
|
|
tags
|
|
tests/dart_gen
|
|
tests/go_gen
|
|
tests/monsterdata_java_wire.mon
|
|
tests/monsterdata_java_wire_sp.mon
|
|
tests/monsterdata_go_wire.mon
|
|
tests/monsterdata_javascript_wire.mon
|
|
tests/unicode_test.mon
|
|
tests/ts/
|
|
tests/php/
|
|
CMakeLists.txt.user
|
|
CMakeScripts/**
|
|
CTestTestfile.cmake
|
|
FlatbuffersConfigVersion.cmake
|
|
FlatBuffers.cbp
|
|
build/Xcode/FlatBuffers.xcodeproj/project.xcworkspace/**
|
|
build/Xcode/FlatBuffers.xcodeproj/xcuserdata/**
|
|
FlatBuffers.xcodeproj/
|
|
java/.idea
|
|
java/*.iml
|
|
.idea
|
|
*.iml
|
|
target
|
|
**/*.pyc
|
|
build/VS2010/FlatBuffers.sdf
|
|
build/VS2010/FlatBuffers.opensdf
|
|
build/VS2010/ipch/**/*.ipch
|
|
*.so
|
|
Testing/Temporary
|
|
.cproject
|
|
.settings/
|
|
.project
|
|
net/**/obj
|
|
node_modules/
|
|
android/.externalNativeBuild/
|
|
android/.gradle/
|
|
android/build/
|
|
samples/android/.externalNativeBuild/
|
|
samples/android/.gradle/
|
|
samples/android/build/
|
|
js/flatbuffers.mjs
|
|
/bazel-bin
|
|
/bazel-flatbuffers
|
|
/bazel-genfiles
|
|
/bazel-out
|
|
/bazel-testlogs
|
|
.ninja_deps
|
|
.ninja_log
|
|
build.ninja
|
|
rules.ninja
|
|
.vscode
|
|
dart/.pub/
|
|
dart/.packages
|
|
dart/pubspec.lock
|
|
dart/.dart_tool/
|
|
dart/build/
|
|
dart/doc/api/
|