systemf icon indicating copy to clipboard operation
systemf copied to clipboard

Command line arguments?

Open MegaApuTurkUltra opened this issue 7 years ago • 1 comments

Does this have support for accessing additional command line args from the brainfuck program? For example

$ ./systemf program.bf arg1 arg2 arg3

MegaApuTurkUltra avatar Jan 24 '18 05:01 MegaApuTurkUltra

This is not currently supported. There needs to be a way to signal the interpreter to load the arg data into the initial program tape. I don't see a way to do this without extending the language further or by adding a special switch like $ ./systemf program.bf --args arg1 arg2 arg3 ... This switch option wouldn't be too difficult, happy to provide support if you want to work on a PR.

ajyoon avatar Feb 07 '18 04:02 ajyoon