← Back to context

Comment by sklogic

10 years ago

Passes need to be simple. Not even functional - just a plain term rewriting.

Although, my approach allows to analyse sufficiently imperative passes too: I've got special cases for "collectors" (lists accumulating ordered data imperatively which theb can be read once), maps (same restriction - all the writes must be done before the first read) and all kinds of destructive assignment to the simple variables.