Support of -run and source code from stdin

Andre Pany andre at s-e-a-p.de
Wed May 27 21:40:38 UTC 2020


Hi,
Dmd and ldc supports running source code from stdin:

```
echo 'void main(){}' | dmd -run -
```

It seems GDC does not support argument -run and I do not know 
wheter it supports reading source code from stdin?

Could this 2 featured be added to gdc?
This would solve the probe file issue mentioned here 
https://forum.dlang.org/post/uwxndbpxspwaofolksbr@forum.dlang.org

Kind regards
Andre


More information about the D.gnu mailing list