> There are yacc grammars available for several languages, including C, > Matlab, and Lisp. The advantage of this approach is similar to the > advantage of the syntax highlighting engine; its not particularly tied > to any language. I mostly program in C/Matlab myself, but I know > there's plenty of other languages and users out there (python, perl, > sh/csh/ksh/zsh/tcsh/..., java, lisp, scheme, ada, matlab, ... > apologies > to those folks for whom I've missed mentioning their favorites) and > tying a major feature of vim to one or two languages is probably not > going to be universally appreciated. What I was advocating was the > ability to use LALR grammars (read: yacc/bison) so that vim isn't tied > to a particular language and, in fact, can be extended to cover future > languages.
A language checker has to do more than just grammar checking, you also need type checking, checks if a variable is defined before use, etc. > Nico --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
