You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
example: const int a = 7
typecheck should treat it similarily to a normal var
codegen should use the value rather than the variable. consts will be slightly more efficient since rather than looking up the variables value, the value is already inserted at interpreation/runtime. The ExprEvaluator should not be allowed to use variables, except if they're constants
The text was updated successfully, but these errors were encountered:
example:
const int a = 7
typecheck should treat it similarily to a normal var
codegen should use the value rather than the variable. consts will be slightly more efficient since rather than looking up the variables value, the value is already inserted at interpreation/runtime. The ExprEvaluator should not be allowed to use variables, except if they're constants
The text was updated successfully, but these errors were encountered: