For Programmers: Free Programming Magazines  


Home > Archive > Scheme > June 2007 > Function Browsing in Scheme









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Function Browsing in Scheme
Robert Bruce Carleton

2007-06-22, 10:09 pm


I noticed that lispworks has a gui function browser and that drscheme
also has a function highlighting device when you use the "Check
Syntax" button.

Are there other scheme function browsers out there that I'm missing.
I've done some looking but I really haven't found anything yet. One
that works inside of emacs would be great. I'm already using the
"trace" function in guile and other places.

Thanks,

--Bruce



--
Robert "Bruce" Carleton
Jens Axel Søgaard

2007-06-22, 10:10 pm

Robert Bruce Carleton skrev:
> I noticed that lispworks has a gui function browser and that drscheme
> also has a function highlighting device when you use the "Check
> Syntax" button.


I might be misreading the above, but note that after "Check Syntax" in
DrScheme, one can right click on identifiers and get various
options.

--
Jens Axel Søgaard
Jose A. Ortega Ruiz

2007-06-22, 10:10 pm

Robert Bruce Carleton <rbc@insidernewswire.com> writes:

> I noticed that lispworks has a gui function browser and that drscheme
> also has a function highlighting device when you use the "Check
> Syntax" button.
>
> Are there other scheme function browsers out there that I'm missing.
> I've done some looking but I really haven't found anything yet. One
> that works inside of emacs would be great. I'm already using the
> "trace" function in guile and other places.
>


You may find useful, in emacs,

M-x imenu

(it works with many other languages, BTW) --- for more info,
C-h f imenu

HTH,
jao
--
"I didn't do it, and I'll never do it again."
- Derrik Ws
Robert Bruce Carleton

2007-06-22, 10:10 pm

Jens Axel Søgaard <usenet@soegaard.net> writes:

> Robert Bruce Carleton skrev:
>
> I might be misreading the above, but note that after "Check Syntax" in
> DrScheme, one can right click on identifiers and get various
> options.
>
> --
> Jens Axel Søgaard


1) Open a scheme file in drscheme that defines helper functions used
by following functions in the same file.

2) Press the "Check Syntax" button on the drscheme ui and then hold
the mouse over a helper function (or other top level variable) name in
the define and look at where the arrows point in the buffer. They
should point to other functions that call the helper function.

--
Robert "Bruce" Carleton
Robert Bruce Carleton

2007-06-22, 10:10 pm

"Jose A. Ortega Ruiz" <jao@gnu.org> writes:

> Robert Bruce Carleton <rbc@insidernewswire.com> writes:
>
>
> You may find useful, in emacs,
>
> M-x imenu
>
> (it works with many other languages, BTW) --- for more info,
> C-h f imenu
>
> HTH,
> jao
> --
> "I didn't do it, and I'll never do it again."
> - Derrik Ws

I'll check it out.

Thanks,

--Bruce

--
Robert "Bruce" Carleton
Aaron Hsu

2007-06-23, 10:16 pm

On 2007-06-22 14:52:50 -0500, Robert Bruce Carleton
<rbc@insidernewswire.com> said:

> Are there other scheme function browsers out there that I'm missing.


It is my understanding that the ctags application (with which many text
editors are compatible) supports the scheme language, and that it can
identify functions and so on, which allow you to "trace" back and find
function definitions. I do not know if it is as visually convenient as
DrScheme's Check Syntax function trace, but I think that it works over
multiple files.
--
Aaron Hsu <aaron.hsu@sacrificumdeo.net>

"No one could make a greater mistake than he who did nothing because he
could do only a little." - Edmund Burke

Robert Bruce Carleton

2007-06-23, 10:16 pm

Aaron Hsu <aaron.hsu@sacrificumdeo.net> writes:

> On 2007-06-22 14:52:50 -0500, Robert Bruce Carleton
> <rbc@insidernewswire.com> said:
>
>
> It is my understanding that the ctags application (with which many
> text editors are compatible) supports the scheme language, and that it
> can identify functions and so on, which allow you to "trace" back and
> find function definitions. I do not know if it is as visually
> convenient as DrScheme's Check Syntax function trace, but I think that
> it works over multiple files.
> --
> Aaron Hsu <aaron.hsu@sacrificumdeo.net>
>
> "No one could make a greater mistake than he who did nothing because
> he could do only a little." - Edmund Burke
>


I'd heard of ctags but I had not tried to use it. I didn't realize
that it could be used with scheme. I'll check that out.

Thanks,

--Bruce


--
Robert "Bruce" Carleton
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com