/Neb

Parser with a nebulous purpose

Primary LanguageC++MIT LicenseMIT

Neb

MathLimerick.png

Parser with a nebulous purpose

"What is my purpose? What am I? Where am I going? Who can I serve along the way?"

Our parser does not know the answers to any of these questions. It's just going to focus on what it knows how to do: parsing. Neb parses mathematical syntax in unicode or the MathBran serialized format. Neb has the nebulous philosophy of parsing as much valid mathematical syntax as possible, regardless of how practical it is to interpret or process the parse tree in a later stage. This division between parsing and interpretation should ultimately be helpful to develop a robust technology stack.

The parser is implemented with recursive descent, and uses several LibreOffice spreadsheets to perform code generation of token and AST node definitions.

DiffusionEq.png

LinearControlEq.png

Prerequisites

License

This project is licensed under the MIT License - see the LICENSE file for details