Re: Why some ...+ FASTER PARSING than 2.4 !
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Jan 03, 2006
- 447 views
petelomax wrote: > > On Sun, 01 Jan 2006 17:42:36 -0800, "Juergen Luethje" > <guest at RapidEuphoria.com> said: > > The idea -- and the desire -- to include .il files came up shortly > > after Eu 2.5 was released. > Sadly, I've still not figured that out. Phil Russel showed me how to > dump a complete .il, but not a partial (re-locating pre-defined globals, > etc). > Matt Lewis, if you are listening, any thoughts? > I haven't put any serious effort into this. I suspect that the challenges aren't terribly technical, but probably more drudgery than anything else. I think the most difficult would be remapping all the symbol references from their old values to their new values in the actual il code for each subprogram. You could possibly save these as sequences instead of integers when you emit il code (knowing that you're doing a partial shroud). That would make later stuff easier, though I doubt this would work when translated from eu.ex to Rob's binary format for il files. Alternatively, you'd need to 'reparse' the il code to remap the symtab references. This would require knowing which parts were symtab indices. You'd also need to add everything to the hash table, and update other and sundry bookkeeping items along the way. So it wouldn't be a zero parse time, but probably much reduced. I still wish that we could supply il code to the binder and let it produce an il file, though I doubt Rob's changed his mind on the matter. Matt Lewis