>i did add foldability to Kate, see the thread "foldability and the Kate text 
>editor". There the tags are automatically set, though you can add folds ad lib 
>by including NB.( NB.) pairs. However foldability is needed in the J ide. 
>Likely this is something though that the developers at QT have to address, 
>certainly the KDE developers had to add foldability to their base editor 
>before models of it could be added for various languages.

>Foldability is useful for development: as work on one slice usually requires 
>modification of non neighboring code - it is much neater to fold away the 
>intervening code than the error prone rearrangement alternative.

>For understanding code, eg all the components from jsoftware are uncommented, 
>foldability would breakup that sea of sameness and allow one to decode 
>excerpted parts. J has a function header syntax making it particularly 
>difficult for the eye to scan for it. The end is relatively easy with an 
>isolated ), but its corresponding beginning is more challenging.

greg
~krsnadas.org

--

from: Devon McCormick <[email protected]>
to: J-programming forum <[email protected]>
date: 19 May 2014 13:15
subject: Re: [Jprogramming] Understandable J

>Those of us fortunate enough to be using emacs for J have a "code-folding 
>mode" available to us - http://www.emacswiki.org/emacs/FoldingMode - though I 
>have not used it (and it requires tagging the source with indicators to show 
>the start and end of folding regions).  Also, the J-mode in emacs has syntax 
>highlighting.

--

from: greg heil <[email protected]>
to: Programming forum <[email protected]>
date: 19 May 2014 12:31
subject: Re: [Jprogramming] Understandable J

>More terseness is always great for our weary eyes;-)

>For me the single biggest piece of help when looking at a large .ijs file 
>would be code-folding. Are there any patches that would avail this in Kate? 
>There is a nice color coding addon for it, but i have been unable to find a 
>code folder.

>i should say the syntax highlighter i use is by Igor Zhuravlov and is on the 
>~kde site.

>in addition for the syntax highlighting and code-folding a fast way of 
>"run"ing in a J-terminal would be useful. Almost an IDE!

---~
https://bugs.kde.org/show_bug.cgi?id=316936

greg
~krsnadas.org

--

from: Eldon Eller <[email protected]>
to: [email protected]
date: 19 May 2014 11:38
subject: Re: [Jprogramming] Understandable J

Doesn't a paragraph of explanation vitiate the terseness of J?

--

from: Brian Schott <[email protected]>
to: Programming forum <[email protected]>
date: 19 May 2014 11:35
subject: Re: [Jprogramming] Understandable J

Don,

I just don't understand.
Could you give an example, please?

--

from: Don Guinn <[email protected]>
to: Programming forum <[email protected]>
date: 19 May 2014 11:25
subject: Re: [Jprogramming] Understandable J

> The left argument could be a definition name or controls for adding to help.

--

from: Brian Schott <[email protected]>
to: Programming forum <[email protected]>
date: 19 May 2014 11:21
subject: Re: [Jprogramming] Understandable J

Below is an example of monadic Note.
I have no sense of how dyadic Note would help.

   Note 'How Note works'
Note works likes this.
Enter any text for a comment
and when you are done, just
type a right paren on a line
by itself.
)

--

from: Don Guinn <[email protected]>
to: Programming forum <[email protected]>
date: 19 May 2014 08:33
subject: Re: [Jprogramming] Understandable J

>Don't forget about "Note". I like to use the right argument as a title or a 
>one line description. Then put the detailed description below. This gives the 
>possibility to provide self-documenting by redefining "Note" to extract 
>information for help. And we still have the left argument to play with.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to