summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/Coding.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-08-20 17:04:15 +0000
committerhallgren <hallgren@chalmers.se>2014-08-20 17:04:15 +0000
commit73310add9a549b58381f475eab5324a17a6b83dd (patch)
treea790e26a133da794598f27a6e0e3b200dfa6120e /src/compiler/GF/Compile/Coding.hs
parent61760e4205d03c5e05dbaa6cf2ff5ffdd1c43662 (diff)
GF.CompileOne: refactoring to reduce code duplication and improve readability
I prefer small functions with descriptive names over large monilithic chunks of code, so I grouped the compiler passes called from compileSourceModule into funcitons named frontend, middle and backend. This also makes decisions about which passes to run clearly visible up front. Also made some small changes in GF.Compile.
Diffstat (limited to 'src/compiler/GF/Compile/Coding.hs')
0 files changed, 0 insertions, 0 deletions