Open
Description
I'm writing an ASR lexer and parser in python and porting it to lpython. A natural way to test these is to have them read from strings. The standard way to do that is io.StringIO
. See this link and this link for an example.
I'm writing an ASR lexer and parser in python and porting it to lpython. A natural way to test these is to have them read from strings. The standard way to do that is io.StringIO
. See this link and this link for an example.