around negative numbers, fixed decimal
places, etc.
D. A large set of various functions that make building applications in APL
much simpler. Many are clean-room implementation of TSR's old libraries
including user IO with error checking, calendar/Julian date routines, and
many more.
Thanks!
Blake
Thank you for your reply. I was trying to correct a typo when I encountered
the problem. Yes, the problem is that I have a SI. It has been so long, I
forgot about that.
I still think there is a small bug, however. Seeing the message 'problem
'Nabla.cc:444' would make anyone think there was an
systems (in APL and C). On the other hand, I
don't know anything about GNU APL's internals. If you are interested,
perhaps we can work together to add this feature.
Thanks again for a lovely system!
Blake McBride
Wow. Never thought of such a simple design. Leveraging off the existing
file system is a great idea. Ultimately, however, I wouldn't do it that way
for two main reasons:
1. The overhead of opening/creating, read/writing, and closing a file with
each record access is huge when many records are
With 20+ years C experience, IMO using alloca() as a way of allocating
computed sized arrays is good. There are other speed advantages of using
alloca too. Like many C library calls, alloca only works because of the
fact that it is specifically designed to work with a specific tool chain.
That's
.
There is a lot I want to do with GNU APL. This has been holding me back.
Thanks!
Blake McBride
Evaluation Sequence:
If B is not a value, signal value-error.
/// Jürgen
On 04/15/2014 07:31 AM, Blake McBride wrote:
Additionally, while their may be a semantic problem with that code as you
point out, there is utterly nothing wrong with the _syntax_.
On Sun, Apr 13, 2014 at 8:40 AM
Sorry. Figured it out. It's dbname not Database.
On Thu, Apr 17, 2014 at 10:26 PM, Blake McBride blake1...@gmail.com wrote:
I can't seem to specify the database I want to connect to.
'postgresql' SQL∆Connect 'host=localhost user=postgres
password=postgres'
0
'postgresql
$ sqlite3 sqlite.db
SQLite version 3.7.17 2013-05-20 00:56:22
Enter .help for instructions
Enter SQL statements terminated with a ;
sqlite select * from mytable;
238|Blake
892|Sam
111|George
--
db←'sqlite' SQL∆Connect 'sqlite.db'
db
0
April 2014 10:45, Blake McBride blake1...@gmail.com wrote:
$ sqlite3 sqlite.db
SQLite version 3.7.17 2013-05-20 00:56:22
Enter .help for instructions
Enter SQL statements terminated with a ;
sqlite select * from mytable;
238|Blake
892|Sam
111|George
2 3 *
* ⍴CDR*
*128*
/// Jürgen
On 04/19/2014 12:16 PM, Blake McBride wrote:
Greetings,
Now that the wonderful SQL interface is working for me, I believe I can
create a component and keyed file system in straight APL easily. I just
need to understand ⎕TF a bit better.
1. 3
Just an idea.
Greetings,
Your email sparked many thoughts. Not that my opinion necessarily counts
for anything, I think this should be GNU APL's priority list:
1. Fix all known bugs and portability issues as they are discovered.
2. Support all of APL's standard defined features (i.e. trace, stop, etc.)
Thanks! Really appreciate it!
--blake
On Tue, Apr 22, 2014 at 6:53 PM, David B. Lamkins dlamk...@gmail.comwrote:
I've pushed apl-cf to Github.
The only change (since the last tarball posted to bug-apl) is the
addition of a README.md file.
https://github.com/TieDyedDevil/apl-cf
Greetings,
I am on the tail end of producing a complete xkb mapping for the Unicomp
APL keyboard. Right now, I am only having a problem with two obscure
characters. If I get these, the mapping will be perfect. I haven't
figured out the xkb U code (like U235E is ⍞) for the following two
AM, Blake McBride wrote:
]keyb prints out a diagram of an APL keyboard. Very helpful. The
problem is it appears to be static. It doesn't reflect the actual keyboard
mapping you are using. I kind of doubt APL could figure this out
dynamically, but I wonder if there isn't a better solution
Greetings,
Back when I coded in APL, there was discussion about the storage of iota.
For example:
a←⍳100
b←66+⍳100
c←6.2×4+⍳100
d←5+b
All of these can be represented as a simple equations internally rather
than expanding it all out. It would only be expanded when absolutely
MB).
BTW how did you get the Unicomp keyboard? I sent a query to them last year
on their web-page and
never got a response?
/// Jürgen
On 04/27/2014 03:12 PM, Blake McBride wrote:
Greetings,
With the critical and greatly appreciated help of Andreas
wetts...@gmail.com, I have been
Greetings,
I have a WS that has a ⎕LX to a valid function. That function, in turn,
calls another function that isn't there (on purpose).
---
Here is what I get from the terminal:
)load Devices
Emacs mode for GNU APL is incredible! Configuration/setup is very easy,
and the advantage in function editing alone make it instantly a big win.
It is easy to learn too. I start to edit a function just as in normal
APL. The only thing I had to know was that Ctl-c Ctl-c saved my edit.
Just
cannot decide which type of value is being
used.
That all suggests IMHO to not do it. The general problem with this and
similar optimizations is that the
optimization considered alone can be drastic, but the overall gain of it
can still be negative.
/// Jürgen
On 04/27/2014 06:27 PM, Blake
conditional jumps that happen in the next_tag() method depends
on current_char, which I presume could be uninitialised. I suppose Jürgen
will have to take a look at this and determine how to fix this one.
Regards,
Elias
On 28 April 2014 11:57, Blake McBride blake1...@gmail.com wrote
Good call!
On Mon, Apr 28, 2014 at 2:33 PM, David B. Lamkins dlamk...@gmail.comwrote:
Please configure such that M-x comment-region works for APL code.
. I have added some more
printout so that I
can see which value ID is causing this (SVN 237). If it happens again,
please send me the
.xml (if it is a different one) and the vid printed on stderr.
/// Jürgen
On 04/28/2014 05:11 PM, Blake McBride wrote:
Here is the workspace.
On Mon
that tells me where
in the
.apl file this happens. Just a guess because i am not that familiar with
emacs mode.
/// Jürgen
On 04/29/2014 10:19 PM, Blake McBride wrote:
I don't know how to get the vid printed on stderr since I only get the
error running through Emacs. If someone can give
Here is what I get:
]xterm off
]log 32
Log facility 'Prefix parser ' is now ON
]log 33
Log facility ' ... location information ' is now ON
'libemacs' ⎕FX 'EMACS'
changed to Prefix[si=0])
() ?).
/// Jürgen
On 04/30/2014 07:41 PM, Blake McBride wrote:
Here is what I get:
*prompt: ' ' at Input.cc:223
LOC: 'Input.cc:225' at Input.cc:225
from:'1398879544756301' at Input.cc:228
]xterm off
line:']xterm off
Greetings,
While using Emacs mode I found the following small bug. If you edit an
existing function, move the cursor around, maybe change something, and hit
C-c C-c it saves the function just fine. However, if you edit an existing
function and then immediately (without moving the cursor or
?
On 4 May 2014 20:31, Blake McBride blake1...@gmail.com wrote:
I am using Emacs 24.3.1. It comes with Linux Mint. I did not build it
myself. I do have a number of customizations in my .emacs file.
Okay, I have deleted everything out of my .emacs file except the GNU APL
mode stuff and re
)clear
CLEAR WS
∇test
[1] [∆2]
execute_oper() failed at No/bad edit_to at Nabla.cc:621
[1]
Works perfectly. Thanks!
On Mon, May 5, 2014 at 9:08 AM, Juergen Sauermann
juergen.sauerm...@t-online.de wrote:
Hi Blake,
thanks. fixed in SVN 249.
/// Jürgen
On 05/05/2014 03:14 AM, Blake McBride wrote:
I know this code doesn't make sense but it is part of a function
Forgive the question, but my experience is only with the original APL and
not APL2. I have a (general array) vector. Each element is a string
vector. For example:
x←'abcd' 'efg' 'hijkl'
Now, if I have:
y←'hijkl'
z←'hhh'
How can I tell if y is in x? How can I tell if z is in x?
I can
From within emacs mode I do:
∇xx
and then save without adding any lines, emacs gives:
Unexpected error:
Thanks!
Blake
When attempting to copy only a subset of functions from a WS I get all
sorts of incorrect output. For example:
)load Devices
SAVED 2014-5-5 0:39:1 (GMT-5)
)copy Devices Pic
NOT COPIED: CAL
NOT COPIED: CS
NOT COPIED: Cms
NOT COPIED: Delim
NOT COPIED: Dn
NOT COPIED: Dtfmt
NOT COPIED:
I'm not sure of this but - if you try to )ERASE something that isn't there,
shouldn't it display a not found message on the ones not found?
The problem is, if you erase something and mistype it, there is no message.
You have no idea you didn't erase it. I don't remember what other APL's
did.
told that this happens. I just can't seem to reproduce it
though. Can you confirm that it doesn't happen if you move the cursor prior
to pressing C-c C-c?
What version of Emacs are you using?
Regards,
Elias
On 9 May 2014 11:59, Blake McBride blake1...@gmail.com wrote:
From within emacs
something with someone in another part of the world. I can do
the translation, when necessary, at that time. As it is, I have to do time
math each time I want to use the value/message )SAVE returns.
Thanks.
Blake
On Thu, May 8, 2014 at 11:05 PM, Blake McBride blake1...@gmail.com wrote
May 2014 19:21, Blake McBride blake1...@gmail.com wrote:
Dear Elias,
Emacs version 24.3.1.
I always have to move the cursor or I get the other error. So, after I
move the cursor and attempt to save, I get the second error:
Unexpected error:
Thanks.
Blake
On Fri, May 9, 2014 at 12
your Emacs to use it?
On 9 May 2014 19:44, Blake McBride blake1...@gmail.com wrote:
$ git pull
Already up-to-date.
$
On Fri, May 9, 2014 at 6:32 AM, Elias Mårtenson loke...@gmail.comwrote:
Hmm... I think I have an idea what's going on.
Can you try with the latest version of gnu-apl
Greetings,
On Fri, May 9, 2014 at 12:10 AM, Daniel H. Leidisch li...@leidisch.netwrote:
Hello!
Blake McBride blake1...@gmail.com
writes:
x←'abcd' 'efg' 'hijkl'
Now, if I have:
y←'hijkl'
z←'hhh'
How can I tell if y is in x? How can I tell if z is in x?
Or for both
arguments that can be made, but my mail is long enough
already and I think my position has been made. :-)
Regards,
Elias
On 9 May 2014 19:42, Blake McBride blake1...@gmail.com wrote:
Greetings,
Two additional problems with the )SAVE message:
1. Drop the timezone info i.e. (GMT -5)
2
and ends with End-Data
Regards,
Elias
On 9 May 2014 19:54, Blake McBride blake1...@gmail.com wrote:
I just did a make clean, followed by a make under native. Also verified
that emacs is loading the one I just built. Same errors.
Thanks.
Blake
On Fri, May 9, 2014 at 6:48 AM, Elias
and try again.
Regards,
Elias
On 9 May 2014 20:58, Blake McBride blake1...@gmail.com wrote:
Defining a function with a blank line worked without errors. Here is the
Message buffer:
Command=si
Command=def
Command=#(foo 0 3 (fontified t))
Command=#('a' 0 3 (face font-lock-string-face
it
foo.apl. Then, enter the following into the file:
*∇foo*
*'a'*
*'b'*
*∇*
Then, move the cursor to some point within this function definition (for
example, the line containing 'a'), and press C-c C-c.
Regards,
Elias
On 9 May 2014 21:10, Blake McBride blake1...@gmail.com wrote:
Ooh, sorry
On 9 May 2014 22:32, Blake McBride blake1...@gmail.com wrote:
Okay. Sorry. Now I get it.
With the space I get the Unexpected error:. Here is the Message window:
Command=proto
Connected to APL interpreter
(New file)
Command=si
Command=def:/home/blake/foo.apl3A;1
Command=#(foo 0 3
explanation. I'll
leave it to others to fill in any information I have missed.
Regards,
Elias
On 9 May 2014 20:07, Blake McBride blake1...@gmail.com wrote:
Greetings,
On Fri, May 9, 2014 at 12:10 AM, Daniel H. Leidisch
li...@leidisch.netwrote:
Hello!
Blake McBride blake1...@gmail.com
gnu-apl-libemacs-location to
point to the location of the native library. The default is the value
libemacs which will be resolved by GNU APL to the one that comes with the
interpreter itself.
Regards,
Elias
On 9 May 2014 22:43, Blake McBride blake1...@gmail.com wrote:
I am surely
. The interesting stuff happens in the Elisp code, which can be (or
rather, will be) installed from ELPA.
Regards,
Elias
On 9 May 2014 23:12, Blake McBride blake1...@gmail.com wrote:
Dear Elias,
This really confuses me. Why would libemacs come with GNU APL if the .el
files don't? Why would
see right now is that the workspace ID is not
shown if omitted in the )SAVE command.
I will fix that. The rest (GMT offset etc) should remain as is (it would
also break my testcases to change it).
/// Jürgen
On 05/09/2014 02:17 PM, Blake McBride wrote:
Given that )SAVE is a command
was the content of the database table?
I won't be able to test this on a real Postgres instance until I get back
home (on Monday), but this information may at least give me an idea.
Regards,
Elias
On 9 May 2014 21:58, Blake McBride blake1...@gmail.com wrote:
Greetings,
I've got my keyed file
this:
∇z←list find key
z←(,¨list)∊⊂,key
∇
(Also: please trim your replies.)
On Fri, 2014-05-09 at 10:26 -0500, Blake McBride wrote:
Interesting. I didn't know about ≡. That's helpful, but the issue
you raise with 'a' 'b' leaves us back to where I started. There
should be a simple way
keys.
On Fri, 2014-05-09 at 11:34 -0500, Blake McBride wrote:
Greetings,
It doesn't work:
m←'hello' 'there' 'how' 'are' 'you'
m
hello there how are you
m find 'are'
0 0 0 1 0
m find 'are' 'hello'
0 0 0 0 0
'are' find m
0 0 0
This was fine prior to my SVN update and rebuild. Now I get:
)load Devices
==
Assertion failed: !Avec::is_quad(sym_name[0])
in Function: lookup_symbol
in file: SymbolTable.cc:83
Call stack:
That fixed it. Thanks!
On Sun, May 11, 2014 at 7:41 AM, Juergen Sauermann
juergen.sauerm...@t-online.de wrote:
Hi Blake,
thanks, fixed in SVN 259. I had removed ⎕NLT together with gettext() but it
can still be around in workspace files.
/// Jürgen
On 05/10/2014 11:53 PM, Blake
The output to )SI seems correct except that the asterisk should be on the
same line as the function and line.
)clear
CLEAR WS
∇fun
[1] fun2
[2] ∇
fun
VALUE ERROR
fun[1] fun2
^
)SI
fun[1]
⋆
fun
VALUE ERROR
fun[1] fun2
^
)SI
fun[1]
⋆
fun[1]
⋆
)LOAD gg
SAVED 2014-5-11 14:21:36 (GMT-5)
)FNS
CAL CS Dtfmt EHN ER JUL Lck Omega PI
Parse Pic PicdPid Pim Pin Pis VI auto
∆
)SI
)COPY gg Pic
SEGMENTATION
Mårtenson loke...@gmail.com wrote:
Interesting. Does it happen for all empty tables?
On 10 May 2014 02:27, Blake McBride blake1...@gmail.com wrote:
APL:
db←'postgresql' SQL∆Connect 'host=localhost user=postgres
password=postgres dbname=apl'
db
'select * from apl_files;' SQL∆Select
Is this what you intended of the 'me' function:
≡me 4
3
≡me 5 6
2
≡me ''
2
≡me 'f'
3
≡me 'ff'
2
≡me 'aaa' 'bbb'
3
≡me 'a' 'b'
2
On Fri, May 9, 2014 at 4:00 PM, David B. Lamkins dlamk...@gmail.com wrote:
Here's a version that doesn't use a lambda.
:40
e_msg_1: 'No Error'
e_msg_2: ''
e_msg_3: ''
On 05/11/2014 04:09 PM, Blake McBride wrote:
The output to )SI seems correct except that the asterisk should be on the
same line as the function and line.
)clear
CLEAR WS
∇fun
[1] fun2
[2] ∇
fun
VALUE ERROR
fun[1
...@gmail.com wrote:
The only way to make it more consistent is to make behaviours that today
are allowed into an error.
What would you expect ⊃'333' '5' to do?
Regards,
Elias
On 12 May 2014 22:43, Blake McBride blake1...@gmail.com wrote:
Thanks. I have to say, with no reflection
5
⊃¨'333' '5'
333 5
I guess they thought 'why do something that already exists by other means
(ie. ⊃¨) and do something different (ie. ⊃)
that could be useful elsewhere'.
/// Jürgen
On 05/12/2014 04:43 PM, Blake McBride wrote:
Thanks. I have to say
there is to it. Again, once your text has been
processed, APL itself is consistent.
Personally, I'd have preferred to have 'x' result in a string and some
other syntax, say #\x like in Lisp, or something like that.
Regards,
Elias
On 12 May 2014 23:11, Blake McBride blake1...@gmail.com wrote:
'333
.*
Regards,
Elias
On 12 May 2014 23:28, Blake McBride blake1...@gmail.com wrote:
Dear Elias,
Having many years of APL (not APL2) under my belt, I understand and
appreciate the difference between a scalar (zero dimension array) and
a vector (one dimension array) - (both arrays).
I
or
arrays function utterly the same.
Blake
On Mon, May 12, 2014 at 10:35 AM, Elias Mårtenson loke...@gmail.com wrote:
Well, APL doesn't have pointers. :-) (which is something I miss indeed)
Regards,
Elias
On 12 May 2014 23:34, Blake McBride blake1...@gmail.com wrote:
First, as I said before
for that one is the desire to preserve
the X≡⊃⊂X invariance.
Regards,
Elias
On 12 May 2014 23:37, Blake McBride blake1...@gmail.com wrote:
Having 35 years programming experience, it is my opinion that languages
should work to maximize human's expressiveness rather than the other way
around
Thank you very much!
On Mon, May 12, 2014 at 10:31 AM, Juergen Sauermann
juergen.sauerm...@t-online.de wrote:
Hi Blake,
thanks, found the fault. Fixed in SVN 261.
/// Jürgen
On 05/12/2014 03:57 PM, Blake McBride wrote:
Here is is. Thanks.
On Mon, May 12, 2014 at 6:44 AM
It would be nice if:
∇myfun[⎕]∇
would list the function in the main window (the one with the above
statement) rather than give an error. Sometimes it is nice to just list
the definition.
Thanks.
Blake
Greetings,
Not understanding enclose/disclose, I am not sure if this is correct
behavior or not. Basicilly, with ]boxing turned on, the following code
produces some sort of data item that I cannot re-produce without the pair.
Turn on ]boxing and try:
⊃⊂''
or
⊃⊂0⍴0
They produce something
AM, Elias Mårtenson loke...@gmail.com wrote:
Yes, that's the bug that was mentioned earlier. The result should be the
same as ''. Jürgen confirmed this bug, so I'd expect it to be fixed soon.
:-)
Regards,
Elias
On 13 May 2014 21:14, Blake McBride blake1...@gmail.com wrote:
Greetings
Yes indeed. I rebuilt and it works as expected now. Thanks!
Blake
*Blake McBride*
www.arahant.com
Cell:615-394-6760
Office: 615-376-5500
Fax: 615-377-6006
On Tue, May 13, 2014 at 8:49 AM, Elias Mårtenson loke...@gmail.com wrote:
You most certainly did. I just updated and now
I wrote two APL functions that operate like ⊃ and ⊂ packing an APL1 array
into a scalar and unpacking it back into its APL1 array. It works as
Iverson preferred, and is simple to understand and use. There are no
exceptions to what can be nested (i.e. scalars can be recursively nested).
And
14, 2014 at 7:24 AM, Juergen Sauermann
juergen.sauerm...@t-online.de wrote:
Hi Blake,
thanks, fixed in SVN 265.
/// Jürgen
On 05/13/2014 05:07 PM, Blake McBride wrote:
In GNU APL, when you list a function via:
∇fun[⎕]∇
the format of the returned output has several problems
Thanks!
On Wed, May 14, 2014 at 3:43 AM, Jay Foad jay.f...@gmail.com wrote:
On 13 May 2014 15:00, Blake McBride blake1...@gmail.com wrote:
Here are the functions, examples to follow:
∇box[⎕]∇
[0] z←box x
[1] z←⊂(⊂⍴x),⊂,x
∇unbox[⎕]∇
[0] z←unbox x
[1] z←(⊃x[⎕IO
I just noticed some really strange behavior in emacs mode. I mapped my
Unicomp keyboard and the diamond character works and displays perfectly
when not in emacs mode. But when I use it in emacs mode I experience the
following behavior:
When I type:
3 ⋄ 4
in emacs mode, I see something like:
Perfect! Thanks!!
On Wed, May 14, 2014 at 11:01 AM, Juergen Sauermann
juergen.sauerm...@t-online.de wrote:
Hi Blake,
thanks, fixed in SVN 266.
/// Jürgen
On 05/14/2014 04:04 PM, Blake McBride wrote:
Dear Juergen,
Thanks! Two small adjustments, if you care
a≡1 2
0
:-(
Jay.
On 14 May 2014 15:24, Blake McBride blake1...@gmail.com wrote:
Your unbox doesn't work. The following does:
(s r)←⊃x ⋄ z←(⊃s)⍴⊃r
On Wed, May 14, 2014 at 3:43 AM, Jay Foad jay.f...@gmail.com wrote:
On 13 May 2014 15:00, Blake McBride blake1...@gmail.com wrote
Greetings,
GNU software index points to:
http://www.gnu.org/software/apl
That page is blank.
---
The page at: http://www.gnu.org/software/apl/apl.html
talks about downloading but doesn't tell you from where. It would be nice
if it referred you to the tar file and the subversion
it. But, go right ahead and make
one if you feel that would be useful.
Regards,
Elias
On 15 May 2014 22:30, Blake McBride blake1...@gmail.com wrote:
Greetings,
I am in the process of writing a proposed README.txt file for the SQL
interface to GNU APL. That package comes with a file
)CLEAR
CLEAR WS
∇z←test
[1] z←5 5⍴⍳25
[2] ⍫
test
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
∇test[⎕]∇
DEFN ERROR+
∇test[⎕]∇
^
)SAVE abc
2014-05-15 10:40:56 (GMT-5)
)LOAD abc
SAVED 2014-5-15 15:40:56 (GMT-5)
really have any particular drive to make it. But, go right ahead and make
one if you feel that would be useful.
Regards,
Elias
On 15 May 2014 22:30, Blake McBride blake1...@gmail.com wrote:
Greetings,
I am in the process of writing a proposed README.txt file for the SQL
interface to GNU
Retired Chemical Engineer
On Tue, 2014-05-13 at 09:00 -0500, Blake McBride wrote:
I wrote two APL functions that operate like ⊃ and ⊂ packing an APL1
array into a scalar and unpacking it back into its APL1 array. It
works as Iverson preferred, and is simple to understand and use
Greetings,
With the latest version of GNU APL and Emacs APL mode, I now get:
Process apl exited abnormally with code 2
This worked fine until I updated to the latest GNU APL. I tried rebuilding
Emacs mode native library, but it didn't help.
Thanks.
Blake
Thanks. Your APL mode for Emacs is hard to live without!
Blake
On Sat, May 17, 2014 at 10:07 PM, Elias Mårtenson loke...@gmail.com wrote:
Yes. Known problem. The interface has changed and I will fix it today.
Regards,
Elias
On 18 May 2014 11:05, Blake McBride blake1...@gmail.com wrote
Oh, and I should point out this too:
⍴(box 'k'),box 'v'
┌→┐
│2│
└─┘
⍴'kv'
┌→┐
│2│
└─┘
Blake
On Sat, May 17, 2014 at 9:59 PM, Blake McBride blake1...@gmail.com wrote:
Greetings,
I suppose my examples were meant to show that my box and unbox function as
I hoped
Lastly,
⍴(box 'abc'),box 'def'
┌→┐
│2│
└─┘
Blake
)CLEAR
CLEAR WS
x←''
⍴x
0 0
B. Lamkins dlamk...@gmail.com wrote:
Hmm, not here:
CLEAR WS
x←''
⍴x
0
As expected.
This is:
Welcome to GNU APL version 1.3 / 6705
Are you building from sources? Perhaps a $ make clean all is in order...
On Mon, 2014-05-19 at 21:21 -0500, Blake
Dear Fred,
While your code does help in one area, it has a problem in another, i.e.:
gg←,'' 'a' 'b'
⍴gg
3
Your code says there are three but to the programmer there are only two.
The '' is just there to make the rest work. I suppose you can just
remember that and change your
( PST_NONE, Workspace::get_PP(), 10 );
^
make: *** [TraceData.o] Error 1
b
On Fri, May 23, 2014 at 11:29 PM, David B. Lamkins dlamk...@gmail.comwrote:
On Fri, 2014-05-23 at 14:58 -0500, Blake McBride wrote:
There is a problem. It seems to only
Here is what I get with the latest GNU APL and the latest Emacs mode, but
using the .so file from GNU APL:
⍴''
0
⎕LX←''
0 0⍴''
⍴''
0 0
⎕LX←''
RANK ERROR
⎕LX←''
^ ^
Here it is in the same GNU APL without Emacs mode:
⍴''
0
⎕LX←''
0
⍴⍬
0
0 0⍴⍬
⍴⍬
0 0
⍴b
0
On Sat, 2014-05-24 at 10:57 -0500, Blake McBride wrote:
More interesting facts in emacs mode:
⍴''
0
1 1⍴' '
⍴''
0
0 0⍴' ' ⍝ reshape of space
⍴''
0
0 0⍴'' ⍝ reshape of quote quote
⍴⍕,5
1
⍴⍕2 1⍴5
2 1
⍴⍕1 1⍴5
1
The final result should have been:
1 1
Blake
to make sense out of that.
My approach was even different (rank 1 for one-line output and rank 2
otherwise) but now
it should be a little closer to IBM APL2.
/// Jürgen
On 05/25/2014 01:20 AM, Blake McBride wrote:
⍴⍕,5
1
⍴⍕2 1⍴5
2 1
⍴⍕1 1⍴5
1
The final result
different (rank 1 for one-line output and rank 2
otherwise) but now
it should be a little closer to IBM APL2.
/// Jürgen
On 05/25/2014 01:20 AM, Blake McBride wrote:
⍴⍕,5
1
⍴⍕2 1⍴5
2 1
⍴⍕1 1⍴5
1
The final result should have been:
1 1
Blake
∇test[⎕]∇
∇
[0] test
[1] ⍞←'11 '
[2] zz←⍞
[3] ⍞←'22 '
[4] zz←⍞
∇
test
11
11 22
I just hit Enter at the end of each line.
11 should not be displayed twice.
Blake
I haven't looked into what is causing this yet, but I thought the message
may be self explanatory to you. Please let me know if you need more.
Thanks!
==
Assertion failed: get_height() == 1
in Function: l1
in file:
, this format can be displayed on web pages and read/modified
in text editors.
The *)LOAD* and *)COPY* commands in GNU APL understand both formats, so
the usage
remains the same.
/// Jürgen
On 05/25/2014 10:51 PM, Blake McBride wrote:
Location: https://github.com/blakemcbride
Off the cuff, ⎕PW should be localizable too.
On Mon, May 26, 2014 at 1:12 PM, David B. Lamkins dlamk...@gmail.comwrote:
It appears that quad-IO and quad-CT are the only system variables
localizable in GNU APL. Is this intended? Given a quick look, I see no
support for this restriction in
Greetings,
To better integrate dump files (*.apl) files into the system, I suggest the
following:
1. When )LOAD of a .apl file, set the WSID just like a load of .xml file.
2. )LOAD of a .apl file should give the same message as )LOAD of a .xml
file
3. Issue an error message if both a .apl
The title says it all.
I understand why a dumped file would not keep the SI. That makes sense.
But it doesn't make sense for it not to execute ⎕LX.
Blake
1 - 100 of 532 matches
Mail list logo