public List<ShellFragment> compile() throws ParseException { List<ShellFragment> result = new ArrayList<ShellFragment>(); SelfCompilingNode s = script(); s.compile(result); return result; }