charly-lang / charly

🐈 The Charly Programming Language | Written by @KCreate
https://charly-lang.github.io/charly/
MIT License
199 stars 10 forks source link

Refactor Parser & Lexer configuration #133

Closed KCreate closed 7 years ago

KCreate commented 7 years ago

The Parser should no longer be a subclass of the Lexer. This allows for easier configuration.

Two structs ParserConfig and LexerConfig should be created which hold all the configuration for these parts.