That's an interesting approach, Andrew. It would be nice to see a step-by-step getting-started, employing a very simple example, added as a section to that page.
> If it is not too much to ask, could you please notify me when you > implement your formatter? Yes certainly. Ian Clark On Fri, Apr 1, 2011 at 3:11 PM, Andrew Nikitin <[email protected]> wrote: > >> Ian Clark earthspotty at gmail.com >> Fri Apr 1 10:17:11 HKT 2011 >> >> But I'd prefer to develop entirely in J, not mash-up with Unix, so I >> guess I'll hack out my own limited facility. I'll just be careful not >> to extend it too far, in view of the alternatives. > > Ian, > > I've been using "literate" approach to write J code. > (see http://www.jsoftware.com/jwiki/Literate for further links) > It is based on 2 processes, "tangle" and "weave". > "Tangle" extracts executable code from the document and "weave" produces > human readable presentation with comments that use rich presentation > capabilities of some existing product. > > In J case, "literate" language is moinmoin markup, and presentation > language is HTML. > I've implemeted "tangle" step in J as described in > http://www.jsoftware.com/jwiki/AndrewNikitin/Jtangle > with the purpose of being able to load code into J session without > explicit intermediate code extraction step. > > For "weave" step I rely on J wiki (by pasting and submitting moinmoin > markup into wiki form). > > One reason, I did not attempt full J implementation of weave is > inline latex macro. I use it often in comments and there is no way to > implement it in pure J. > > Having said all that, limited weave is better than no weave. > If it is not too much to ask, could you please notify me when you > implement your formatter? > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
