Live data from Hacker News

Show HN: KataScript, new language looking for feedback

github.com

1–5 of 5 posts

Re: Show HN: KataScript, new language looking for feedback

#2
So I made this while working on the triggering system for my game engine. It was originally supposed to be a basic parser for simple commands, but I ended up developing out a lot of features to the point where it's now an actual scripting language. I'm looking for feedback on the language design and the C++ implementation if you have any, thanks!

Re: Show HN: KataScript, new language looking for feedback

#5

Can it be used for commandline scripts? As in #!/usr/bin/env kata print("hello ", "world");

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.