u/AnyOne1500

What would a syntax modifying system look like?

Thought experiment. Imagine you have the ability to modify a language like Javascript or Python, and you had full access to how the language works and behaves and can modify anything.

What would the system/syntax look like that makes the modifications/add ons? What would it have? What would you build/make/add on with it? Include some examples of what you think would fit best and how you would add it with the modifier system.

Side note: I'm not asking for if this is a good idea for a language to have. I'm just asking what would it look/feel like if it was a thing.

reddit.com
u/AnyOne1500 — 9 hours ago

Been making a language called xs, feedback pt 2?

Recently I made the post: https://www.reddit.com/r/ProgrammingLanguages/s/PZJVCdlzJ9

I got a lot of feedback on it. Since then the language and installer has changed a lot. Now I've made a website for it on xslang.org and an easier way to install.

You can either curl/irm it (easiest) or install xsi (xs installer) manually and do xsi install --auto, which sets it up the same. Check the xslang.org website for more info.

There is also now officially a registry on reg.xslang.org. Using xsi you can publish and install packages, which is neat.

The latest version (as of writing this) for xs is v0.3.6, and for xsi it's v0.4.1. It's been a huge update since my last post, so let me know what y'all think!

xslang.org
u/AnyOne1500 — 3 days ago