cdecl: support for input from stdin

Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com>