Created
May 13, 2018 13:01
-
-
Save seanballais/631502c10f8ceebfb9c0a24d1cdcffc9 to your computer and use it in GitHub Desktop.
AST Creation Thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (some condition) | |
var x <- Reachable so I should create a binding to this variable x. | |
else <- Assume relatively unreachable. | |
var y <- Unreachable. But I can't be sure if it's reachable (prolly related to Halting Problem?). | |
So, I must create a binding so that the expressions that operate on y will run without an error and | |
to take into account cases that this branch is actually reached. | |
This seems like a waste of memory especially in large codebases. | |
var z <- Same as above with var y. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment