:: Re: [DNG] Lua
Forside
Slet denne besked
Besvar denne besked
Skribent: onefang
Dato:  
Til: dng
Emne: Re: [DNG] Lua
On 2024-10-24 12:24:40, onefang wrote:
> Could be possible to get it to deal with compiled languages as well, but
> think I'll dodge that rabbit hole for now.


OK, so I cheated, but now it can do C. B-)


__[[#!/usr/bin/tcc -run
    #include <tcclib.h>


    int main()
    {
    printf("Hello world from C.\n");
    return 0;
    }
]]:log():show():Do()



Obviously tcc needs to be installed, it's a tiny C compiler.

I may tackle assembler some day. lol

--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.