summaryrefslogtreecommitdiff
path: root/conf/parser.go
AgeCommit message (Collapse)Author
2017-01-20Introduce registrySilvan Jegen
We introduce a registry that contains maps to builder functions. These builder functions return the interface implementation of the modules specified in the configuration. We also make the input module type use the registry. All other module types still have to be converted.
2017-01-20Print filter module description as wellSilvan Jegen
2017-01-20Return module descriptionSilvan Jegen
For now it's mostly key-value pairs but it will most likely have to get more complex because of the if-statements.
2017-01-18Don't loop in advanceOneTokenSilvan Jegen
2017-01-18Merge branch 'writeownscanner'Silvan Jegen
This is not working correctly yet.
2017-01-15Implement Stringer interface for the token typeSilvan Jegen
2016-12-28Finish parsing of keyvaluesSilvan Jegen
2016-12-27Parse more of our current config formatSilvan Jegen
2016-12-25Start writing the parserSilvan Jegen
2016-12-25Implement our own scannerSilvan Jegen
This allows us to record byte offset and line number in the token.
2016-12-25Implement lexer based on ScannerSilvan Jegen
We also add the skeleton of a recursive descent parser.