News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by spc476 on Thursday March 01, 2018 @11:02PM (#16498897)
It's Lua 5.3:

    h = "hello" .. utf8.char(160) .. "world"
    
    f = io.open("Makefile","w")
    f:write(h,":\n")
    f:close()
    
    f = io.open(h .. ".c","w")
    f:write([[
    #include <stdio.h>
    
    int main(void)
    {
      puts("Hello, world!");
      return 0;
    }
    ]])
    f:close()
Pretty straightforward.

There are no comments on this comment yet.