4 ms·
So like https://github.com/google/starlark-go https://github.com/google/starlark-go ?
by brokensegue 5y ago
So like https://github.com/google/starlark-go https://github.com/google/starlark-go ?
- lamontcg 5y agoNo, I don't think so. That is still aimed at programmers and looks like it has decent threading support and you could write a webserver in it. I'm thinking more like an actual shell scripting language where you have control flow, some modularity, good support for dealing with unstructured data and the ability (for software developers) to plug DSLs into the back end of the language and expose them to end users to use, and that's about it. First class functions, closures, immutability, object orientation, etc would not be in the language to keep it conceptually simple. This would render the language pretty useless for building applications out of it, but the point would be to gear it more towards people who didn't know those kinds of compsci concepts at all. The goal would be the least amount of conceptual overhead possible and therefore the most amount of accessibility.
- brokensegue 5y agoI'm pretty sure you are mistaken. You cannot write a server in starlark. You can't even open files. > Starlark is intended not for writing applications but for expressing configuration: its programs are short-lived and have no external side effects I also don't think it has threading primitives