Martin asked:
> Besides ":", do we have primitive conjunctions or adverbs
> which return anything other than verbs?
Sure. Conjunctions:
(<'/') 5!:0
/
(<'/')`:6
/
Adverbs:
Adverb=:/
'Adverb'~
/
'Adverb' f.
/
> Does anyone have non-primitive C/As which do not return V?
Not sure what you mean by non-primitive, but 1 : and 2 : can return any
part of speech trivially:
+1 : '&'
&
If by "non primitive" you mean compound tacit expressions, and don't mind a
bit of overkill, then have a look at:
http://www.jsoftware.com/pipermail/programming/2007-November/008816.html
That message defines a tacit(ish) adverb which, like ". , executes any J
sentence, but, unlike ". , returns any part of speech:
'~~~~' ae
((~~)~)~
Of course, in the end all such "compound, tacit" mechanisms must rely upon a
primitive to produce the final result. In this case that primitive is (not
surprisingly) : .
The rest of your message was quite interesting and informative. It
addressed long-standing questions / thoughts I'd had. I need to study it in
more detail. I do not yet have an intuitive grasp of the parse table.
-Dan
--
View this message in context:
http://www.nabble.com/Aiming-at-a-multi-core-future-tp14383671s24193p14410959.html
Sent from the J Programming mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm