octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing show_source function


From: Michael D Godfrey
Subject: Re: Implementing show_source function
Date: Wed, 04 May 2011 08:47:08 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

On 05/04/2011 07:55 AM, Jordi Gutiérrez Hermoso wrote:
Octave has a few mechanisms sort of in place to do this partially,
like the edit function and the help function, but they don't work for
compiled code (I don't know if Sage has solved this problem for
compiled code either). I can see how to do this for m-scripts, but how
could something comparable be done for compiled-in functions? I'm
thinking it should be possible to modify the DEFUN family of macros to
include __LINE__ and __FILE__ so that this information is available to
the interpreter. Would this be feasible? I haven't really tried to
untangle the magic behind DEFUN.

Thanks,
- Jordi G. H.
This would really be a good feature for Octave.  I hope you can
find the time to work on it.

Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]