Assuming you do want full luvit, the biggest part is building a custom luvi that uses lua instead of luajit. This shouldn't be too hard. We've recently added features to lit itself to make working with custom luvi binaries much easier and even allows "cross compiling" where luvit is built using a custom luvi instead of the native one.
After that you'll probably hit a few modules that assume the jit/ffi/bit libraries exist. All we use in jit is usually `jit.os` and `jit.arch` which can be polyfilled pretty easily. Luajit provides a portable version of it's bit library that can be included with normal lua. On Tue, Jul 14, 2015 at 9:45 AM, Tim Caswell <[email protected]> wrote: > For such a constrained environment I would recommend just using luv > directly with Lua. It's a lower-level API, but has most the same > primitives. If you really want the full luvit layer, it can be done with > moderate work. > ------------------------------ > From: Jonathan Swinney <[email protected]> > Sent: 7/14/2015 9:29 AM > To: [email protected] > Subject: Luvit without LuaJIT > > I'm working on an embedded platform running on a MIPS architecture. We > want to use Luvit but we haven't been able to get LuaJIT to work on our > platform because the MIPS chip we are using lacks an FPU. I would like to > try to get Luvit working without LuaJIT and with the standard Lua > implementation instead. I'm prepared to invest some time and energy into > this project, but I wanted to check first to see if there are any known > reasons why this won't work. > > Thanks, > Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
