add dynparse, js and gtk interface
implement more parse tree construction