-// valac TreeBuilder.vala --pkg libvala-0.24 --pkg posix -o /tmp/treebuilder
+// valac TestCompiler.vala --pkg libvala-0.26 --pkg posix -o /tmp/TestCompiler
namespace Palete {
context.thread = true;
- this.report = new ValaSourceReport(this.file);
- context.report = this.report;
-
+
context.basedir = "/tmp"; //Posix.realpath (".");
int main (string[] args) {
- var a = new ValaSource(file);
- a.create_valac_tree();
+ for (var i = 0;i < 1000;i++) {
+ var a = new TestCompiler(file);
+ a.compileString();
+ }
return 0;
}
-*/
+