[Mono-list] About intellisense, mono, emacs
A Rafael D Teixeira
Fri, 18 Apr 2003 07:28:27 -0300
>In Emacs Lisp, how the hell do I use System.Reflection? :-P
>AFAIK, Emacs plugins can only be programmed in C and in Lisp...
Your C written plugin could embed mono runtime to call a helper class in C#,
like mod_mono does, but that would put a dependency on mono runtime.
>Semantic Bovinator is a parser/lexer for emacs, written in C and
>callable in lisp. If you supply a C# grammar, we have a C# parser in
>emacs. This would allow us to show the members for classes written by
>us, but not for the framework classes...
We have it in mcs sources (cs-parser.jay), in jay format (jay is a version
of yacc that generates parsers in C#) that can be adapted to run with bison
or other parser generators.
But for the framework classes I suggest you to do like SharpDevelop: Make an
utility to generate once a database of the whole class-library, and query it
from your plugin. You may even use an already generated database from
SharpDevelop, if you agree on the format. Currently you need just two frozen
versions of such databases, one for version 1.0 of the framework and another
for version 1.1.
Mono, MonoQLE Hacker
Help STOP SPAM with the new MSN 8 and get 2 months FREE*