Motivated by J preprocessing extensions such as:

https://github.com/Pascal-J/jpp

J is great for dsl creation.  wd and jd are examples.  Quoting, however is an 
annoyance.


On Friday, August 23, 2019, 12:15:58 p.m. EDT, [email protected] 
<[email protected]> wrote: 

which would be then used as the alledged script source.  It also
assume that Jasmin was thinking of deriving a source noun from
a "not-quite-J-script" file.  Imagine...

    - a mail-file with a mail header and a J script body,
    - a J script digitally signed by its author,
    - a J script containing additional "WEB"-style documentation
    - a J script containing extra code for instrumentation which
      should be stripped off,
    - a J script NOT containing instrumention code which should
      be added.

In all these cases, the files could be preprocessed by some special
J loader code into noun scripts and "executed from noun" but, in case
of errors, with a helpful hint from which file the code originated.

Personally, I would prefer cpp-style #file/#line directives in
scripts.  At any rate, the above is how I understood the proposal.

                            Martin

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to