On Fri, Feb 22, 2008 at 05:30:37PM -0800, Alexandre Chartre wrote:
> 
>   It's good to know that you already have a full C grammar/compiler using
> CTF data. Having a built-in C-like language in mdb/kmdb will be great and
> is definitively the goal to reach (I also had this idea but interfacing mdb
> with Perl was much easier and quicker).
> 
>   I think we can make that goal and the reflexion you are proposing part
> of the project, this will help keep track of suggestions and we can study
> what benefits are provided by languages mdb will be interfaced with. This
> will also help define what would be useful for such a built-in language.
> 
>   So the project can be twofold:
> 
>   - provide information how scripting languages can be interfaced with
>     mdb and provide support for some languages.
> 
>   - study and possibly implement a built-in language into mdb.
> 
>   I propose to change the project description to:
> 
>     The purpose of this project is to add support for scripting languages
>     to the modular debugger (MDB). Support will be added as an interface
>     to some existing scripting languages and ultimately as a built-in
>     language into MDB.
> 
>     Scripting languages will use the MDB API so that MDB commands and 
> functions
>     can be invoked from the scripting language. They will also use CTF type
>     information so that data structure can be directly accessed from the
>     scripting language.
> 
>     This project will allow to write new MDB commands using scripting 
> languages
>     instead of having to write and compile a C module. Thus this will greatly
>     reduce the time to write new MDB commands.
> 
>     This project will initially interface the PERL language with MDB.

+1 from me.

- Eric

--
Eric Schrock, Fishworks                        http://blogs.sun.com/eschrock

Reply via email to