have a look at `dub convert` - in your case e.g. `dub convert
-f sdl`
This dub convert command is weird. It works as `cat dub.json |
dub convert -sdl' and makes a nice SDL file called dub.sdl, but
it blows away the source file, which I've never seen before with
piped output from cat. I don't
On Thursday, 16 June 2016 at 13:20:06 UTC, Guido wrote:
On Thursday, 16 June 2016 at 06:07:55 UTC, Seb wrote:
On Thursday, 16 June 2016 at 05:31:26 UTC, Guido wrote:
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
rando
On Thursday, 16 June 2016 at 06:07:55 UTC, Seb wrote:
On Thursday, 16 June 2016 at 05:31:26 UTC, Guido wrote:
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
On Thursday, 16 June 2016 at 05:31:26 UTC, Guido wrote:
Is there any way to sanitize mixin code from user-configurable
file?
yes. read json file and convert it to anything you want. ;-)
On 2016-06-16 08:07, Seb wrote:
Well it's a configuration file that e.g. the registry has to parse too,
hence (as for all config files) random code execution is pretty bad.
If one had to explicitly upload Dub packages via a Dub command instead
of pushing a tag to the git repository, the D cod
On Thursday, 16 June 2016 at 05:31:26 UTC, Guido wrote:
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
from user-configurable file?
Well it's a configurat
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
from user-configurable file?
Once that's shot down, does anyone know a .json to .sdl converter
program