News for hackers. Stuff that matters.
Re:Show HN: KataScript, new language looking for feedback by kseistrup on Saturday January 09, 2021 @01:32AM (#25698004)
Can it be used for commandline scripts? As in

    #!/usr/bin/env kata
    print("hello ", "world");
Re:Show HN: KataScript, new language looking for feedback by snerp on Saturday January 09, 2021 @08:24PM (#25707365)
Ok, this works now!

You need g++9, and then you can:

    make
    make install
and then the script will be like

    #!/usr/bin/env KataScript
    print("hello ", "world");
Any KataScript script with an extension other than ".ks" is now assumed to be a bash script and the first line will be treated as a shebang.
Re:Show HN: KataScript, new language looking for feedback by snerp on Saturday January 09, 2021 @04:50PM (#25705196)
Not yet, that's a great idea. Thanks!