chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] csc and standard input


From: Michele La Monaca
Subject: [Chicken-users] csc and standard input
Date: Sat, 12 Jul 2014 11:40:07 +0200

Hi all,

I think it would be useful if csc were able to work directly from the
standard input (e.g. in case of no source files). For example:

csc -o quick_test
[paste code]
Ctrl-D
./quick_test

or

cat f.scm | preprocessor | csc
./a.out

On most Unixes you can obtain the result with /dev/stdin, but it
doesn't seem a standard mandated requirement:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html

and of course it isn't applicable to Windows (mingw). So I would
favour an explicit support for stdin in csc.

Regards,
Michele



reply via email to

[Prev in Thread] Current Thread [Next in Thread]