You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for bringing up this issue! Currently IO is not in wax's standard library, but could be achieved through the (asm "...") expression to directly use the target language's IO routines.
(@include "io.wax")
(let data str (call readfile "path/to/my/file.txt"))
There's still a bit of work to wrap it for all the target languages, and for reading from stdin. But yeah I am planning to include this in wax standard library soon.
It would be interesting see an example of how to read or input something from file or console, if that is possible.
The text was updated successfully, but these errors were encountered: