Thanks for the answers. And thanks for the advice about the accessible
dictionary
Regards,Jon
> Date: Thu, 27 Feb 2014 21:08:01 -0500
> From: [email protected]
> To: [email protected]
> Subject: Re: [Jprogramming] Atop Question
>
> On the J Wiki, find "The Accessible Dictionary" in th
insert =. '/'
isadverb insert
or
isadverb '/'
considering that 5!:0 can be used to produce the adverb from string,
+ (<'/') 5!: 0 ] 1 2 3
6
that would seem to be a promissing path
The only idea I have is to generate a trappable error that could distinguish
between adverb/modifier and non
Also, you're sacrificing some of the nice relations between some of the J
symbols and making it less well-integrated if you throw in random APL
characters. In the above cases, I'm thinking of the relationships between
the variants of "power":
^ exponentiation, ^. log, ^: power conjunction.
Workin
The issue you are encountering here is that adverbs and conjunctions cannot
be arguments to another adverb (or conjunction). Adverbs form trains,
instead.
So you'll need to get them into 5!:1 by reference (that is, by giving them
a name and using that name directly.
Try:
train=:
5!:1 <
Sorry for the short note, in on the subway
ncS=:3 :'z=.y 1 :y label_. nc<''z'' ' NB. nameclass of string
ncS"0@;: 'a: + / @'
0 3 1 2
isAdverb=: adverb = ncS
isAdverb"0@;: 'a: + / @'
0 0 1 0
arString=:3 :'z=.y 1 :y label_. 5!:1<''z'' '
arString '//' NB. train of adverbs
+---
"At the APL Moot two years ago, I pointed out that I could cut-and-pasteChinese
characters into my emacs session from the web more successfully
than I could do this with APL"
I'd just add that many of the APL example characters discussed in this thread
have shown up as [square] on chrome webmail
I agree with Raul on this. Retrofitting J to handle APL characters is a lot
of work that when done will not improve what the system can do. It's more
like a software facelift with some botox and liposuction tossed it. Taken
to extremes you end up with a Michael Jackson which makes J's well designed
Hey everybody, I'm new to the forum. I got involved with vector languages
when I had to learn q for a job. I have since moved on from that job and
lost q, so I've been looking for a suitable replacement ever since. I tried
J here and there, but the things I learned never really stuck. I went to
one
thank you Dan, that is much more powerful than I expected. A small change to
ncS
ncS=:3 :'z=.y 1 :y label_. 4!:0 <''z'' ' :: _2: NB. nameclass of string
A cool feature you are using, is converting a tacit expression in a string to a
tacit expression with:
t=. '@+'
2 - ( ] 1 :t) 4
_6
whi
I might be the only person that likes J's OOP system, but here are the key
resources:
http://www.jsoftware.com/help/learning/25.htm
http://www.jsoftware.com/help/jforc/modular_code.htm#_Toc191734482
The key takeaways are that:
conew just creates an empty numbered locale, and inserts the clas
You touch on a lot of subjects here.
Generally speaking, the forums are probably the right place to start, when
you feel lost.
We should also make an effort to cross link related documentation better.
That would help the search engines give you more meaningful answers (though
there will still be
P.S. 801 not j801 in third line
Sent from my iPad
> On Feb 28, 2014, at 11:56 AM, km wrote:
>
> Yike Lu,
>
> The following describes material provided in the standard library. If you
> type one of the names in a J session, you will see how the name is defined.
> Notice, the address says j
Yike Lu,
The following describes material provided in the standard library. If you type
one of the names in a J session, you will see how the name is defined. Notice,
the address says j801 (you use j701 below).
http://www.jsoftware.com/docs/help801/user/lib_stdlib.htm
About "In theory, this
Great, thanks for the quick responses. If my quoting here is off, it's
because I used digest mode.
Generally speaking, these subjects are things I've actually found the
basics of what I need already. I'm just complaining about the pain involved
in finding said basics ;).
That said, I greatly appr
I very much agree with your observations here, about us needing more task
oriented documentation. Frankly, we could also do with a few textbooks (I'd
love to see textbooks illustrating the use of J to address things like
finite element analysis, circuit analysis, antenna theory, or any of a
variety
The idea of J with APL (or APL-like) characters is a perennial topic.
Many of us (myself included) feel that there is a beauty in those symbols.
But I don't think the Jsoftware group should devote *any* time to such
a project. (And I don't think there is any danger of that.)
There are other
Started a blog per your suggestion. It doesn't have anything useful yet.
http://yikelu.github.io/j_table/
On Fri, Feb 28, 2014 at 12:48 PM, Raul Miller wrote:
> I very much agree with your observations here, about us needing more task
> oriented documentation. Frankly, we could also do with a
Pascal Jasmin wrote:
> A cool feature you are using, is converting a tacit expression
> in a string to a tacit expression with +1 : y
I believe Ambrus showed me that trick on the Wiki a few years ago. Or
maybe I picked it up from Raul. Anyway, I wish I could claim credit for
it, but I can'
Thank you all for valuable comments.
--
regards,
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
--
try type in jconsole,
install'qtide'
to see if it will work, else please post the detail of your
problem in J General forum for qtide installtion related matter.
Thanks.
Пт, 28 фев 2014, Yike Lu писал(а):
> Hey everybody, I'm new to the forum. I got involved with vector languages
> when I had to
To avoid problems with u and m (and invisible local names), without bringing in
the full weight of anonymous evoke or equivalent, you could always do something
like
ncS=:3 :'nc <''z''[ ".''z=.'',y '
Here, a result of _1 indicates your string is ill-formed (not a valid J
sentence), which precl
the verbname__location / verbname_location_ format places more emphasis on the
verb or noun inside that locale (assuming a left to right cultural reading
orientation). That appears illogical because nobody else does that, however it
can help with readability if you can get used to it.
It als
I don't understand what you mean when you say "locals are not
hierarchical". Locales are just name spaces. Locales are implicitly
referenced through path (18!:2). The path determines how locales are
searched to resolve a name not found in the current locale. This search is
hierarchical. The locales
Here is something pretty cool.
writing tacit expressions as multiline strings. Comments are supported as well
as macros. Macros are commands appended at the end of any line (before any
comment) that start with the letters MAC and are visible in the multiline
locale. Any new macro may be defi
Directories are hierarchical - you can have a directory "inside" another
directory.
There's no way of doing that with locales - they all exist on the same
level (though of course you can have a reference to any locale inside any
locale).
Thanks,
--
Raul
On Sat, Mar 1, 2014 at 12:25 AM, Don G
Hey bill, that worked. I don't know why it broke the first time. I'm
running Mac OSX Mavericks.
Steven: again the implementation is fine, just disorienting for a new user.
If you've been developing for a while, ns::x and ns.x have pretty well
accepted meanings.
It's practically mandatory to read
I wrote a new tolower for nationalcharactersupport.
I have not done that since J turned Unicode.
To begin with then I did it in JQT on the Android.
JQT has never worked for me in Android before this latest release.
It took some time learning how to go about this.
Turns out that the national ch
Not sure what is your probleam with tolower. Anyways you can
re-use your old tolower by converting utf8 to latin1, do
everything that you used to and then convert back to unicode.
eg. unicode -> latin1
a. {~ 3&u:@ucp 'utf8 or wide unicode'
do not worry latin1 cannot display correctly in J sess
I was adding ÁÉÍÓÚÝÞÆÖ to áéíóúýþæö lower change.
I have no problems.
I used to - not now.
I am happy with JQT but not really adjusted to it yet.
-
Björn Helgason
gsm:6985532
skype:gosiminn
On 1.3.2014 07:22, "bill lam" wrote:
> Not sure what is your probleam with tolower. Anyways you can
> r
29 matches
Mail list logo