A syntax driven web editor based on Antlr4