Allow call as argument to call.

Also update EBNF, replace cmake foreach with explicit test script to
test return value and add exit(1) in case of parse/codegen error.