Open exclusive-and opened 1 week ago
Simply put, at time of writing, the GLR code is a big mess. It needs to be cleaned up.
The especially urgent candidates are:
Hanjiru.Tomita.tomita
Hanjiru.Tomita.Reduce.pack
Hanjiru.Tomita.Stack also needs a lot of attention. It needs:
Hanjiru.Tomita.Stack
Also, it's probably worth considering a nice monad or two to simplify some of the variable routing that's currently done by hand.
Another idea for tidying up Hanjiru.Tomita.tomita (and other things): separate the conventional (single-stack) LA/LR functions from the GLR (multi-stack) functions.
Simply put, at time of writing, the GLR code is a big mess. It needs to be cleaned up.
The especially urgent candidates are:
Hanjiru.Tomita.tomita
: Basically all of the code in here should be split up into tidier functions.Hanjiru.Tomita.Reduce.pack
: Requires general tidying, and also more efficient handling of list splitting/recombination.Hanjiru.Tomita.Stack
also needs a lot of attention. It needs:Also, it's probably worth considering a nice monad or two to simplify some of the variable routing that's currently done by hand.