News for hackers. Stuff that matters.
Re:Wren: A classy little scripting language by l9o on Sunday October 26, 2025 @05:00PM (#45715173)
This is awesome. Thank you for sharing. I have been working on a small interpreted language for shell scripts with lots of help from Claude Code. The main idea is to automatically generate the cli interface for the scripts based on function definitions. However, I'm far from a programming languages expert, so I've been a bit hesitant to share my work. Going to give this book a read this week to see how far I am. Thank you!
Re:Wren: A classy little scripting language by manveru on Sunday October 26, 2025 @05:56PM (#45715516)
Take a look at how Nushell does this, it's quite neat: https://www.nushell.sh/book/custom_commands.html#documenting...
Re:Wren: A classy little scripting language by l9o on Sunday October 26, 2025 @05:59PM (#45715533)
That's excellent. Somewhat similar to the syntax I went with, but most likely much better implemented. I'm going to give it a go. Thank you!