@@ -0,0 +1,701 @@
+package com.github.davidmoten.asn1;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.List;%0A%0Aimport org.antlr.runtime.ANTLRFileStream;%0Aimport org.antlr.runtime.CharStream;%0Aimport org.antlr.runtime.CommonTokenStream;%0A%0Apublic class Compiler %7B%0A%09%0A%09private final List%3CFile%3E files;%0A%0A%09public Compiler(List%3CFile%3E files) %7B%0A%09%09this.files = files;%0A%09%7D%0A%09%0A%09public void compile() %7B%0A%09%09for (File file:files) %7B%0A%09%09%09try %7B%0A%09%09%09%09CharStream s = new ANTLRFileStream(file.getPath());%0A%09%09%09%09asn1Lexer lexer = new asn1Lexer(s);%0A%09%09%09%09CommonTokenStream tokens = new CommonTokenStream(lexer);%0A%09%09%09%09asn1Parser parser = new asn1Parser(tokens);%0A%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09throw new RuntimeException(e);%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A

add Compiler class