In the Arabian Nights, there are many tales involving castles with locked doors. Behind each door is an unexpected world more intriguing than the last. Well, J is like that. I am standing in awe before the latest door labelled Special Codes.
On Sat, 28 Dec 2019, 20:06 Ric Sherlock, <tikk...@gmail.com> wrote: > The best source of info on special code or Combinations that I know of is > here: > > https://code.jsoftware.com/wiki/Vocabulary/SpecialCombinations > > On Sun, Dec 29, 2019 at 1:59 AM Raul Miller <rauldmil...@gmail.com> wrote: > > > On Sat, Dec 28, 2019 at 7:38 AM Arnab Chakraborty <damd...@gmail.com> > > wrote: > > > Thanks for the code. But I did not quite comprehend the phrase > > "special > > > code". Do you mean that the hook (i. <./) gets replaced by some low > > level C > > > code, instead of being parsed as a general hook? > > > > I believe it's that (i. <./) gets a special low level C implementation > > after being parsed as a general hook. > > > > (Parsing still happens as normal -- but already there are a variety of > > implementations that get used for any single parse. There's a lower > > level virtual machine here which implements the J primitives. It deals > > with the different machine types that can be used in arrays, and it > > also deals with choosing what to do based on the verbs that are used.) > > > > See also: > > > > https://www.jsoftware.com/help/dictionary/special.htm > > > > Currently, the line mentioning i.<./ appears twice on that page. > > > > Thanks, > > > > -- > > Raul > > ---------------------------------------------------------------------- > > 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