├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .gitmodules ├── LICENSE ├── LuaScriptCore.podspec ├── README.md ├── Sample ├── Android │ ├── .gitignore │ ├── Android.iml │ ├── app │ │ ├── .externalNativeBuild │ │ │ └── ndkBuild │ │ │ │ ├── debug │ │ │ │ ├── arm64-v8a │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── armeabi-v7a │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── armeabi │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── mips │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── mips64 │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── x86 │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ └── x86_64 │ │ │ │ │ ├── android_gradle_build.json │ │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ └── release │ │ │ │ ├── arm64-v8a │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── armeabi-v7a │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── armeabi │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── mips │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── mips64 │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ ├── x86 │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ │ │ └── x86_64 │ │ │ │ ├── android_gradle_build.json │ │ │ │ ├── ndkBuild_build_command.txt │ │ │ │ └── ndkBuild_build_output.txt │ │ ├── .gitignore │ │ ├── app.iml │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── .DS_Store │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── cn │ │ │ │ └── vimfung │ │ │ │ └── luascriptcore │ │ │ │ └── sample │ │ │ │ └── ApplicationTest.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── assets │ │ │ │ ├── coroutine.lua │ │ │ │ ├── defineProperty.lua │ │ │ │ ├── dkjson.lua │ │ │ │ ├── main.lua │ │ │ │ ├── test.lua │ │ │ │ └── todo.lua │ │ │ ├── java │ │ │ │ └── cn │ │ │ │ │ └── vimfung │ │ │ │ │ └── luascriptcore │ │ │ │ │ └── sample │ │ │ │ │ ├── Chinese.java │ │ │ │ │ ├── Console.java │ │ │ │ │ ├── English.java │ │ │ │ │ ├── Env.java │ │ │ │ │ ├── ErrLogModule.java │ │ │ │ │ ├── LogModule.java │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ ├── ModulesActivity.java │ │ │ │ │ ├── ModulesAdapter.java │ │ │ │ │ ├── NativeData.java │ │ │ │ │ ├── Person.java │ │ │ │ │ ├── TestObj.java │ │ │ │ │ └── TestObjectProxy.java │ │ │ └── res │ │ │ │ ├── layout │ │ │ │ ├── activity_main.xml │ │ │ │ ├── activity_modules.xml │ │ │ │ ├── content_modules.xml │ │ │ │ ├── fragment_modules.xml │ │ │ │ └── module_list_item_view.xml │ │ │ │ ├── menu │ │ │ │ └── menu_modules.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── test │ │ │ └── java │ │ │ └── cn │ │ │ └── vimfung │ │ │ └── luascriptcore │ │ │ └── sample │ │ │ └── ExampleUnitTest.java │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── local.properties │ ├── projectFilesBackup │ │ └── .DS_Store │ └── settings.gradle └── iOS_OSX │ ├── Common │ ├── Env.h │ ├── Env.m │ ├── LSCTNativeData.h │ ├── LSCTNativeData.m │ ├── LSCTPerson.h │ ├── LSCTPerson.m │ ├── LogModule.h │ └── LogModule.m │ ├── LuaScript │ ├── dkjson.lua │ ├── hello.lua │ ├── main.lua │ ├── test.lua │ └── todo.lua │ ├── Sample-OSX-Swift │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ └── Main.storyboard │ ├── Info.plist │ ├── LSCTNativeData.swift │ ├── LSCTPerson.swift │ ├── LogModule.swift │ ├── ModulesViewController.swift │ └── ViewController1.swift │ ├── Sample-OSX │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ └── Main.storyboard │ ├── Info.plist │ ├── ModulesViewController.h │ ├── ModulesViewController.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m │ ├── Sample-iOS-Swift │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ ├── LSCTNativeData.swift │ ├── LSCTPerson.swift │ ├── LogModule.swift │ ├── ModuleListViewController.swift │ ├── ModuleViewControllers │ │ ├── CryptoModuleViewController.swift │ │ ├── EncodingModuleViewController.swift │ │ ├── HttpModuleViewController.swift │ │ ├── PathModuleViewController.swift │ │ └── ThreadModuleViewController.swift │ └── ViewController.swift │ ├── Sample-iOS │ ├── .DS_Store │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ ├── ModuleListViewController.h │ ├── ModuleListViewController.m │ ├── ModuleViewControllers │ │ ├── CryptoModuleViewController.h │ │ ├── CryptoModuleViewController.m │ │ ├── EncodingModuleViewController.h │ │ ├── EncodingModuleViewController.m │ │ ├── HttpModuleViewController.h │ │ ├── HttpModuleViewController.m │ │ ├── PathModuleViewController.h │ │ ├── PathModuleViewController.m │ │ ├── ThreadModuleViewController.h │ │ └── ThreadModuleViewController.m │ ├── ViewController.h │ ├── ViewController.m │ └── main.m │ └── Sample.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ └── vimfung.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ └── Sample-OSX.xcscheme ├── Source ├── Android │ ├── .gitignore │ ├── .idea │ │ └── modules.xml │ ├── Android.iml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── luascriptcore │ │ ├── .gitignore │ │ ├── bintrayv1.gradle │ │ ├── build.gradle │ │ ├── compile-5.1.5.gradle │ │ ├── compile.gradle │ │ ├── installv1.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── cn │ │ │ │ └── vimfung │ │ │ │ └── luascriptcore │ │ │ │ └── ApplicationTest.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── cn │ │ │ │ │ └── vimfung │ │ │ │ │ └── luascriptcore │ │ │ │ │ ├── LuaBaseObject.java │ │ │ │ │ ├── LuaContext.java │ │ │ │ │ ├── LuaEnv.java │ │ │ │ │ ├── LuaExceptionHandler.java │ │ │ │ │ ├── LuaExclude.java │ │ │ │ │ ├── LuaExportType.java │ │ │ │ │ ├── LuaExportTypeConfig.java │ │ │ │ │ ├── LuaExportTypeManager.java │ │ │ │ │ ├── LuaFunction.java │ │ │ │ │ ├── LuaManagedValue.java │ │ │ │ │ ├── LuaMethodHandler.java │ │ │ │ │ ├── LuaNativeUtil.java │ │ │ │ │ ├── LuaPointer.java │ │ │ │ │ ├── LuaScriptController.java │ │ │ │ │ ├── LuaTuple.java │ │ │ │ │ ├── LuaValue.java │ │ │ │ │ └── LuaValueType.java │ │ │ ├── jni │ │ │ │ ├── .DS_Store │ │ │ │ ├── Android-5.1.5.mk │ │ │ │ ├── Android.mk │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── LuaDefine.h │ │ │ │ ├── LuaJavaConverter.cpp │ │ │ │ ├── LuaJavaConverter.h │ │ │ │ ├── LuaJavaEnv.cpp │ │ │ │ ├── LuaJavaEnv.h │ │ │ │ ├── LuaJavaExceptionHandler.cpp │ │ │ │ ├── LuaJavaExceptionHandler.h │ │ │ │ ├── LuaJavaExportMethodDescriptor.cpp │ │ │ │ ├── LuaJavaExportMethodDescriptor.h │ │ │ │ ├── LuaJavaExportPropertyDescriptor.cpp │ │ │ │ ├── LuaJavaExportPropertyDescriptor.h │ │ │ │ ├── LuaJavaExportTypeDescriptor.cpp │ │ │ │ ├── LuaJavaExportTypeDescriptor.h │ │ │ │ ├── LuaJavaObjectDescriptor.cpp │ │ │ │ ├── LuaJavaObjectDescriptor.h │ │ │ │ ├── LuaJavaType.cpp │ │ │ │ ├── LuaJavaType.h │ │ │ │ ├── cn_vimfung_luascriptcore_LuaNativeUtil.cpp │ │ │ │ └── cn_vimfung_luascriptcore_LuaNativeUtil.h │ │ │ └── res │ │ │ │ └── values │ │ │ │ └── strings.xml │ │ │ └── test │ │ │ └── java │ │ │ └── cn │ │ │ └── vimfung │ │ │ └── luascriptcore │ │ │ ├── ExampleUnitTest.java │ │ │ └── test │ │ │ ├── Env.java │ │ │ └── Person.java │ └── settings.gradle ├── Unity3D │ ├── Android │ │ ├── .gitignore │ │ ├── Android.iml │ │ ├── LuaScriptCore.iml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── local.properties │ │ ├── luascriptcore-unity-android │ │ │ ├── .gitignore │ │ │ ├── build.gradle │ │ │ ├── luascriptcore-unity-android.iml │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── androidTest │ │ │ │ └── java │ │ │ │ │ └── cn │ │ │ │ │ └── vimfung │ │ │ │ │ └── luascriptcore │ │ │ │ │ └── unity │ │ │ │ │ └── ExampleInstrumentedTest.java │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── jni │ │ │ │ │ └── Android.mk │ │ │ │ └── res │ │ │ │ │ └── values │ │ │ │ │ └── strings.xml │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── cn │ │ │ │ └── vimfung │ │ │ │ └── luascriptcore │ │ │ │ └── unity │ │ │ │ └── ExampleUnitTest.java │ │ └── settings.gradle │ ├── UnityCommon │ │ ├── LuaScriptCoreForUnity.cpp │ │ ├── LuaScriptCoreForUnity.h │ │ ├── LuaUnityDefined.h │ │ ├── LuaUnityEnv.cpp │ │ ├── LuaUnityEnv.hpp │ │ ├── LuaUnityExportMethodDescriptor.cpp │ │ ├── LuaUnityExportMethodDescriptor.hpp │ │ ├── LuaUnityExportPropertyDescriptor.cpp │ │ ├── LuaUnityExportPropertyDescriptor.hpp │ │ ├── LuaUnityExportTypeDescriptor.cpp │ │ └── LuaUnityExportTypeDescriptor.hpp │ ├── UnityProject │ │ ├── Assets │ │ │ ├── Plugins.meta │ │ │ ├── Plugins │ │ │ │ └── LuaScriptCore │ │ │ │ │ ├── ILuaObject.cs │ │ │ │ │ ├── ILuaObject.cs.meta │ │ │ │ │ ├── LuaBaseObject.cs │ │ │ │ │ ├── LuaBaseObject.cs.meta │ │ │ │ │ ├── LuaContext.cs │ │ │ │ │ ├── LuaContext.cs.meta │ │ │ │ │ ├── LuaExclude.cs │ │ │ │ │ ├── LuaExclude.cs.meta │ │ │ │ │ ├── LuaExportType.cs │ │ │ │ │ ├── LuaExportType.cs.meta │ │ │ │ │ ├── LuaExportTypeAnnotation.cs │ │ │ │ │ ├── LuaExportTypeAnnotation.cs.meta │ │ │ │ │ ├── LuaExportsTypeManager.cs │ │ │ │ │ ├── LuaExportsTypeManager.cs.meta │ │ │ │ │ ├── LuaFunction.cs │ │ │ │ │ ├── LuaFunction.cs.meta │ │ │ │ │ ├── LuaManagedValue.cs │ │ │ │ │ ├── LuaManagedValue.cs.meta │ │ │ │ │ ├── LuaObjectDecoder.cs │ │ │ │ │ ├── LuaObjectDecoder.cs.meta │ │ │ │ │ ├── LuaObjectDescriptor.cs │ │ │ │ │ ├── LuaObjectDescriptor.cs.meta │ │ │ │ │ ├── LuaObjectEncoder.cs │ │ │ │ │ ├── LuaObjectEncoder.cs.meta │ │ │ │ │ ├── LuaObjectReference.cs │ │ │ │ │ ├── LuaObjectReference.cs.meta │ │ │ │ │ ├── LuaPointer.cs │ │ │ │ │ ├── LuaPointer.cs.meta │ │ │ │ │ ├── LuaScriptController.cs │ │ │ │ │ ├── LuaTuple.cs │ │ │ │ │ ├── LuaTuple.cs.meta │ │ │ │ │ ├── LuaValue.cs │ │ │ │ │ ├── LuaValue.cs.meta │ │ │ │ │ ├── NativeUtils.cs │ │ │ │ │ ├── NativeUtils.cs.meta │ │ │ │ │ ├── UNIEnv.cs │ │ │ │ │ └── UNIEnv.cs.meta │ │ │ ├── Scenes.meta │ │ │ ├── Scenes │ │ │ │ ├── ModulesScene.unity │ │ │ │ ├── ModulesScene.unity.meta │ │ │ │ ├── Scene1.unity │ │ │ │ ├── Scene1.unity.meta │ │ │ │ ├── Scene2.unity │ │ │ │ └── Scene2.unity.meta │ │ │ ├── Scripts.meta │ │ │ ├── Scripts │ │ │ │ ├── Chinese.cs │ │ │ │ ├── Chinese.cs.meta │ │ │ │ ├── LogModule.cs │ │ │ │ ├── LogModule.cs.meta │ │ │ │ ├── ModuleItemCell.cs │ │ │ │ ├── ModuleItemCell.cs.meta │ │ │ │ ├── ModulesSceneController.cs │ │ │ │ ├── ModulesSceneController.cs.meta │ │ │ │ ├── NativeData.cs │ │ │ │ ├── NativeData.cs.meta │ │ │ │ ├── Person.cs │ │ │ │ ├── Person.cs.meta │ │ │ │ ├── Sample.cs │ │ │ │ └── Sample.cs.meta │ │ │ ├── StreamingAssets.meta │ │ │ ├── StreamingAssets │ │ │ │ ├── .DS_Store │ │ │ │ ├── coroutine.lua │ │ │ │ ├── coroutine.lua.meta │ │ │ │ ├── defineProperty.lua │ │ │ │ ├── defineProperty.lua.meta │ │ │ │ ├── dkjson.lua │ │ │ │ ├── dkjson.lua.meta │ │ │ │ ├── main.lua │ │ │ │ ├── main.lua.meta │ │ │ │ ├── todo.lua │ │ │ │ └── todo.lua.meta │ │ │ └── VFCommon │ │ │ │ ├── External.meta │ │ │ │ ├── External │ │ │ │ ├── EnhancedScroller v2.meta │ │ │ │ └── EnhancedScroller v2 │ │ │ │ │ ├── Plugins.meta │ │ │ │ │ └── Plugins │ │ │ │ │ ├── EnhancedScroller.cs │ │ │ │ │ ├── EnhancedScroller.cs.meta │ │ │ │ │ ├── EnhancedScrollerCellView.cs │ │ │ │ │ ├── EnhancedScrollerCellView.cs.meta │ │ │ │ │ ├── IEnhancedScrollerDelegate.cs │ │ │ │ │ ├── IEnhancedScrollerDelegate.cs.meta │ │ │ │ │ ├── SmallList.cs │ │ │ │ │ └── SmallList.cs.meta │ │ │ │ ├── Prefabs.meta │ │ │ │ ├── Prefabs │ │ │ │ ├── UI.meta │ │ │ │ └── UI │ │ │ │ │ ├── ListView.meta │ │ │ │ │ └── ListView │ │ │ │ │ ├── ListItemView.prefab │ │ │ │ │ ├── ListItemView.prefab.meta │ │ │ │ │ ├── ListView.prefab │ │ │ │ │ └── ListView.prefab.meta │ │ │ │ ├── UI.meta │ │ │ │ └── UI │ │ │ │ ├── ListViewController.cs │ │ │ │ └── ListViewController.cs.meta │ │ └── ProjectSettings │ │ │ ├── AudioManager.asset │ │ │ ├── ClusterInputManager.asset │ │ │ ├── DynamicsManager.asset │ │ │ ├── EditorBuildSettings.asset │ │ │ ├── EditorSettings.asset │ │ │ ├── GraphicsSettings.asset │ │ │ ├── InputManager.asset │ │ │ ├── NavMeshAreas.asset │ │ │ ├── NetworkManager.asset │ │ │ ├── Physics2DSettings.asset │ │ │ ├── ProjectSettings.asset │ │ │ ├── ProjectVersion.txt │ │ │ ├── QualitySettings.asset │ │ │ ├── TagManager.asset │ │ │ ├── TimeManager.asset │ │ │ └── UnityConnectSettings.asset │ ├── Windows │ │ ├── LuaScriptCore │ │ │ ├── LuaScriptCore.vcxproj │ │ │ ├── LuaScriptCore.vcxproj.filters │ │ │ ├── LuaScriptCore.vcxproj.user │ │ │ └── dllmain.cpp │ │ └── Windows.sln │ └── iOS_OSX │ │ ├── LuaScriptCore-Unity-OSX │ │ ├── .DS_Store │ │ └── Info.plist │ │ ├── LuaScriptCore.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── vimfung.xcuserdatad │ │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ ├── LuaScriptCoreTests │ │ ├── Info.plist │ │ ├── LuaScriptCoreTests.mm │ │ └── main.lua │ │ └── LuaScriptCore_5_1.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── iOS_OSX │ ├── Code-Swift │ │ ├── LuaConfig.swift │ │ ├── LuaContext.swift │ │ ├── LuaExportMethodDescriptor.swift │ │ ├── LuaExportPropertyDescriptor.swift │ │ ├── LuaExportType.swift │ │ ├── LuaExportTypeAnnotation.swift │ │ ├── LuaExportTypeDescriptor.swift │ │ ├── LuaFunction.swift │ │ ├── LuaManagedValue.swift │ │ ├── LuaPointer.swift │ │ ├── LuaRunScriptConfig.swift │ │ ├── LuaTuple.swift │ │ └── LuaValue.swift │ ├── Code │ │ ├── LSCContext.h │ │ ├── LSCContext.m │ │ ├── LSCContext_Private.h │ │ ├── LSCCoroutine+Private.h │ │ ├── LSCCoroutine.h │ │ ├── LSCCoroutine.m │ │ ├── LSCDataExchanger.h │ │ ├── LSCDataExchanger.m │ │ ├── LSCDataExchanger_Private.h │ │ ├── LSCEngineAdapter.h │ │ ├── LSCEngineAdapter.m │ │ ├── LSCError.h │ │ ├── LSCError.m │ │ ├── LSCExportMethodDescriptor.h │ │ ├── LSCExportMethodDescriptor.m │ │ ├── LSCExportPropertyDescriptor.h │ │ ├── LSCExportPropertyDescriptor.m │ │ ├── LSCExportType.h │ │ ├── LSCExportTypeAnnotation.h │ │ ├── LSCExportTypeDescriptor+Private.h │ │ ├── LSCExportTypeDescriptor.h │ │ ├── LSCExportTypeDescriptor.m │ │ ├── LSCExportsTypeManager.h │ │ ├── LSCExportsTypeManager.m │ │ ├── LSCFunction.h │ │ ├── LSCFunction.m │ │ ├── LSCFunction_Private.h │ │ ├── LSCManagedObjectProtocol.h │ │ ├── LSCManagedValue.h │ │ ├── LSCManagedValue.m │ │ ├── LSCOperationQueue.h │ │ ├── LSCOperationQueue.m │ │ ├── LSCPointer.h │ │ ├── LSCPointer.m │ │ ├── LSCScriptController+Private.h │ │ ├── LSCScriptController.h │ │ ├── LSCScriptController.m │ │ ├── LSCSession.h │ │ ├── LSCSession.m │ │ ├── LSCSession_Private.h │ │ ├── LSCTable+Private.h │ │ ├── LSCTable.h │ │ ├── LSCTable.m │ │ ├── LSCTmpValue.h │ │ ├── LSCTmpValue.m │ │ ├── LSCTuple.h │ │ ├── LSCTuple.m │ │ ├── LSCTuple_Private.h │ │ ├── LSCTypeDefinied.h │ │ ├── LSCValue.h │ │ ├── LSCValue.m │ │ ├── LSCValue_Private.h │ │ ├── LSCVirtualInstance.h │ │ ├── LSCVirtualInstance.m │ │ └── LuaScriptCore.h │ ├── LSCConfig.h │ ├── LSCConfig.m │ ├── LuaScriptCore-OSX-Swift │ │ ├── Info.plist │ │ └── LuaScriptCore_OSX_Swift.h │ ├── LuaScriptCore-iOS-Swift │ │ ├── Info.plist │ │ └── LuaScriptCore_iOS_Swift.h │ ├── LuaScriptCore-iOS-SwiftTests │ │ ├── Env.swift │ │ ├── Info.plist │ │ ├── LuaScriptCore_iOS_SwiftTests.swift │ │ └── Person.swift │ ├── LuaScriptCore.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ ├── LuaScriptCoreTests-OSX │ │ ├── Info.plist │ │ └── LuaScriptCoreTests_OSX.m │ ├── LuaScriptCoreTests-iOS │ │ ├── America.h │ │ ├── America.m │ │ ├── Chinese.h │ │ ├── Chinese.m │ │ ├── English.h │ │ ├── English.m │ │ ├── Env.h │ │ ├── Env.m │ │ ├── Info.plist │ │ ├── LuaLog.h │ │ ├── LuaLog.m │ │ ├── LuaScriptCoreTests_iOS.m │ │ ├── NativePerson.h │ │ ├── NativePerson.m │ │ ├── Person.h │ │ ├── Person.m │ │ ├── SubLuaLog.h │ │ ├── SubLuaLog.m │ │ ├── Test.lua │ │ ├── Test1.lua │ │ ├── Test2.lua │ │ ├── TestModule.h │ │ ├── TestModule.m │ │ ├── class.lua │ │ ├── config.lua │ │ ├── coroutine.lua │ │ ├── definedProperty.lua │ │ └── test.out │ └── LuaScriptCore_5_1.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── lua-common │ ├── .DS_Store │ ├── LuaContext.cpp │ ├── LuaContext.h │ ├── LuaCoroutine.cpp │ ├── LuaCoroutine.h │ ├── LuaDataExchanger.cpp │ ├── LuaDataExchanger.h │ ├── LuaDefined.h │ ├── LuaEngineAdapter.cpp │ ├── LuaEngineAdapter.hpp │ ├── LuaError.cpp │ ├── LuaError.h │ ├── LuaExportMethodDescriptor.cpp │ ├── LuaExportMethodDescriptor.hpp │ ├── LuaExportPropertyDescriptor.cpp │ ├── LuaExportPropertyDescriptor.hpp │ ├── LuaExportTypeDescriptor.cpp │ ├── LuaExportTypeDescriptor.hpp │ ├── LuaExportsTypeManager.cpp │ ├── LuaExportsTypeManager.hpp │ ├── LuaFunction.cpp │ ├── LuaFunction.h │ ├── LuaManagedObject.cpp │ ├── LuaManagedObject.h │ ├── LuaNativeClass.cpp │ ├── LuaNativeClass.hpp │ ├── LuaNativeClassFactory.cpp │ ├── LuaNativeClassFactory.hpp │ ├── LuaObject.cpp │ ├── LuaObject.h │ ├── LuaObjectDecoder.cpp │ ├── LuaObjectDecoder.hpp │ ├── LuaObjectDescriptor.cpp │ ├── LuaObjectDescriptor.h │ ├── LuaObjectEncoder.cpp │ ├── LuaObjectEncoder.hpp │ ├── LuaObjectManager.cpp │ ├── LuaObjectManager.h │ ├── LuaObjectSerializationTypes.h │ ├── LuaOperationQueue.cpp │ ├── LuaOperationQueue.h │ ├── LuaPointer.cpp │ ├── LuaPointer.h │ ├── LuaScriptController.cpp │ ├── LuaScriptController.h │ ├── LuaSession.cpp │ ├── LuaSession.h │ ├── LuaTmpValue.cpp │ ├── LuaTmpValue.hpp │ ├── LuaTuple.cpp │ ├── LuaTuple.h │ ├── LuaValue.cpp │ ├── LuaValue.h │ ├── StringUtils.cpp │ └── StringUtils.h ├── lua-core-5.1.5 │ ├── COPYRIGHT │ ├── HISTORY │ ├── INSTALL │ ├── Makefile │ ├── README │ ├── doc │ │ ├── contents.html │ │ ├── cover.png │ │ ├── logo.gif │ │ ├── lua.1 │ │ ├── lua.css │ │ ├── lua.html │ │ ├── luac.1 │ │ ├── luac.html │ │ ├── manual.css │ │ ├── manual.html │ │ └── readme.html │ └── src │ │ ├── Makefile │ │ ├── lapi.c │ │ ├── lapi.h │ │ ├── lauxlib.c │ │ ├── lauxlib.h │ │ ├── lbaselib.c │ │ ├── lcode.c │ │ ├── lcode.h │ │ ├── ldblib.c │ │ ├── ldebug.c │ │ ├── ldebug.h │ │ ├── ldo.c │ │ ├── ldo.h │ │ ├── ldump.c │ │ ├── lext.c │ │ ├── lext.h │ │ ├── lfunc.c │ │ ├── lfunc.h │ │ ├── lgc.c │ │ ├── lgc.h │ │ ├── linit.c │ │ ├── liolib.c │ │ ├── llex.c │ │ ├── llex.h │ │ ├── llimits.h │ │ ├── lmathlib.c │ │ ├── lmem.c │ │ ├── lmem.h │ │ ├── loadlib.c │ │ ├── lobject.c │ │ ├── lobject.h │ │ ├── lopcodes.c │ │ ├── lopcodes.h │ │ ├── loslib.c │ │ ├── lparser.c │ │ ├── lparser.h │ │ ├── lstate.c │ │ ├── lstate.h │ │ ├── lstring.c │ │ ├── lstring.h │ │ ├── lstrlib.c │ │ ├── ltable.c │ │ ├── ltable.h │ │ ├── ltablib.c │ │ ├── ltm.c │ │ ├── ltm.h │ │ ├── lua.h │ │ ├── lua.hpp │ │ ├── luaconf.h │ │ ├── lualib.h │ │ ├── lundump.c │ │ ├── lundump.h │ │ ├── lunity.c │ │ ├── lunity.h │ │ ├── lvm.c │ │ ├── lvm.h │ │ ├── lzio.c │ │ ├── lzio.h │ │ └── print.c └── lua-core │ ├── doc │ ├── index.css │ ├── luac.1 │ ├── manual.css │ └── osi-certified-72x60.png │ └── src │ ├── lapi.c │ ├── lapi.h │ ├── lauxlib.c │ ├── lauxlib.h │ ├── lbaselib.c │ ├── lbitlib.c │ ├── lcode.c │ ├── lcode.h │ ├── lcorolib.c │ ├── lctype.c │ ├── lctype.h │ ├── ldblib.c │ ├── ldebug.c │ ├── ldebug.h │ ├── ldo.c │ ├── ldo.h │ ├── ldump.c │ ├── lfunc.c │ ├── lfunc.h │ ├── lgc.c │ ├── lgc.h │ ├── linit.c │ ├── liolib.c │ ├── llex.c │ ├── llex.h │ ├── llimits.h │ ├── lmathlib.c │ ├── lmem.c │ ├── lmem.h │ ├── loadlib.c │ ├── lobject.c │ ├── lobject.h │ ├── lopcodes.c │ ├── lopcodes.h │ ├── loslib.c │ ├── lparser.c │ ├── lparser.h │ ├── lprefix.h │ ├── lstate.c │ ├── lstate.h │ ├── lstring.c │ ├── lstring.h │ ├── lstrlib.c │ ├── ltable.c │ ├── ltable.h │ ├── ltablib.c │ ├── ltm.c │ ├── ltm.h │ ├── lua.h │ ├── lua.hpp │ ├── luaconf.h │ ├── lualib.h │ ├── lundump.c │ ├── lundump.h │ ├── lunity.c │ ├── lunity.h │ ├── lutf8lib.c │ ├── lvm.c │ ├── lvm.h │ ├── lzio.c │ └── lzio.h └── _config.yml /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | 5 | --- 6 | 7 | **Describe the bug** 8 | A clear and concise description of what the bug is. 9 | 10 | **To Reproduce** 11 | Steps to reproduce the behavior: 12 | 1. Go to '...' 13 | 2. Click on '....' 14 | 3. Scroll down to '....' 15 | 4. See error 16 | 17 | **Expected behavior** 18 | A clear and concise description of what you expected to happen. 19 | 20 | **Screenshots** 21 | If applicable, add screenshots to help explain your problem. 22 | 23 | **Desktop (please complete the following information):** 24 | - OS: [e.g. iOS] 25 | - Browser [e.g. chrome, safari] 26 | - Version [e.g. 22] 27 | 28 | **Smartphone (please complete the following information):** 29 | - Device: [e.g. iPhone6] 30 | - OS: [e.g. iOS8.1] 31 | - Browser [e.g. stock browser, safari] 32 | - Version [e.g. 22] 33 | 34 | **Additional context** 35 | Add any other context about the problem here. 36 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | 5 | --- 6 | 7 | **Is your feature request related to a problem? Please describe.** 8 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 9 | 10 | **Describe the solution you'd like** 11 | A clear and concise description of what you want to happen. 12 | 13 | **Describe alternatives you've considered** 14 | A clear and concise description of any alternative solutions or features you've considered. 15 | 16 | **Additional context** 17 | Add any other context or screenshots about the feature request here. 18 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Modules"] 2 | path = Modules 3 | url = ../LuaScriptCore-Modules.git 4 | -------------------------------------------------------------------------------- /Sample/Android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /Sample/Android/Android.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/arm64-v8a/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=arm64-v8a 6 | NDK_ALL_ABIS=arm64-v8a 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/armeabi-v7a/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=armeabi-v7a 6 | NDK_ALL_ABIS=armeabi-v7a 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/armeabi/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=armeabi 6 | NDK_ALL_ABIS=armeabi 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/mips/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=mips 6 | NDK_ALL_ABIS=mips 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/mips64/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=mips64 6 | NDK_ALL_ABIS=mips64 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/x86/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=x86 6 | NDK_ALL_ABIS=x86 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/debug/x86_64/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=x86_64 6 | NDK_ALL_ABIS=x86_64 7 | NDK_DEBUG=1 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/debug/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/arm64-v8a/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=arm64-v8a 6 | NDK_ALL_ABIS=arm64-v8a 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/armeabi-v7a/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=armeabi-v7a 6 | NDK_ALL_ABIS=armeabi-v7a 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/armeabi/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=armeabi 6 | NDK_ALL_ABIS=armeabi 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/mips/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=mips 6 | NDK_ALL_ABIS=mips 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/mips64/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=mips64 6 | NDK_ALL_ABIS=mips64 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/x86/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=x86 6 | NDK_ALL_ABIS=x86 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-13 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.externalNativeBuild/ndkBuild/release/x86_64/ndkBuild_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : /Users/vimfung/Library/Android/sdk/ndk-bundle/ndk-build 2 | arguments : 3 | NDK_PROJECT_PATH=null 4 | APP_BUILD_SCRIPT=/Users/vimfung/Documents/project/LuaScriptCore/Source/Android/luascriptcore/src/main/jni/Android.mk 5 | APP_ABI=x86_64 6 | NDK_ALL_ABIS=x86_64 7 | NDK_DEBUG=0 8 | APP_PLATFORM=android-21 9 | NDK_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/obj 10 | NDK_LIBS_OUT=/Users/vimfung/Documents/project/LuaScriptCore/Sample/Android/app/build/intermediates/ndkBuild/release/lib 11 | APP_SHORT_COMMANDS=false 12 | LOCAL_SHORT_COMMANDS=false 13 | -B 14 | -n 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /Sample/Android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Sample/Android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/vimfung/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /Sample/Android/app/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/.DS_Store -------------------------------------------------------------------------------- /Sample/Android/app/src/androidTest/java/cn/vimfung/luascriptcore/sample/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /Sample/Android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/assets/defineProperty.lua: -------------------------------------------------------------------------------- 1 | Person.prototype.age = { 2 | 3 | get = function (self) 4 | print ("get age = ", self._age); 5 | return self._age; 6 | end, 7 | set = function (self, value) 8 | print ("set age = ", value); 9 | self._age = value; 10 | end 11 | 12 | }; 13 | 14 | local p = Person(); p.age = 12; print (p.age); -------------------------------------------------------------------------------- /Sample/Android/app/src/main/assets/main.lua: -------------------------------------------------------------------------------- 1 | local json = require("dkjson"); 2 | 3 | local tbl = getDeviceInfo(); 4 | 5 | local str = json.encode (tbl, { indent = true }); 6 | 7 | print (str) 8 | 9 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/assets/test.lua: -------------------------------------------------------------------------------- 1 | -- 2 | -- Created by IntelliJ IDEA. 3 | -- User: vimfung 4 | -- Date: 2018/1/31 5 | -- Time: 上午9:27 6 | -- To change this template use File | Settings | File Templates. 7 | -- 8 | 9 | for i = 1, 10 do 10 | print('-------- run', i); 11 | Person.action(TestObjectProxy.testObj("aaa")); 12 | end 13 | 14 | 15 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/assets/todo.lua: -------------------------------------------------------------------------------- 1 | function add (a, b) 2 | 3 | return a+b; 4 | 5 | end 6 | 7 | function makeList() 8 | -- body 9 | local list = {} 10 | for i=1,600 do 11 | local obj = {} 12 | obj.name = "test" 13 | table.insert(list, obj) 14 | end 15 | 16 | return list; 17 | end 18 | 19 | function getFunc() 20 | 21 | return function (a, b) 22 | 23 | print("------", a, b); 24 | return a * b; 25 | 26 | end 27 | 28 | end -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/Chinese.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.util.Log; 4 | 5 | /** 6 | * Created by vimfung on 17/1/19. 7 | */ 8 | public class Chinese extends Person 9 | { 10 | public void speakChinese() 11 | { 12 | Log.v("lsc", "你好"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/Console.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.util.Log; 4 | import cn.vimfung.luascriptcore.LuaExportType; 5 | 6 | /** 7 | * Created by vimfung on 17/1/23. 8 | */ 9 | 10 | public class Console implements LuaExportType 11 | { 12 | public static void log (String msg) 13 | { 14 | Log.v("lsc", msg); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/English.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.util.Log; 4 | 5 | /** 6 | * Created by vimfung on 2017/5/17. 7 | */ 8 | 9 | public class English extends Person 10 | { 11 | public void speakEnglish() 12 | { 13 | Log.v("lsc", "Hello"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/Env.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.content.Context; 4 | import android.util.Log; 5 | 6 | import cn.vimfung.luascriptcore.LuaContext; 7 | 8 | /** 9 | * Created by vimfung on 2017/5/16. 10 | */ 11 | public class Env 12 | { 13 | private static LuaContext _ctx = null; 14 | 15 | public static void setup(Context context) 16 | { 17 | _ctx = LuaContext.create(context); 18 | } 19 | 20 | public static LuaContext defaultContext () 21 | { 22 | return _ctx; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/ErrLogModule.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.util.Log; 4 | 5 | public class ErrLogModule extends LogModule 6 | { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/LogModule.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import android.util.Log; 4 | 5 | import cn.vimfung.luascriptcore.LuaExclude; 6 | import cn.vimfung.luascriptcore.LuaExportType; 7 | import cn.vimfung.luascriptcore.LuaTuple; 8 | 9 | /** 10 | * 日志模块 11 | * Created by vimfung on 16/9/23. 12 | */ 13 | public class LogModule implements LuaExportType 14 | { 15 | public static void writeLog(String message) 16 | { 17 | Log.v("luascriptcore", message); 18 | } 19 | 20 | public static LuaTuple test(String a, String b) 21 | { 22 | LuaTuple tuple = new LuaTuple(); 23 | tuple.addReturnValue(a); 24 | tuple.addReturnValue(b); 25 | 26 | return tuple; 27 | } 28 | 29 | public static void testObj(Object obj) 30 | { 31 | Log.v("lsc", obj.toString()); 32 | } 33 | 34 | public static Object createObj () 35 | { 36 | return new Object(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/NativeData.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import java.util.HashMap; 4 | 5 | import cn.vimfung.luascriptcore.LuaExportType; 6 | import cn.vimfung.luascriptcore.LuaExportTypeConfig; 7 | 8 | /** 9 | * Created by vimfung on 2017/4/17. 10 | */ 11 | @LuaExportTypeConfig() 12 | public class NativeData implements LuaExportType 13 | { 14 | public String dataId; 15 | 16 | private HashMap _data = new HashMap(); 17 | 18 | public static Person createPerson() 19 | { 20 | return new Person(); 21 | } 22 | 23 | public void setData(String key, String value) 24 | { 25 | _data.put(key, value); 26 | } 27 | 28 | public String getData(String key) 29 | { 30 | return _data.get(key); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/TestObj.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | /** 4 | * TestObj 5 | * Created by vimfung on 2018/1/31. 6 | */ 7 | public class TestObj 8 | { 9 | private String name; 10 | 11 | public static TestObj create(String name) 12 | { 13 | return new TestObj().res(name); 14 | } 15 | 16 | private TestObj res(String name) 17 | { 18 | this.name = name; 19 | return this; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/java/cn/vimfung/luascriptcore/sample/TestObjectProxy.java: -------------------------------------------------------------------------------- 1 | package cn.vimfung.luascriptcore.sample; 2 | 3 | import cn.vimfung.luascriptcore.LuaExportType; 4 | 5 | /** 6 | * TestObjectProxy 7 | * Created by vimfung on 2018/1/31. 8 | */ 9 | public class TestObjectProxy implements LuaExportType 10 | { 11 | public static TestObj testObj(String name) 12 | { 13 | return TestObj.create(name); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/layout/activity_modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/layout/content_modules.xml: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/layout/fragment_modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/layout/module_list_item_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/menu/menu_modules.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vimfung/LuaScriptCore/d474e006b4ab5e79dfe270b788d850cec86f9184/Sample/Android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Sample 3 | ModulesActivity 4 | Settings 5 | 6 | -------------------------------------------------------------------------------- /Sample/Android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |