Extract Syntax Checks from CodeGenerator #625

DavePearce opened this Issue Apr 19, 2016 · 1 comment


None yet

1 participant


This follows on from #621.

At the moment, there are a large number of syntax checks in CodeGenerator. For example, it reports whether a variable is possibly uninitialised, whether or not a break statement is enclosing a loop, etc. These checks should not be in CodeGenerator and are making it more complex than necessary. They should be moved either into the parser, or elsewhere. In some cases, they may even be redundant.

@DavePearce DavePearce self-assigned this Apr 19, 2016
@DavePearce DavePearce added this to the ChangeList Pre v0.4.0 milestone Apr 19, 2016

Ok, I've done what I can here. But, it's not finished yet. In particular, see #628

@DavePearce DavePearce closed this Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment