Hi Viktor, Great idea, an updated J RefCard would also be nice to have. I don't know TeX or LaTeX but I do use orgmode in emacs which has some nice export to html/pdf/latex integrations. Maybe we could collaborate on something like this in an orgmode document on github?
Cheers, Aaron. On Tue, May 17, 2022 at 10:21 PM 'Viktor Grigorov' via Programming <programm...@jsoftware.com> wrote: > > Hey, > > Swell idea and implementation. I want to make a new or myown j90x reference > sheet, and have on using TeX in the works. But I also wanted to do a html > version, an ascii version, an ANSI C escape codes version, and possibly and > md version. I also wanted to do a J verb that would spit out either the whole > thing, or examples/definitions/etc. for whatever strings you give it, e.g., > jhelp '<.' or just jhelp ''. They'd all have the same content, design only > will differ. > > And, yes, this should be a built-in, especially for people using jconsole as > their main way using the language. If you're interested in working on this > shoot me an email. > > May 17, 2022, 15:09 by aaron....@gmail.com: > > > Hi Everyone, > > > > NuVoc and the j wiki are fantastic resources but I often find myself > > wanting a quick reference directly in the repl. > > So, to scratch my own itch, I've put together a simple reference addon > > inspired by the ngn/k built in reference docs. > > > > The repo is on github here: https://github.com/AshyIsMe/jreference > > > > It should be straightforward to use (works for me on macos and linux): > > install 'github:AshyIsMe/jreference' > > load 'ashyisme/jreference' > > H > > H help > > H0 comparisons = < > _ > > H1 arithmetic, logical + * - % > > H2 powers, uniques ^ $ ~ | > > H3 defs, cut, ravels . : , ; > > H4 tally, bases, insert, grades # ! / \ > > H5 left, right, head, tail [ ] { } {{ }} > > H6 rank, do, agenda, atop " ` @ & ? > > H7 alphabet, booleans, permutations, find, fold a A C. D. e E. f. F. > > H8 integers, index of, complex, polynomials H. i. I. j. L. L: M. NB. o. p. > > p.. > > H9 primes, symbols, unicode, hook, fork p: q: r. s: S: t. T. u: x: Z: > > _9: 9: (u v) (f g h) u. v. > > H10 assert, if, for, goto, select, try catch, while > > > > > > The mnemonic is H for Help. > > H for overview, H0 for comparisons, etc > > > > I'm planning on adding some simple examples along the lines of the J > > Reference Card pdf, though I'm not quite sure how to format those just > > yet. > > > > (J RefCard: > > https://code.jsoftware.com/mediawiki/images/5/53/J602_RefCard_color_letter_current.pdf) > > > > I think ideally I'd prefer something like this to be built in to j but > > hopefully this is a simple enough prototype to see if anyone else is > > interested. > > > > Cheers, > > Aaron. > > ---------------------------------------------------------------------- > > 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