I take it that this table describes the encoding of the byte stream:
http://en.wikipedia.org/wiki/UTF-8#Description
(I might actually attempt this in APL, just to see whether I can do it
while waiting for a built-in translation...)
On Sun, Apr 27, 2014 at 10:00 PM, Elias Mårtenson wrote:
> T
To convert byte values to code points, you need to apply an encoding
algorithm, and that's kind of messy.
(I believe the rest of GNU APL kind of assumes that UTF-8 is the standard
encoding used, which does make things simpler).
I have a suggestion: Make ⎕UCS support a dyadic form where the left-h
Use the quad function ⎕UCS:
* ⎕UCS 'foo⍉bar'*
102 111 111 9033 98 97 114
* ⎕UCS 102 111 111 9033 98 97 114*
foo⍉bar
Regards,
Elias
On 28 April 2014 12:17, David B. Lamkins wrote:
> I can use lib_file_io to read a sequence of byte values from a file
> containing Unicode text.
>
> How
I can use lib_file_io to read a sequence of byte values from a file
containing Unicode text.
How do I convert that sequence back to a Unicode string in GNU APL?
I've analysed the problem using Valgrind, and it seems as though this is a
bug in the XML_Loading_Archive class. The only reason you saw it when
enabling the Emacs mode was that the native plugin caused memory layout to
be slightly different. Different enough that it triggered a crash instead
of ju
Do you have a copy of the workspace I can test with?
Regards,
Elias
On 28 April 2014 10:48, Blake McBride wrote:
> I built ans installed libemacs.so from the native directory bu same
> problem.
>
>
>
> On Sun, Apr 27, 2014 at 9:42 PM, Blake McBride wrote:
>
>> Greetings,
>>
>> I have a WS that
I built ans installed libemacs.so from the native directory bu same problem.
On Sun, Apr 27, 2014 at 9:42 PM, Blake McBride wrote:
> 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).
>
>
> ---
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
SAV
With a bit of prompting, it occurs to me that I ought to be able to get
the effect of a quad-COPY using lib_file_io, quad-FX, execute and a
simple parser. I'm going to give that a shot...
yes indeed but now i have no ∈ ∘ or ⊤apl keys for some reason - i needed
elementof - which i know i had this morning !!!
yes the ∇ is ⊂⌸⋸ for example - and ← is ⊂⋆⎕
the ultimate in apl fun
On Sun, 27 Apr 2014 17:35:35 -0700
David Lamkins wrote:
> What are you doing? Parsing out definitio
That's the point. :-) The Wasd keyboards has exactly that klick feeling.
You can hear me typing on it in the video I posted yesterday. :-)
Regards,
Elias
On 28 Apr 2014 01:34, "Juergen Sauermann"
wrote:
> Hi Elias,
>
> thanks. In the meantime I have purchased a Dyalog keyboard. The reason why
>
Hi David,
I make a fns that copies fns and vars and my data from 'regular linux' files
(not created by )DUMP - only real difference is no #! first line) using FILE_IO
fp ← 'r' FILE_IO[24] 'cat workspaces/',fn
and then parsed the a←5000 FILE_IO[8] fp
so far i can import fns and vars and my data
On 2014-04-27 11:54:09, enz...@gmx.com wrote:
> I have never seen or used the symbol ∵ called 'because' U2235 before - and
> it is not in the supplied apl.xmodmap
> perfect place left open for it is on vV∪∵shift-alt-v ?
> btw what does it do - is it a type of 'apl exception' :)
I'm also cur
An APL package manager automates the construction of a software system
from a collection of independently-written packages.
Of course you can build an APL system from a collection of packages
today, but only by manually )copy-ing in the necessary workspaces.
I envision that each APL package will
On Sun, 27 Apr 2014 11:51:43 +0200
Juergen Sauermann wrote:
> But that was on another interpreter (APL68000) and around 1979 or so, so i
> could be wrong.
> In those days we used to hack the terminal driver to improve the editing
> capabilities of the machine.
[2⎕4] opened line 2 and moved th
Hi Blake,
thanks. back to 2 MB with both pictures.
/// Jürgen
On 04/27/2014 07:46 PM, Blake McBride wrote:
I am attaching the same two files drastically reduced in size via
gimp. It would probably be best to drop the one you added and use
these two instead. Both could be important.
Also,
I have never seen or used the symbol ∵ called 'because' U2235 before - and it
is not in the supplied apl.xmodmap
perfect place left open for it is on vV∪∵shift-alt-v ?
btw what does it do - is it a type of 'apl exception' :)
enztec
> From: Chris JonesSubject: Re: [Bug-apl] Need xkb U co
Hi Elias,
thanks. In the meantime I have purchased a Dyalog keyboard. The reason
why I wanted a Unicomp
keyboard was the click feeling of the old IBM XT keyboard that I used
for many years.
/// Jürgen
On 04/27/2014 06:43 PM, Elias Mårtenson wrote:
I'm using a keyboard from Wasd Keyboards. T
Hi David and all,
thanks for the link below.
Attached is a quick summary of my thoughts regarding libraries.
Looks like David and myself are on the same page, just the focus is a
bit different.
I wouldn't rule out ⎕CP for GNU APL in the long run, but I feel like not
having fully
understood wh
I'd like to add that things like:
v←c[500]
would not cause an expansion, but things like:
c[500]←44
would.
On Sun, Apr 27, 2014 at 11:27 AM, Blake McBride wrote:
> Greetings,
>
> Back when I coded in APL, there was discussion about the storage of iota.
> For example:
>
> a←⍳100
>
> b
use scrot - those pictures can be 8K and still have good visual
On Sun, 27 Apr 2014 12:25:44 -0500
Blake McBride wrote:
> Greetings,
>
> I was afraid of it blowing up the distribution size too. Both files are
> needed to get all the keys since some characters are on the top while other
> char
Greetings,
I was afraid of it blowing up the distribution size too. Both files are
needed to get all the keys since some characters are on the top while other
characters are shown on the side of the keys. Perhaps it would be best to
use the pictures I sent to create a file like your keyboard.txt
I'm using a keyboard from Wasd Keyboards. They allow you to upload a file
containing the symbol design when you order. Making an APL keyboard would
be trivial.
http://www.wasdkeyboards.com/
Regards,
Elias
On 28 April 2014 00:40, Juergen Sauermann wrote:
> Hi Blake,
>
> I have added the files,
Hi Blake,
I have added the files, see SVN 228.
I also added one of the photos (which blew up the GNU APL tar file from a
slim 1.6 MB to 3.7 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 0
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
nece
Thank you. This'll be useful as part of a platform probe in the package
manager.
On Sun, 2014-04-27 at 17:51 +0200, Juergen Sauermann wrote:
> Hi David,
>
> thanks. IBM APL provides only 1-4, but I have added 5 and 6 in SVN 227.
>
> /// Jürgen
>
>
> On 04/27/2014 01:18 AM, David B. Lamkins wro
I'm far enough along in developing a package manager (a lot of the
scaffolding is already written) that I'm ready for the next step. I need
a way to copy APL dump-format files into the current workspace under
control of an APL program.
It seems that the natural approach would be a quad-COPY syste
While editing functions, GNU APL accepts:
[0.5]
but does not accept:
[.5]
I think it should. I'm pretty sure all the APL's I've used in the past
accepted it.
Thanks.
Blake
My intention is to make a couple of "decent" videos about GNU APL. This one
is also unlisted, as I'm not happy with the way it came out. I'll make a
few more attempts, but I would love to hear your comments on it.
Here's the URL: http://youtu.be/yP4A5CKITnM
Regards,
Elias
Hi Blake,
0x86 is the culprit because the first byte of a non-ASCII UTF8 should be
11xx in binary.
I have changde the code so that the sequence is truncated after printing
the Bad UTF message and the stack trace and no assertion is thrown, SVN 227.
/// Jürgen
On 04/27/2014 04:28 AM, Bl
Hi David,
thanks. IBM APL provides only 1-4, but I have added 5 and 6 in SVN 227.
/// Jürgen
On 04/27/2014 01:18 AM, David B. Lamkins wrote:
quad-NC should return 5 for system variables and 6 for system functions
(Ref: ISO 13751, pg. 175).
In GNU APL, quad-NC returns negative 1 for these cas
While mapping the Unicomp keyboard, I discovered an error in apl.xkb. The
Squish Quad character is incorrectly mapped. The attached patch file
corrects it.
Thanks to Chris Jones for the correct U code!
Blake
patch
Description: Binary data
Kudos! Thanks! I will definitely start using it!
Blake
On Sun, Apr 27, 2014 at 6:26 AM, Elias Mårtenson wrote:
> I wrote it, and I'm a SLIME user as well, so obviously I took some ideas
> from there. :-)
>
> Regards,
> Elias
>
>
> On 27 April 2014 19:26, Blake McBride wrote:
>
>> I've been
I wrote it, and I'm a SLIME user as well, so obviously I took some ideas
from there. :-)
Regards,
Elias
On 27 April 2014 19:26, Blake McBride wrote:
> I've been an emacs guy for at least 20 years. I saw your video. Wow.
> Very impressive. Now that I've got my keyboard working, I'll have to
I've been an emacs guy for at least 20 years. I saw your video. Wow.
Very impressive. Now that I've got my keyboard working, I'll have to take
a look at it.
It is widely accepted that the emacs slime mode is the best Common Lisp
development environment. I'm not sure who wrote the APL mode for
Actually, even better would be if someone implemented the same thing in
vim. I looked at vimscript, and although it's much less flexible than
Emacs, it should certainly be possible.
Regards,
Elias
On 27 April 2014 19:03, Juergen Sauermann wrote:
> Hi Elias,
>
> cool!
>
> I guess I will change
Hi,
it is actually a feature. You are the second to wonder about it, so shall
I make that ./configurable ?
/// Jürgen
On 04/27/2014 08:05 AM, David B. Lamkins wrote:
A newline terminates a string constant. Shouldn't that be a syntax
error?
Hi Elias,
cool!
I guess I will change to emacs if vi stops working :-) .
/// Jürgen
On 04/27/2014 12:48 PM, Elias Mårtenson wrote:
I'm sure you all are annoyed with me for constantly plugging Emacs,
but I just can't help myself.
The Emacs mode will display Jürgens keymap help in a separate
I'm sure you all are annoyed with me for constantly plugging Emacs, but I
just can't help myself.
The Emacs mode will display Jürgens keymap help in a separate window,
automatically updated to correspond the the current active keymap. :-)
Regards,
Elias
On 27 April 2014 18:02, Juergen Sauermann
Hi,
at some point in time I started writing a dynamic ]keyb. But then people
started
to complain about me using xmodmap (too old, too static, etc) and we now
have
several other methods as well (see README-3-keyboard).
The downside is that it has become almost impossible to figure the
current
Hi,
the character below is probably cut-and-paste error from the IBM
language reference manual.
These things happen sometimes when cut-and-pasting from PDF files. Not
so important really.
My memory told me this:
[⎕5] print lines 0-5
[5⎕] print lines 5-end-of-function
[3⎕5] print lines 3-5.
41 matches
Mail list logo