The readme.txt in the jgplsrc folder (which is what the tar zipped
archive unzips to) contains instructions for how to build and test the
source code.  It is slightly different than most of the open source
projects but it shouldn't be much difficult if you're familiar with
configure/make/install routine used in linux land.  Also, each c file
has one line (4th line in most cases) describing what is in that c
file.  I've extracted those and put them in a file named 00FILEMAPPING
(strangely named to always keep it at the top!) and I just consult it
to see which file I should be looking at for implementation of
vocabulary items.

I'm not entirely sure but I think this strange issue of
grading/sorting literals might be connected to list/atom dichotomy for
a single item list.  This dichotomy is fine for numbers but unsuitable
for literals.  I just cannot think of a situation where a single item
literal can be anything but a list.  Am I missing something obvious?

On Sat, Apr 11, 2015 at 2:59 PM, Henry Rich <henryhr...@nc.rr.com> wrote:
> Interesting.  There seems to be a retrogression in J8.03, which included a
> new interpreter build.
>
> It gets even weirder:
>
> In J8.03 32-bit,
>
>    /:~'p'
>
>    p =. 'p'
>
>    /:~'p'
>
>    /:~p
> p
>    /:~'p'
> p
>
> Initialization error?
>
> If Jsoftware would organize a way to modify, build, & test the official J
> version, many of us would work on fixing problems like this.
>
> Henry Rich
>
>
> On 4/11/2015 2:12 PM, EelVex wrote:
>>
>> What is more alarming, imo, is that:
>>
>> (in both j701 and j801)
>>     /:~2
>> 2
>>     /:~'p'
>> p
>>     /:~'pa'
>> ap
>>     /:~'p'
>>       NB. empty result!
>>
>>
>>
>> On Sat, Apr 11, 2015 at 9:00 PM, Henry Rich <henryhr...@nc.rr.com> wrote:
>>
>>> Don't expect this to be fixed in J804.  There are many small interpreter
>>> bugs and no organized effort to repair them AFAIK.
>>>
>>> This bug is similar to the previously-noted bug #86 which was that the
>>> result was atomic rather than a list for equal Boolean values.
>>>
>>> On my system, which is J32, /:~1 is 0.
>>>
>>> Henry Rich
>>>
>>>
>>> On 4/11/2015 1:54 PM, robert therriault wrote:
>>>
>>>> So the fix may already be in process.
>>>>
>>>> The versions that I have found with the issue are:
>>>>
>>>> j602/2008-03-03/16:45 which is not surprising since it is not a current
>>>> version and
>>>>
>>>> j803/2014-10-19-11:11:11 in the jhs environment on my mac, which is
>>>> certainly more current, although the whisperings suggest j804 may not be
>>>> far off.
>>>>
>>>> Cheers, bob
>>>>
>>>> On Apr 11, 2015, at 10:29 AM, 'Pascal Jasmin' via Programming <
>>>> programm...@jsoftware.com> wrote:
>>>>
>>>>   actually, in Jqt 8.03
>>>>>
>>>>>
>>>>>    1 /: 1
>>>>> 1
>>>>>
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: robert therriault <bobtherria...@mac.com>
>>>>> To: Programming forum <programm...@jsoftware.com>
>>>>> Cc:
>>>>> Sent: Saturday, April 11, 2015 1:16 PM
>>>>> Subject: [Jprogramming] Results of 1/:1
>>>>>
>>>>> Just spotted a question on stack overflow from Zhe Hu about the
>>>>> behaviour of 1/:1
>>>>> http://stackoverflow.com/questions/29580291/j-sort-
>>>>> function-1-1-returns-0
>>>>>
>>>>>      2/:2 NB. expected result
>>>>> 2
>>>>>      1/:1 NB. expected 1 as the result
>>>>> 0
>>>>>
>>>>> Also,
>>>>>
>>>>>      #$ 2 /: 2 NB. result is list as expected
>>>>> 1
>>>>>     #$ 1 /: 1 NB. result is atom, not a list as expected
>>>>> 0
>>>>>
>>>>> I don't see the reasons that 1/:1 would return the atom 0 as a result,
>>>>> but that does not mean there one does not exist. :)
>>>>>
>>>>> Cheers, bob
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>> ----------------------------------------------------------------------
>>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>
>>>>   ----------------------------------------------------------------------
>>>
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> 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