I pulled a fresh copy of gnu-apl-mode tonight.
During loading:
Warning (initialization): An error occurred while loading
`/home/dlamkins/.emacs':
Symbol's function definition is void: define-error
I'm been playing around with integration SQL support, using the Postgres
APL. It's quite easy, and can be quite useful.
However, I need some suggestions before I make something that is releasable:
- Right now I'm using libpq, which is Postgres-specific. This is
obviously not ideal. Any sugg
Hi,
thanks for reporting this, fixed in SVN 181.
/// Jürgen
On 03/31/2014 05:59 PM, Kacper Gutowski wrote:
On 2014-03-31 10:15:23, Blake McBride wrote:
I still think there is a small bug, however. Seeing the message 'problem
'Nabla.cc:444' would make anyone think there was an internal probl
On 2014-03-31 10:15:23, Blake McBride wrote:
> I still think there is a small bug, however. Seeing the message 'problem
> 'Nabla.cc:444' would make anyone think there was an internal problem. APL
> had
> a standard message when that type of event occurred. GNU APL should display
> the standard
Dear Jürgen,
Thank you for responding. Please see my comments below:
On Mon, Mar 31, 2014 at 9:12 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> 1. currently there is only bug-apl@gnu,org that deals with everything
> related to GNU APL. The posting frequency is n
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
Oh, and one more thing. If that doesn't work, can you give the the escape
sequence of what you want to achieve and I'll research it for you.
Regards,
Elias
On 31 March 2014 22:36, Elias Mårtenson wrote:
> All right. I did some testing. What you are probably looking for is
> "bold". You can exp
All right. I did some testing. What you are probably looking for is "bold".
You can experiment directly with the terminfo commans using the command
"tput".
So, to set black background, white text:
tput setb 0
tput setf 7
Then, you can enable highlight of the foreground colour:
tput bold
The co
Hi Blake,
1. currently there is only bug-apl@gnu,org that deals with everything
related to GNU APL. The posting frequency is not that high, so I think
a separate list makes little sense. It is perfectly OK if you post
discussions
and other non-bugs to bug-apl.
2. I could answer that if I knew
Hi Thomas,
cool! Congratulations for getting this working!
/// Jürgen
On 03/30/2014 08:50 PM, baruc...@gmx.com wrote:
Hi,
I had to work more in order to turn the interpreter to an asynchronous process
(if you don't know about javascript: in two words, a javascript program can't
"wait" for in
Hi Harteg,
the problem with your FILE_IO seems to be that lFX returns 0 (which
indicates an error).
On success FILE_IO returns the name of the function that was ⎕FXed. Most
likely dlopen() has
not found the shared library, which can happen for a number of reasons.
Work-around is to
use the fu
Actually, you can press C-c C-f do achieve the same result.
The hijacking of nabla is only in order to show the user that the external
editor actually exists. :-)
Regards,
Elias
On 31 March 2014 16:02, Kacper Gutowski wrote:
> On 2014-03-31 15:40:06, Elias Mårtenson wrote:
> > The Nable edito
On 2014-03-31 15:40:06, Elias Mårtenson wrote:
> The Nable editor should (in my opinion) open a separate editor just like the
> Emacs mode does. :-)
That's one way to do things.
But wouldn't it be nicer to just use something like )EDIT rather than
hijacking ∇ for that purpose? I actually hated th
On 2014-03-31 15:37:45, Elias Mårtenson wrote:
> Are you sure it's a bug? You seem to be taking the value of "r" when it has no
> value.
I think the problem is that you can't edit a function that is currently
on SI stack, not that Parse erred.
-k
The Nable editor should (in my opinion) open a separate editor just like
the Emacs mode does. :-)
Also, HTML gives us some great opportunities to create nice array
visualisations without having to rely on character graphics. I'm going to
whip up a simple example showing what it could look like.
R
Are you sure it's a bug? You seem to be taking the value of "r" when it has
no value.
Also, I think your "x" should be "×".
Regards,
Elias
On 31 March 2014 13:19, Blake McBride wrote:
> ∇r←c Parse a
> [1] r←(((0≠⍴a)x⍴r),⌈/r)⍴(,r∘.≥⍳⌈/r←¯1+(r,1+⍴a)-0,r←r/⍳⍴a)\(~r←r∈c)/a←,a
> [2] ∇
> ','
On 2014-03-30 20:50:31, baruc...@gmx.com wrote:
> At first glance, it seems to work: http://baruchel.hd.free.fr/apps/apl/i/
> You can know use it as an online interpreter. I will add some colors/themes
> in the days to come, but the most difficult part is done.
Great work!
It's really nice to hav
Jay, thanks for reminding me of the rank operator. I had forgotten about
that one. :-)
Yes, in this case it would definitely do the right thing, but as you
mention it won't allow you to work on other axes.
Regards,
Elias
On 31 March 2014 15:29, Jay Foad wrote:
> On 31 March 2014 04:51, Elias
On 31 March 2014 04:51, Elias Mårtenson wrote:
> I keep wanting to be able to apply an axis argument to the ¨ (EACH)
> operator. I.e, to sort an array rows, I wanted to do:
>
> {⍵[⍋⍵]}¨[2] foo
>
>
> Instead, I had to do:
>
> ⊃ {⍵[⍋⍵]}¨ ⊂[2] foo
>
>
> Would it make sense to be able to specify an ax
Greetings,
I started programming in APL in 1980. I programmed in it for about five
years. I have a lot of fond memories. I hadn't been too interested in APL
for a long time because it was controlled by vendors who could go out of
business at a moments notice. I couldn't base anything on it - u
∇r←c Parse a
[1] r←(((0≠⍴a)x⍴r),⌈/r)⍴(,r∘.≥⍳⌈/r←¯1+(r,1+⍴a)-0,r←r/⍳⍴a)\(~r←r∈c)/a←,a
[2] ∇
',' Parse 'Hello,there,how are you'
VALUE ERROR
Parse[1]
r←(((0≠⍴a)x⍴r),⌈/r)⍴(,r∘.≥⍳⌈/r←¯1+(r,1+⍴a)-0,r←r/⍳⍴a)\(∼r←r∈c)/a←,a
^
After some talk on Freenode #jsoftware, it was asked if you could use a
better font? I would suggest GNU FreeMono. That's the one I use in my Emacs
windows and looks great for APL:
http://www.fontspace.com/gnu-freefont/freemono
Regards,
Elias
On 31 March 2014 15:03, Elias Mårtenson wrote:
>
This is pretty amazing stuff. Having the ability to save workspaces using
HTML5 local storage would be a nice addition.
Also, using the arrow keys to select from the command history would be neat.
I can think of a million other features, but I'm sure you can too. :-)
Regards,
Elias
On 31 March
23 matches
Mail list logo