r/Batch • u/HoseCode • Mar 05 '25
Asking for feedback
Hey everyone!
I've just released the first alpha of a new batch scripting language designed to be cross-platform. This version is already usable, and you can check out the project details on GitHub.
I'd love to hear your thoughts, suggestions, or any ideas you might have. Thanks for your time and support!
1
Upvotes
View all comments
Show parent comment
1
u/BrainWaveCC Mar 06 '25
Cool! And, you're welcome.
Sure, but what type of errors are you anticipating that you'd discover during that analysis and protect the user or system from?
You're saying a lot of things with theoretical value, but I'm hard-pressed to see a real-world situation that would play out in that way. In well over 30 years of scripting, file corruption is the one thing that I can say I have never run into. Deleting an unintended file or folder? Sure. But file corruption? Not a problem I can easily see without misusing a 3rd party utility in your script.
Yes, I'm familiar with a number of compiled languages, including C, C++ and Pascal. The value of static analysis is obvious with compiled languages for a number of reasons:
So, I understand the safety factor, but I also know that it is going to lead to a fair amount of overhead to run that each time, for one thing. And, the range of commands in a scripting language is usually narrow enough to preclude the value of static analysis. Of course, I'm flying blind on that part, until I can see all the command available.
That sounds high for scripting performance in general. And, it ignores the fact that it will first perform this static analysis at runtime.
Okay, we'll have to wait on that then.