I second Jose's feelings about quoted code. It's an indicator that something is wrong with a language's syntax or reflection facilities. If j was redesigned today I suspect the need for quoted code (mostly single line explicits) would be dropped. I also suspect the entire notion of a "line of code" would be replaced by something less arbitrary.
Sent from my iPhone > On Mar 22, 2017, at 2:16 PM, Jose Mario Quintana > <[email protected]> wrote: > > A quoteless J? That is neat, I do not like quoting code particularly when > it leads to quotes within quotes within quotes within... > > I find the related continuations.ijs script intriguing. Can you explain > what is the purpose of the continuations? How can you use them? Simple > examples would be appreciated. > > > On Fri, Mar 17, 2017 at 9:25 PM, 'Pascal Jasmin' via Programming < > [email protected]> wrote: > >> A preparser for J that autocloses parentheses, and makes embedding quotes >> easier. Also has user-defined primitives. >> >> >> https://github.com/Pascal-J/jpp >> >> as examples, >> >> 4 timespacex: +/ i.1000 >> >> is equivalent to >> >> 4 timespacex '+/ i.1000' >> >> the suggested F11 macro is pretty neat. Runs a section of code in a >> file. Unlike ctrl-R, you don't need to be at the top level line in order >> to run the multiline group that encloses the current line. >> ---------------------------------------------------------------------- >> 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
