Progress report:

I wrote some code to extract the cached text properties from a buffer,
and then time reapplying them when read from a string, as they would be
from an external parser that returned text properties instead of actions.

For gnatcoll-xref.adb, that took 4 seconds. 

So that approach is still far too slow.

The only option left is a foreign function interface for Emacs, so it can
call the Ada code to do the parsing, which can in turn call compiled
elisp code to apply the parser actions, as the elisp parser does.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to