Refactoring of the front-end
This refactoring enables more code sharing in order to ease any creation of a new lexer, for instance, a Michelson lexer (foreign code injection) or any new lexer for LIGO. This MR is also a preliminary step for the ES6FUN lexer hack for ReasonLIGO.
Edited by Sander