[Tinycc-devel] How about the source code accepted as a input stream
From:
Hanzac Chen
Subject:
[Tinycc-devel] How about the source code accepted as a input stream
Date:
Wed, 19 Mar 2008 13:41:20 +0800
I think it will be quite useful to accepting source code from a input stream, not just read from the file specified in the arguments. If so, we can write some frontend programs to generate C code on the fly and redirect it to tcc to generate the binary code.
If no file or input stream specified, tcc can use the standard input and this will be helpful to debug/testing becuase it already supports running code in memory.