Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread thedeemon
On Tuesday, 11 February 2014 at 11:38:06 UTC, Nick Sabalausky wrote: I've released a little one-module utility, Scriptlike, to help simplify writing shell script-like programs in D: https://github.com/Abscissa/scriptlike Sounds very nice and handy. I tend to write my scripts in D these

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Jesse Phillips
On Tuesday, 11 February 2014 at 11:38:06 UTC, Nick Sabalausky wrote: I've released a little one-module utility, Scriptlike, to help simplify writing shell script-like programs in D: https://github.com/Abscissa/scriptlike It looks like you've covered a lot of the short comings for doing

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Nick Sabalausky
On 2/11/2014 1:52 PM, Jesse Phillips wrote: On Tuesday, 11 February 2014 at 11:38:06 UTC, Nick Sabalausky wrote: I've released a little one-module utility, Scriptlike, to help simplify writing shell script-like programs in D: https://github.com/Abscissa/scriptlike It looks like you've

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Jesse Phillips
On Wednesday, 12 February 2014 at 00:07:42 UTC, Nick Sabalausky wrote: As for the license, if you don't mind switching to zlib then great, just go ahead and submit a pull request if you'd like to. But I'm not married to zlib license or anything. My reasons for using zlib license are relatively

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Jesse Phillips
On Wednesday, 12 February 2014 at 00:07:42 UTC, Nick Sabalausky wrote: I think that would fit very well into Scriptlike, as long as you don't mind it all being in the same module as the rest of scriptlike, and preferably using same formatting style (not that that's strictly important, but

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Nick Sabalausky
On 2/11/2014 8:01 PM, Jesse Phillips wrote: On Wednesday, 12 February 2014 at 00:07:42 UTC, Nick Sabalausky wrote: As for the license, if you don't mind switching to zlib then great, just go ahead and submit a pull request if you'd like to. But I'm not married to zlib license or anything. My

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Nick Sabalausky
On 2/11/2014 8:10 PM, Jesse Phillips wrote: On Wednesday, 12 February 2014 at 00:07:42 UTC, Nick Sabalausky wrote: I think that would fit very well into Scriptlike, as long as you don't mind it all being in the same module as the rest of scriptlike, and preferably using same formatting style

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Jesse Phillips
Personally the biggest problem I have are libraries which depend on other libraries. A few of my scripts ended up growing a library I chopped off, but I haven't come up with a way to segregate it from needing XML/ini/cmdln libraries too. On Wednesday, 12 February 2014 at 02:15:38 UTC, Nick

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Nick Sabalausky
On 2/11/2014 10:42 PM, Jesse Phillips wrote: On Wednesday, 12 February 2014 at 02:15:38 UTC, Nick Sabalausky wrote: 2. You still have to either pass all the files to DMD, or add an extra -Ipath to your RDMD call. That is true with the single file, so I don't see why this would be relevant.

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Jesse Phillips
On Wednesday, 12 February 2014 at 04:59:11 UTC, Nick Sabalausky wrote: But I may well just be paranoid about multiple files being a problem. Unless there's objections (don't seem to be so far) I may go ahead and split it up with a package.d. If it turns out to be an issue, I could just deal

Re: Scriptlike: New lib to aid in writing script-like programs

2014-02-11 Thread Nick Sabalausky
On 2/12/2014 12:13 AM, Jesse Phillips wrote: following your formatting as a separate file. Done, it's all separate files with a package.d now.