Hi all !
I tried out the functionality of Jx and got some problems.
I expected these two expressions to be equivalent, but got syntax error
on the second.
+(".. '/') 1 2 3
6
+(".. [: / ]:) 1 2 3
|syntax error
| +("..[:/]:)1 2 3
I had problems with Knot until I recognized that it is `. and not `: as
the description says.
"|`:|Knot (Gerund) – is similar to the J primitive|`|(tie) except that a
non-boxed noun argument is first replaced by its atomic representation."
+`.1
┌─┬─────┐
│+│┌─┬─┐│
│ ││0│1││
│ │└─┴─┘│
└─┴─────┘
I had problems with Cloak. I managed to use it but didn't understand
what it is for.
AtDot=: 2 : (':';'[ v^:_1 u@v')
1 0 1 -AtDot# 4 5 6
_4 0 _6
1 0 1 -(2 ?: 5!:1<'AtDot')# 4 5 6
_4 0 _6
The example gives syntax error. Missing parenthesis.
(;:'ver conj adv')=. _3 _2 _1<@?:"0) 0
|syntax error
| (;:'ver conj adv')=: _3 _2 _1<@?:"0)0
(;:'ver conj adv')=. _3 _2 _1<@?:("0) 0
ver
(_3?:0)
conj
(_2?:0)
adv
(_1?:0)
I guess you can use Jx to define adverbs and conjunctions in tacit code,
but I didn't understand how.
Cheers,
Erling
On 2017-08-01 22:55, Jose Mario Quintana wrote:
A brief description of the Jx v1.0 extensions, together with links to a
Windows 64 bit dll, a Unix 64 bit so binaries and the patch corresponding
to the J806 source can be found at,
http://www.2bestsystems.com/foundation/j/jx1
Summary
- Spelling
- Names with unicode characters
- Primitives
Added =.. =:: $:: [. ]. ]: ".. ":: `. ?: i.. O.
Extended ~ $.
- Foreign
Added 104!:5 Unnamed Execution
- Trains
a v Added (different from Jx v0)
a a Extended (different from Jx v0)
c a Resurrected
a c a Resurrected
The Jx v0 page,
http://www.2bestsystems.com/foundation/j/jx0
will be removed in the near future
Time permitting, there will be soon a script with assertions for those who
want to verify binaries targeted for other platforms and I will try to
illustrate the facilities in action with some scripts.
On Sat, Mar 8, 2014 at 11:40 PM, Jose Mario Quintana <
jose.mario.quint...@gmail.com> wrote:
The patches, a Windows 32-bit DLL, a cheatsheet, 32 and 64 bit Unix
libraries are found at:
http://www.2bestsystems.com/foundation/j/
For more details and demonstration code, see the article in the Journal of
J: http://journalofj.com/index.php/vol-2-no-2-october-2013 (only the
definition of the new conjunction knot (`.) has been slightly modified for
the release).
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm