//Path path = Paths.get(args[0]);
//Files.lines(path).forEach(s -> System.out.println(s));
try (FileInputStream fis = new FileInputStream(file)) {
TypedAST res = (TypedAST)new Wyvern().parse(new InputStreamReader(fis), "test input");
Type checkedType = res.typecheck(Globals.getStandardEnv(), Optional.empty());
System.out.println("Result type: "+checkedType);
res = new DSLTransformer().transform(res);
Value finalV = res.evaluate(Globals.getStandardEnv());
System.out.println("Result: "+finalV);
}