riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Allow user to specify/override default input/output streams #8

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

Similar to Lua's io.input() and io.output(). Instead of always falling back to stdin/stdout, give the user the ability to set the default streams. Track in riff_state struct.