by stephenr · 11y ago · 0 comments
Effectively what I want is a high-level scripting language with 'c-like' syntax, that can be compiled into a static binary, to allow easier distribution of (in particular) shell utilities.
I have a feeling Go may come close, but I have a vague feeling I wasn't crazy about the syntax of it.
e.g. I want to just allocate a string to a variable, I don't want to worry about the length of the string in memory etc.
I looked briefly at stuff like Squirrel, but it seems largely abandoned these days, and as far as I can tell to compile it requires a C/C++ host app, you can't just compile a .nut file(s) to an executable, and as a scripting language obviously requires installing the Squirrel Shell runtime first.