Parse code into operation triads IR | Mithril Interview Question