Commit Graph

17 Commits

Author SHA1 Message Date
Danila Fedorin 0263086e10 Add link nodes to collections and check for their presence.
This prevents infinite loops, as Link nodes do not follow regular
addInto behavior.
2017-07-28 09:51:59 -07:00
Danila Fedorin 2cc4bd14ce Switch all uses of *List, *Map to just List and Map. 2017-07-27 18:19:12 -07:00
Danila Fedorin 0d7a416446 Add a missing comment. 2017-07-27 16:27:26 -07:00
Danila Fedorin b0ae3f90fc Add sanitization to TreeBuilder. 2017-07-27 15:26:02 -07:00
Danila Fedorin 2ca23fd427 Implement correct plugin loading and registration. 2017-07-27 14:06:57 -07:00
Danila Fedorin 07dd9d0a1a Support removing expressions. 2017-07-27 10:54:11 -07:00
Danila Fedorin 077a34c618 Switch Lexer to use a map for patterns, to allow for removal. 2017-07-27 10:47:11 -07:00
Danila Fedorin e816b86a3e Correctly handle un-matched tokens and end-of-string situations. 2017-07-26 13:24:46 -07:00
Danila Fedorin c19ae3b071 Add a lot of comments. More to come. 2017-07-25 22:47:48 -07:00
Danila Fedorin 043d02ead2 Fix a bug in the pattern class. 2017-07-25 13:53:19 -07:00
Danila Fedorin 42db6b3c2f Fix bug causing the last character not to be matched. 2017-07-24 21:00:35 -07:00
Danila Fedorin c86e192d2e Implement a lexer. 2017-07-24 20:47:25 -07:00
Danila Fedorin 43c3d5f754 Fix a few bug in the pattern compilation code. 2017-07-24 20:47:13 -07:00
Danila Fedorin ac3087fc3f Add a new function to add children into collection. 2017-07-24 20:45:56 -07:00
Danila Fedorin 02141d8df0 Switch underlying implementation to Set from List. 2017-07-24 19:46:22 -07:00
Danila Fedorin 6200381016 Implement a tentative pattern class that can be compiled from a string. 2017-07-24 19:45:32 -07:00
Danila Fedorin 2374c167a4 Implement a few nodes for the pattern matching. 2017-07-24 17:42:25 -07:00