Re: 2 Pass Binder
- Posted by Bernie Ryan <bwryan at PCOM.NET> Aug 17, 1999
- 410 views
Rob: Why not on the FIRST PASS of bind, scan the source and build a symbol table that contains 1: any time a constant or variable is used 2: any time a function is used 3: any time a procedure is used The final result is symbol table containing a list of each item used. The next pass you do the real bind and anything that is not in the the symbol table is thrown away. Bernie