aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-10-19Switched OperatorNode to TokenTypeAdrian Kummerländer
* OperatorNode class now uses TokenType for internal operator storage and logic selection * print-Method resolves the TokenType back into its character representation
2013-10-19Merge branch 'master' into feature_constantsAdrian Kummerländer
Conflicts: src/tree.cc src/utils.cc
2013-10-19Improvement: Replaced "priority" with TokenTypeAdrian Kummerländer
* Made implementation more expressive by replacing the integer priority with an strictly typed enum called TokenType ** Made removal of character comparisons from tree construction and lexer possible * As a side effect distinct numbers had to be assigned to each token ** Operators of same priority do not have identical numbers anymore
2013-10-19POC: alphabetic constantsAdrian Kummerländer
* New priority for alphabetic characters * Overloaded OperandNode constructor * Currently not usable, only basic proof of concept
2013-10-19Fixed undefined behavior of tree constructionAdrian Kummerländer
* Invalid input syntax led to undefined behavior when accessing the top element of an empty stack ** Fixed by introducing a new "topNodeFrom" function which throws an exeption in the case that the given std::stack reference is empty
2013-09-27Modified Makefile to generate shared libraryAdrian Kummerländer
* library is called libSimpleParser.so * parser was renamed to clc * test and clc are using the shared library
2013-09-26Code restructuring of tree and parsing logicAdrian Kummerländer
* Enabled tree to generate itself ** Main work is now done during tree construction * Moved lexer and getPriority utility functions into separate compilation unit
2013-07-29Coding style improvementsAdrian Kummerländer
2013-01-11Included previously missing exceptions headerAdrian Kummerländer
2013-01-05Made existing Graphviz tree generation availableAdrian Kummerländer
to the libary user by providing a new plain "exportTree" function
2013-01-05Deprecated parser class in favour of plain functions; Internal lexer,Adrian Kummerländer
priority determination and tree building functions were hidden in unnamed namespace
2013-01-05Moved node classes into separate compilation unit; File extension changeAdrian Kummerländer
2013-01-05Folder structure change; Further improvements of parser codeAdrian Kummerländer