Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "algebra.hpp"
- #include "debug.hpp"
- int main()
- {
- auto x = dero::algebra::tokenization("4+ ((7 + 2 + , + 7)) + 9 +9");
- tokenlist_dump(x);
- std::cout << std::endl; dero::algebra::treelinker(x);
- tokenlist_dump(x);
- std::cout << std::next(x.begin(),6)->children.size();
- }
- //il problema รจ nella ricorsione del parentesis_pre_linker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement