Georg Bauhaus <[email protected]> writes:
> I took the easy way out and ignored byte-compilation. :-) So, what was
> working was actually Emacs Lisp text, as is.
Have you noticed particularly slow parse times? That would happen when
you open a large file; it takes a second or two before you can do
anything. The parser is actually running in the background for
font-lock, but it still ties things up.
> A bird's-eye view of the overall organization of the sources
> and the build process will, I think, be quite helpful. I have
> started a few notes, not implying that they are generally
> useful, or up to date. They reflect what I have learned.
> Texinfo appended below. Maybe some of the comments in the
> Wisent/Elisp files can be reworked into this overview?
Thanks for this. I really do need to set up INSTALL and user_guide.texi
> 2. bird's-eye view:
>
> @section Producing Ada Mode's Parsers From Scratch
>
> For its indentation functions, Ada Mode ultimately uses parsers
> written for @xref{Wisent}.
No, it's no longer the Wisent parser; it's the Wisi parser. I re-wrote
the parser to support generalized LALR; when it hits a conflict, it
spawns another parser, and follows both paths until one errors out.
> Two parsers are provided. One is for Ada
> source text, the other is for GNAT project files. Wisent grammars of
I guess it's ok to call them Wisent grammars, but maybe just "grammars"
would be better? The 'wisent' command line tool won't accept these files
because of the %conflict statements, and because of the conflicts.
--
-- Stephe
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org