How should I start writing a parser for BibTex files. As the initial design I see following steps.
- List down grammar
- Build a tokenizer
- Do parsing of token stream against grammar
We also need some error mechanism, so the users uploading bibtex files can know line numbers where is the error in their BibTex files. I am looking for community opinion to target this problem.
(please point if there are any existing open source C# or VB.NET BibTex parsers.)