Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-25 | Pass "isImplicit" flag to Handler::fieldStart | Andreas Stöckel | |
2016-04-25 | Add greedy flag to TokenDescriptor and SyntaxDescriptor and set it ↵ | Andreas Stöckel | |
correctly. Shorten Stack "checkTokensAreUnambiguous" method | |||
2016-04-25 | Add a new "greedy" flag as attribute to the "short" syntax descriptor | Andreas Stöckel | |
2016-04-25 | Replace NodeVector by ManagedVector where NodeVector functionality is not ↵ | Andreas Stöckel | |
needed. Reduces calls to "Manager.registerEvent" to <10% of original value | |||
2016-04-25 | Issue an error messages if tokens are ambiguous | Andreas Stöckel | |
2016-04-25 | Reimplement closeToken handling | Andreas Stöckel | |
Idea: Only start unrolling anything on the parser stack if an element that matches the given close token is found. This requires the endToken method in DocumentChildHandler to search for the given descriptor that might be ended. While performing this search, only a specified number of "explicit" structures/fields opened by the Stack class may be skipped (those with implicit default fields). Added an integration test ("python_code") which requires this new (hopefully sane) behaviour. | |||
2016-04-25 | Store whether the DocumentField is part of an explicit field inside the ↵ | Andreas Stöckel | |
"DocumentField" class | |||
2016-04-25 | Improve error message | Andreas Stöckel | |
2016-04-25 | Autoformat | Andreas Stöckel | |
2016-04-25 | Improved error message if data is not allowed here | Andreas Stöckel | |
2016-04-25 | Fix crash bug when unrolling in the token handler empties the parser stack | Andreas Stöckel | |
2016-04-25 | added serialization support for attributes descriptors. | Benjamin Paassen | |
2016-04-25 | fixed a bug in the DocumentHandler which lead to problems in case of empty ↵ | Benjamin Paassen | |
explicit fields. | |||
2016-04-25 | added test for empty explicit fields, which currently fails. | Benjamin Paassen | |
2016-04-25 | fix typo in variable name | Andreas Stöckel | |
2016-04-25 | Remove unneeded variable | Andreas Stöckel | |
2016-04-25 | Make "State" a class to avoid some warnings | Andreas Stöckel | |
2016-04-25 | Do not treat commands with user defined open/close syntax as range command, ↵ | Andreas Stöckel | |
if the close token is a special (whitespace) token as this produces unintuitive behaviour | |||
2016-04-25 | Add missing include which accidently got removed during rebase | Andreas Stöckel | |
2016-04-25 | First implementation of user defined syntax, many features still missing and ↵ | Andreas Stöckel | |
probably many bugs * Implement startToken and endToken in DocumentChildHandler * Implement pushScopeToken, which pushes tokens for the element that is currently on top of the Scope stack onto the token stack * Implement rollbackPath() method (was really needed once in the development process, but only used in one place for now) * Push and pop tokens from stack whenever a new explicit field or command is created/ended. Take advantage of the fact, that the tokens for transparent structures are always included in the token list * Remember pending close tokens in the HandlerInfo structure in StackImpl * Implement handleToken() in StackImpl * Implement readToken() method used by readData() and data() in StackImpl * Check whether there still is data available in handleData() * Plus many more changes in the affected files... | |||
2016-04-25 | Some small formatting and comment changes, introduce more anonymous ↵ | Andreas Stöckel | |
namespaces in cpp | |||
2016-04-25 | Add tokenStack depth guard to Handler class | Andreas Stöckel | |
2016-04-25 | Use getFieldDescriptor method with numeric index | Andreas Stöckel | |
2016-04-25 | Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵ | Andreas Stöckel | |
temporarily remove pushTokens and popTokens calls from DocumentChildHandler | |||
2016-04-25 | Implement TokenStack::lookup method used to lookup the SyntaxDescriptors ↵ | Andreas Stöckel | |
associated with a certain token. | |||
2016-04-25 | Add getDescriptor method to DocumentField class | Andreas Stöckel | |
2016-04-25 | Reenable pushing user defined tokens onto the stack (however, user defined ↵ | Andreas Stöckel | |
tokens do not work yet) -- but if no tokens are defined, everything should work as before. | |||
2016-04-25 | Add not yet implemented "inherit" flag to the Stack class | Andreas Stöckel | |
2016-04-25 | Fix crash when an undefined annotation is met in the input | Andreas Stöckel | |
2015-03-04 | Prepared implementation of user defined tokens | Andreas Stöckel | |
2015-03-04 | Fixed whitespace tag and some error messages | Andreas Stöckel | |
2015-03-04 | Merge branch 'master' of somweyr.de:ousia | Benjamin Paassen | |
2015-03-04 | fixed a bug in Stack.cpp which lead to wrong annotation handling if the ↵ | Benjamin Paassen | |
annotation has no content. | |||
2015-03-04 | Added parsing of the generic syntax description | Andreas Stöckel | |
2015-03-03 | added more complex tests and prevented endless loops in ↵ | Andreas Stöckel | |
DocumentChildHandler::startAnnotation | |||
2015-03-03 | Implemented annotation handling | Andreas Stöckel | |
2015-03-03 | Removed last remains of "domain" in code | Andreas Stöckel | |
2015-03-03 | Renamed isSubtree to subtree and isRoot to root | Andreas Stöckel | |
2015-03-03 | Storing type and name in the HandlerData once again, using a Token | Andreas Stöckel | |
Conflicts: application/src/core/parser/stack/Callbacks.hpp | |||
2015-03-03 | Finished stack and adapted all unit tests | Andreas Stöckel | |
2015-03-03 | Started restructuring and adapting Stack class, reenabled unit tests (does ↵ | Andreas Stöckel | |
not compile right now) | |||
2015-03-02 | Added range flag to HandlerInfo | Andreas Stöckel | |
2015-03-02 | Storing type and name in the HandlerData once again, using a Token | Andreas Stöckel | |
2015-03-02 | Merge branch 'astoecke_tokens' of ssh://somweyr.de/var/local/git/ousia into ↵ | Andreas Stöckel | |
astoecke_tokens Conflicts: application/src/core/parser/stack/Handler.hpp | |||
2015-03-02 | Implemented new "start" methods in the Handler instances | Andreas Stöckel | |
2015-03-02 | Merge branch 'astoecke_tokens' of somweyr.de:ousia into astoecke_tokens | Benjamin Paassen | |
Conflicts: application/src/core/parser/stack/Callbacks.hpp application/src/core/parser/stack/Handler.hpp | |||
2015-03-02 | refactored SyntaxDescriptor to Token.hpp and added TokenDescriptor class. | Benjamin Paassen | |
2015-03-02 | Added supportsTokens method to StateBuilder | Andreas Stöckel | |
2015-03-02 | Got Stack compiling again | Andreas Stöckel | |
2015-03-02 | Got all handlers compling again | Andreas Stöckel | |