The document I used is outdated, the "neko.System" has been removed. I use the new code, which can be compiled:
static function main() {
Sys.println("What's your name?");
var input = Sys.stdin().readLine();
Sys.println("Hello " + input);
}