m-ender / retina

A regex-based programming language.
MIT License
231 stars 10 forks source link

Don't block for input #30

Closed m-ender closed 9 years ago

m-ender commented 9 years ago

Currently, if no input is piped into the program, Retina waits for console input before running. This is fairly annoying, because you don't want any input for fixed-output programs. The default behaviour should change such that if no input is available, empty input is assumed. The current behaviour could be recovered with a command-line option.

m-ender commented 9 years ago

Fixed in next release. I haven't added an option to recover the old behaviour yet. I'm not convinced it's actually useful, and I can always add it if someone actually needs it.