gave nodes a type to help distinguish between them, also to enforce some rules a little better. went to bed early ;), but wrote a message of what needs to be done in parser.cpp
rewrote example node-graph (in main.cpp), made operator[] do smarter work by appending next to backreferences. still broken though