Thanks Pasal, The "enhanced display mode" I did by making some alterations to input_jhs_, essentially I just prepended 'visual ' to each log input and then processed it. I was not comfortable creating those side effects for users so I went with just requiring the 'v' prefix.
The subtle distinction between lr and v is that lr reveals the way that the result could be created and v interprets the result visually. If you are experienced in J this might be the same thing, but I think that v gives an easier way of spotting results that you might not have expected i.e. list instead of atom, or literal instead of integer. Thanks for the feedback and I especially interested in the explorations that you have made into unicode, since finding a consistent way to represent the blend between literal and unicode is one of the things that I am currently contemplating. Cheers, bob On Jul 10, 2015, at 8:40 AM, 'Pascal Jasmin' via General <[email protected]> wrote: > Looks really good, Bob. > > The boxing is especially impressive. Something you did in one of the videos, > that I could not spot in the script file is "enhanced display mode" where > everything that prints to console is "visualized" (very curious in how that's > even possible). > > While a workable alternative to using your system comes from defining and > using > > lr =: 3 : '5!:5 < ''y''' > > you will use v or lr only when things are going wrong, and the enhanced > display is really nice to automatically hook into the console display without > modifying your code at all. > > A classic example, you might have included in your videos: > > let's get the 2nd of 2 elements in a pair (mistake) > > }. 1 22 NB. that looks right > > 1 2 ,. 3 + }. 1 2 NB. adding 3 would have looked right, but making 2 pairs > fails > |length error > > 1 2 ,. 3 + {: 1 2 > 1 5 > 2 5 > > > the automatic mode is really useful for that interactive building of > expressions where you build it one verb at a time to see intermediate > results, but don't see the problem until a later operation. > > > ----- Original Message ----- > From: robert therriault <[email protected]> > To: [email protected] > Cc: > Sent: Friday, July 10, 2015 11:02 AM > Subject: Re: [Jgeneral] NYCJUG Tuesday, 7/14 18:30, Heartland basement, 34th > Street & Fifth Avenue, NYC > > Devon, > > I'm sure that there will be lots of things to discuss between Joe Bogner's > MicroJ and Henry Rich's dissect, but I would appreciate any feedback the > group has on the enhanced display that I recently put up on the jwiki. > > http://www.jsoftware.com/jwiki/BobTherriault/Enhanced%20J%20Display > > Cheers, bob > > On Jul 9, 2015, at 1:21 PM, Devon McCormick <[email protected]> wrote: > >> The regularly-scheduled meeting will be held at the same bat-time, the same >> bat-location, as it usually is: the Heartland Brewery, 34th and Fifth, NYC. >> >> Hope to see some new faces! >> >> Devon >> >> -- >> Devon McCormick, CFA >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
