Gabriel Posted March 6, 2012 Share Posted March 6, 2012 Hello, Anyone know a program that converts a Lua script in c/c ++. I like to translate the code "C:\Leadwerks Engine SDK\Scripts\spline.lua" in C or Cpp ;-) thank you Annuler les modifications Gabriel Quote Link to comment Share on other sites More sharing options...
Roland Posted March 6, 2012 Share Posted March 6, 2012 Maybe this http://lua-users.org/wiki/LuaToCee Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Gabriel Posted March 6, 2012 Author Share Posted March 6, 2012 LuaToCee is not a converter, I wonder what use a "LuaToCee"? ;-) I would translate the Lua code in C function blabla (foo) foo = foo + 1 return foo in foo_type bblabla(foo foo_type) { foo = foo + 1; return foo; } Thank ;-) Gabriel Quote Link to comment Share on other sites More sharing options...
Roland Posted March 6, 2012 Share Posted March 6, 2012 I'm not a LUA developer so it was just my best guess. Sorry that it was a bad guess Personally I would do it manually. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted March 6, 2012 Share Posted March 6, 2012 Do it manually. If there was a converter out there , which I don't think there is. I can't imagine it being efficient because it would be limiting the c++. Eg. No use of STL etc. Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.