gmarkall / manycore_form_compiler

MCFC is deprecated. See https://code.launchpad.net/~grm08/ffc/pyop2
https://code.launchpad.net/~grm08/ffc/pyop2
GNU General Public License v3.0
3 stars 1 forks source link

Refactor code generation unparser #63

Open gmarkall opened 12 years ago

gmarkall commented 12 years ago

The logic for unparsing is getting quite confusing and the state of the unparse gets distributed across many objects, and it's confusing and hard to make changes.

A more elegant solution could be to create an unparser class based on the visitor pattern.