NLua / KeraLua

C# Native bindings of Lua 5.4 (compatible with .NET/iOS/Mac/Android/UWP)
MIT License
305 stars 84 forks source link
c-sharp dotnet lua native-bindings netcore nlua xamarin
👋 Hello there!

🔭 Thank you for checking out this project.

🍻 We've made the project Open Source and MIT license so everyone can enjoy it.

🛠 To deliver a project with quality we have to spent a lot of time working on it.

⭐️ If you liked the project please star it.

💕 We also appreaciate any Sponsor [ Patreon | PayPal ]

[Logo]()

KeraLua

NuGet
nuget
Status
linux Linux
win Build status
mac Build Status
linux Build Status
win Build Status

C# Native bindings of Lua 5.4 (compatible with iOS/Mac/Android/UWP/.NET)

Before build fetch the submodules:

git submodule update --init --recursive

Building

KeraLua uses several solution for different targets. (I know I could use SDK style project + multi-target, but neither VS and VS4Mac work very well with that, and the intelisense always get confused). So for Mac,iOS,tvOS use KeraLua.Mac.sln, Android KeraLua.Android.sln, .NET Core KeraLua.Core.sln and UWP KeraLua.UWP.sln

To build old classic .NET 4.5 just use the KeraLua.sln. (I usually do my develoment on .NET 4.5 using VS4Mac + Mono on Mac, and .NET + VS on Windows, since this was the configuration which cause less issues to me.)

nuget restore KeraLua.sln
msbuild KeraLua.sln