private static IExpression parseCmdLineArgs(String cmdLineArgs) { try { Dictionary <String, String> args = CmdLineParser.parse(cmdLineArgs); Dictionary <TextValue, IValue> valueArgs = new Dictionary <TextValue, IValue>(); foreach (String key in args.Keys) { valueArgs[new TextValue(key)] = new TextValue(args[key]); } DictValue dict = new DictValue(TextType.Instance, false, valueArgs); return(new ValueExpression(argsType, dict)); } catch (Exception) { // TODO return(new DictLiteral(false)); } }