Hacker News
XS Programming Language
7 points by xs-lang
ago
|
2 comments
Made my language called XS. It's a general-purpose language, currently at v1.2.15 as of this writing. Would like feedback and how I can improve it! Website it at https://xslang.org. There is a playground to try XS out in, and fully complete docs as well. Enjoy!
dnnddidiej
[-]
Very cool. Since you have memoize ... does that mean all values are immutable?
Like the built in decorators. I think language design based on what people want to achieve rather than creating the most generic zoo of primitives is underexplored. So this is good.
tacostakohashi
|root
|parent
[-]
Language design based on what people want to achieve: that's basically what php, perl, python, visual basic... many others are/were.
It works pretty well!
Then... what people want to achieve changes, maybe they want to write a web app instead of desktop, and then you're screwed. Perl was excellent when everything was text... but when things started being XML or JSON or whatever, less so.
It's a fair point though, languages built around practicality have their place.