I crafted the following patch and the corresponding test cases.
Please take a look and let me know.
Uoh it is nice to see someone else writing full-stack patches! From
the lexer all the way down to the IOS :)
My only comment is that I would name the built-ins iobias and iosetbias
instead of io_get_bias and io_set_bias. I think that matches better
with the rest of the io* API. I chose using short names like that
because they are easier to type, and these are to be used often as
commands in the prompt.
If we can agree on that, the patch is OK for master.
Thanks!