Open Jengamon opened 5 months ago
In the tests/goldenfile.rs
you will see a module collected_print
which is a clone of the print from the io implementation except it collects the output to throw it in a channel. I think this might raise the question of how to handle the io module.
Right now, this only accepts the local attributes, but doesn't do anything with them. As is, this would lead to incorrect behavior, as
const
andclose
change some of the mechanics of how assignments work/are allowed, while any other values should be rejected.Goals
const
attributeclose
attribute (along with the__close
metamethod)