1 Jan 2003 11:21
ANNOUNCE: Semantic 1.4.2 is released!
David Ponce <david.ponce <at> wanadoo.fr>
2003-01-01 10:21:48 GMT
2003-01-01 10:21:48 GMT
Hi All, Semantic 1.4.2 is released! Happy new year 2003! David * What's new This release adds namespaces support to the C/C++ grammar, improves docstrings, and fixes bugs found since 1.4.1. See the Change Log at end for details. * Requirements Semantic works with Emacs 20.x, 21, XEmacs 20.x, and 21.x. Semantic's speedbar interface requires the latest version of speedbar (1.4beta4). The Semantic Database, Semantic Analysis, and semantic charts tools require the latest version of EIEIO (0.17). * Availability You can download Semantic, speedbar and EIEIO from the CEDET project home page at: <http://sourceforge.net/projects/cedet>. The home page of Semantic is at: <http://cedet.sourceforge.net/semantic.shtml>. * Patches, bug reports & feature requests(Continue reading)
> For now I set semantic-lex-depth to nil for python so that full parse
> is done. The next thing for me to do is to use the "error" mechanism
> in the wisent parser to do what java does, i.e., use something like
> "block" non-terminal to rely on error handling to create semantic-list
> token for inner blocks.
Yes that would be a big improvement. But IMO it would be even better
if we could use `semantic-repeat-parse-whole-stream' instead of the
error recovery mechanism of the LALR parser. It is more robust and
dramatically simplify writing of grammar rules (you can easily see the
difference by comparing the wisent-java.wy and wisent-java-tags.wy
grammars!).
The main problem with python is that blocks (semantic-list) are based
on indentation instead of open/close brackets, braces or
It seems it isn't
>possible to use the syntax table to parse blocks based on line
>indentation. Is it?
[ ... ]
Correct, that is why we would need a super-set, meaning a syntax
table that does more.
The nice thing with the syntax table is that it has simple C code that
can zoom around a buffer based on that syntax. We need something that
lets us arbitrarily choose complex "thing" delimiters, and perhaps new
classes of "thing" based on static data. As a syntax table
contributes to regular expression evaluation, it would be nice to
devise our plan to not use regular expressions in case we have an
opportunity to port changes into Emacs C code.
And that, is a real trick.
Eric
RSS Feed