'Moon' Language

Discussion in 'Programmer's Corner' started by MaxHeadRoom, Jul 16, 2015.

  1. MaxHeadRoom

    Thread Starter Expert

    Jul 18, 2013
    10,570
    2,381
    Lua New to me, I have been using an application that used C & VB/VS for add ons, the new version evidently is programmed in Lua.
    Is there a direct conversion for programs or do they have to be completely re-written?
    Max.
     
  2. tjohnson

    Active Member

    Dec 23, 2014
    614
    121
    I don't understand the title of this thread.

    I know that Luna=Moon, but Lua?:confused:
     
  3. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,652
    767
    It is in Portuguese.
     
    tjohnson likes this.
  4. theonewho

    New Member

    Jul 9, 2015
    17
    2
    Pretty sure there are no utilities to convert C or VB to Lua. You'll just have to do it manually. I find it odd that the developers would suddenly change their add-on support languages so abruptly... are you sure they don't support the previous add-on languages any longer? What application are you referring to?
     
  5. MaxHeadRoom

    Thread Starter Expert

    Jul 18, 2013
    10,570
    2,381
    CNC motion S/W, Mach3 VB, Mach4 Lua.
    The dll plug-ins are no longer compatible.
    Max.
     
  6. theonewho

    New Member

    Jul 9, 2015
    17
    2
    That's lame. Hopefully converting your code won't be too painful.
     
  7. onion

    New Member

    Jul 9, 2015
    18
    11
    I can't really confirm how well this works since I haven't tried, but it looks like Lua has an API that can interact somewhat with some C functions: http://www.lua.org/pil/24.html

    Might make the code transition smoother... :-/
     
    MaxHeadRoom likes this.
Loading...