p j <[EMAIL PROTECTED]> wrote:
> To be more useful we need, better syntax colouring
> from J.  By examining J words (without executing),
> assuming conjunctions and adverb phrases will result
> in verbs,  it is possible to determine all of the
> components of a sentence, dyad vs monad execution of
> verbs.

You can be a little more specific about built-in primitives,
using the assumptions above by default, but also
checking for the following specific exceptions:
 m :n determines syntax class of result based on m (which is a constant 99% of 
the time)
 [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (also @: &:) is a noun 
(undocumented distribution over gerunds)
 m&n is a noun (undocumented distribution over gerunds)
 5!:0 returns an adverb
 ` always returns a noun, regardless of its parameters
 m~ and m f. results depends on variable whose name is in m

>  Underline/italics and colour codes can help
> readers parse sentence as J will. Even, ranks of verb
> phrases could be indicated by superscripts.

And possibly showing binding order by use of creative use of white space?

-- Mark D. Niemiec <[EMAIL PROTECTED]>

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

Reply via email to