terminology - What's it called when a compiler faces a reference to a thing defined later in the code? -


there's common issue have deal when designing compiler: 1 line of code might refer defined on later line. example:

 function f() { return g(5); }  function g() { something; } 

the first line refers function g hasn't been defined yet, compiler has keep track of reference g in current scope. when g gets defined on next line, compiler can determine previous line referred to.

what called?

i know there's term in compiler design, can't remember it.

it called forward reference.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -