Next round of sed infrastructure, parses most commands now, doesn't implement them yet.