Re[1]: [cedet-semantic] semantic-make improvement
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2002-02-18 02:02:02
|
>>> Kimura Fuyuki <fu...@mj...> seems to think that: >Hi, > >I made some improvements in semantic-make for practice. It can now >handle rather complex makefile like the attached one. Remaining >possible TODOs are: > > - Support BSD-make's makefile > - Support Imakefile > - Move to wisent?? > >My next challenge would be semantic-awk or wisent-awk (not just a >torture!) or -xml or something. Anyone working on these? If there, >please tell me. I take another way. [ ... ] Hi, Thanks for the patch, and sorry about the delay. The patch itself seems fine, but I'm trying to understand what some of the changes are for. In particular, some of the whitespace stuff is throwing me off, though I certainly understand the need to differentiate whitespace. I suspect that to do what you want will require that the core lexer be able to provide whitespace. I'll let you know when I figure it out a bit better. I do not know of an awk parser, or anyone working on one. If awk wraps it's function bodies in some parenthetical form, either parser will work. If it does not, then wisent will be better. Wisent is better in general, though simple languages like the Makefile may be a little easier in the current parser (I can't verify that assumption yet). There is a program called `xml-parse' which parses XML files. I've been looking at it lately, and may write a filter to convert its output to something that is semantic friendly. Have fun Eric -- Eric Ludlam: za...@gn..., er...@si... Home: www.ultranet.com/~zappo Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |