Add SMFunc-MMFunc stack to parser. Add basic examples/tests.