www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17985] New: Implement -stdin for rdmd

https://issues.dlang.org/show_bug.cgi?id=17985

          Issue ID: 17985
           Summary: Implement -stdin for rdmd
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: andre s-e-a-p.de

Similiar to the -stdin enhancement for dmd
(https://github.com/dlang/dmd/pull/6880) it would make sense to implement it
for rdmd too. This would enable following command:

echo import std.stdio; void main() { writeln("Success"); } | rdmd -

--
Nov 16 2017