I think that'll work, thanks.
On Fri, Jun 21, 2019 at 11:30 AM Dr. Jürgen Sauermann <
mail@jürgen-sauermann.de> wrote:
> Hi Rowan,
>
> ⎕PW ?
>
> Not exactly sure what you are after.
>
> Jürgen
>
>
> On 6/21/19 5:27 PM, Rowan Cannaday wrote:
> > Hello y'all,
> >
> > Is there a simple way to
Hi Rowan,
⎕PW ?
Not exactly sure what you are after.
Jürgen
On 6/21/19 5:27 PM, Rowan Cannaday wrote:
> Hello y'all,
>
> Is there a simple way to either increase or eliminate the wrap width
> in the REPL?
>
> In vim this would be :set nowrap and using a pager would be `less -S`.
>
> I have
Hello y'all,
Is there a simple way to either increase or eliminate the wrap width in the
REPL?
In vim this would be :set nowrap and using a pager would be `less -S`.
I have some nested objects I inspect w/ ` 4 ⎕CR` but the wrap causes the
lines to overflow and make it difficult to read.
-
Hi,
your example looks like you are not waiting until ⎕SVO has
succeeded.
You assign to a shared variable before it was entered into the
shared variable
database.
Have a look at testcases/AP100.tc for how to use it
(hint: check
Hi.
Thank all you for the inputs. My remarks about #!apl go below, after
reporting a problem.
PS.: Jürgen: can you use AP100 from scripts? Example:
#!/usr/local/bin/apl --SV -q -f
100⎕SVO'SO'
SO ← 'date'
)off
On my machine, usually I get this:
«««
Svar_record_P() failed at ../Svar_DB.cc:324
Hi Kacper,
I have not documented the aplscript trick because I see it
more as a hack that helps in a specific situation
than a fully supported feature.
A general problem of symbolic links to the apl binary (which was the
use case for introducing the
On Tue, Aug 21, 2018 at 04:54:52PM -0300, Hudson Flavio Meneses Lacerda wrote:
> I presume it works because apl binary is generated inside that directory
> (apl-1.7/src/), and "." is in your $PATH. So, "#!apl" calls
> "./apl" inside apl-1.7/src/.
That is the case, #!apl will work only when called
On Tue, 21 Aug 2018 20:51:59 +0200
Juergen Sauermann wrote:
> Hi,
>
> it works on my box:
Hi,
I presume it works because apl binary is generated inside that directory
(apl-1.7/src/), and "." is in your $PATH. So, "#!apl" calls
"./apl" inside apl-1.7/src/.
>
>
Hi,
it works on my box:
eedjsa@server66:~/projects/juergen/apl-1.7/src$
cat test.apl
#!apl --script
"APL script started"
)OFF
eedjsa@server66:~/projects/juergen/apl-1.7/src$ chmod 755
On Tue, 21 Aug 2018 18:36:27 +0200
Juergen Sauermann wrote:
> Hi Hudson,
>
Hi,
> aas far as I know you can use a relative path to apl as long as the
> apl binary is in your $PATH. Thus '#!apl --script' probably works
> regardless of whether apl is installed in /usr/loccal/bin or
> in
Hi Hudson,
aas far as I know you can use a relative path to apl as
long as the apl binary is in your
$PATH. Thus '#!apl
--script' probably works regardless of whether apl
is
installed in /usr/loccal/bin or in /user/bin.
However,
Hi
He might want to have both the deb and the svn on the same system
On Tue, 21 Aug 2018 11:14:30 +0200
Juergen Sauermann wrote:
> Hi Hudson,
>
> you can ./configure GNU APL with prefix=/usr and then recompile and install.
>
> /// Jürgen
>
>
> On 08/21/2018 03:34 AM, Hudson Flavio Meneses
Hi Jürgen,
Indeed, for my own local computer, I could install apl in /usr.
However, I also use third-part computers as restricted user ($), with apl
installed in
a different path (under ~/).
Here is my new approach (trying to avoid side effects):
---8<--
Hi
I assume this Debian of which you speak is a linux distro of some sort?
Use a link from the svn installed location /usr/local/bin/apl location to the
location you have in your scripts /usr/bin/apl (from debian deb location)
ln -sf /usr/local/bin/apl /usr/bin/apl then you don't have
Hi Hudson,
you can ./configure
GNU APL with prefix=/usr
and then recompile and install.
/// Jürgen
On 08/21/2018 03:34 AM, Hudson Flavio
Meneses Lacerda wrote:
Hi.
Some of my scripts use `#!/usr/bin/apl
Hi.
Some of my scripts use `#!/usr/bin/apl --script` (from Debian), but now
I am using SVN, so I should use `#!/usr/local/bin/apl --script`. So, I
need to change the scripts, that may be incompatible with
different environments…
I have tried:
#!/usr/bin/env apl
#!apl --script
#!/usr/bin/apl
Thank you.
On Sun, Aug 20, 2017 at 11:30:40AM +0200, Juergen Sauermann wrote:
> Hi David,
>
> yes, thanks. Should be fixed in SVN 1000.
>
> /// Jörgen
>
>
> On 08/19/2017 06:50 PM, David B. Lamkins wrote:
>
> Just wondering...
>
>
>
>
> When I do
>
> $ apl -v
>
> the
>
Hi David,
yes, thanks. Should be fixed in SVN 1000.
/// Jörgen
On 08/19/2017 06:50 PM, David B.
Lamkins wrote:
Just wondering...
When I do
$ apl -v
the
config.status:
line has always shown
unknown configure options
Hi Carl,
thanks. Fixed in SVN 908.
/// Jürgen
On 03/19/2017 03:36 AM, carl hansen
wrote:
g++ -DHAVE_CONFIG_H
-I. -I.. -Werror -Wall -I sql -I/usr/include
-I/usr/include/postgresql -rdynamic
Jürgen,
I looked through the bugs - I don't know beyond doubt that this is new,
but FWIW, when attempting to create a "demo" nested array, it didn't
survive the )DUMP/)LOAD round-trip.
The statements below will recreate it (on gnu-apl 1.6):
a←2 3⍴'ABCDEF'
b←3 3⍴⍳9
c←○1
Hi Jürgen,
I would like it to be a community page entry with a link, since I think
this will allow for easier additions to the project. (At least easier
for me.)
I also welcome all to comment, criticize, and question my coding style. :)
Best,
-Alex
On 09/19/2016 06:30 AM, Juergen
Hi Alex,
yes, we can!
You should think about whether you want a community page entry
(which would then be a link
to your git repository) or a HTML workspace file in the "Bits and
Pieces" directory (which can
then be cut-and-pasted
Hi Bug-APL,
Please enjoy this link to a library I wrote. It allows APLers to read
images into the APL environment. The returned data structure is a three
dimensional matrix, where each plane represents a sub-pixel.
Additionally, you can take a 3×X×Y sized matrix and write it as a .bmp
file.
This is a subject that has interested me a lot, and after coming to a
similar conclusion as Jürgen, decided to see if it was possible to get
around many of the problems by eliminating the main cause of bad
parallelism: Side effects.
I have been working an experimental APL interpreter (mostly
Hi Xtian,
the problem with that example is that SolveSuduku and even
the lambda {SolveSudoku ⍵} are defined functions and
therefore allowed to have side effects.
These side effects need to be taken care of and that causes
either a considerable
Well I saw a couple times where parallelism could have been very useful.
Something like:
{SolveSudoku ⍵}⍤2 ⊣ Cube_of_9x9x1000_sudoku
{SolveSudoku ⍵}¨ big_array_of_enclosed_9x9_sudoku
but I don't want ⍤ (rank operator) or ¨ (foreach)
operators doing parallelism per default, so I
Of course. Simple scalar functions would be the worst to parallelize.
We always need a large amount of operations per thread to be worthwhile.
Something like the following might be a good thing to start
⌹⍤2 X
where (LargeNumber = ×/¯2↓⍴X) ∧ 2<⍴⍴X
To support general function instead of builtins
Hi,
maybe, maybe not.
Our earlier measurements on an 80-core machine indicated that
the way how the cores connect to the memories seems to determine
the
parallel performance that can be achieved in GNU APL.
One can easily prove
> On Aug 26, 2016, at 1:12 PM, enz...@gmx.com wrote:
>
> finally a computer just perfect for gnuapl
>
> http://thehackernews.com/2016/08/powerful-multicore-processor.html
Now is the perfect time to invest your time and effort in improving parallel
efficiency in gnu-apl.
finally a computer just perfect for gnuapl
http://thehackernews.com/2016/08/powerful-multicore-processor.html
Solved the problem. Thanks!!
On Wed, Aug 3, 2016 at 7:38 PM, Kacper Gutowski wrote:
> On Wed, Aug 03, 2016 at 07:09:38PM -0500, Blake McBride wrote:
> > APL with AKT works great. But now I need to use it in an xterm. Doesn't
> > seem to work there. Any suggestions would
On Wed, Aug 03, 2016 at 07:09:38PM -0500, Blake McBride wrote:
> APL with AKT works great. But now I need to use it in an xterm. Doesn't
> seem to work there. Any suggestions would be greatly appreciated.
You need to set metaSendsEscape. It can be configured in X resource
or switched in run
APL with AKT works great. But now I need to use it in an xterm. Doesn't
seem to work there. Any suggestions would be greatly appreciated.
Thanks!
Blake
https://github.com/TieDyedDevil/apl-pkg
Here's news for those of you interested in the APL Package Manager:
Changes introduced by GNU APL svn r740+ broke the package manager due to my
inadvertent use of some code that was not standard-compliant but still valid in
GNU APL up through svn r739.
Is anyone using modern APL for neural networks, specially deep learning
networks….?
Peter….
On Mon, Feb 15, 2016 at 12:08 AM, wrote:
> the system's word count mechanism says length four. APL says length three, I
> thought this was going to be length 1 and the symbol '⍝'. Does anyone know
> what I am doing incorrectly:
>
> a@a:~/aplstuff$ echo "⍝" > txt
>
Hi Bug APL,the system's word count mechanism says length four. APL says length three, I thought this was going to be length 1 and the symbol '⍝'. Does anyone know what I am doing incorrectly:a@a:~/aplstuff$ echo "⍝" > txta@a:~/aplstuff$ cat txt⍝a@a:~/aplstuff$ wc txt1 1 4 txta@a:~/aplstuff$
Hi Alex,
thanks, fixed in SVN 689.
/// Jürgen
On 10/31/2015 05:44 PM,
alexwei...@alexweiner.com wrote:
Hi Bug-apl,
Usually I only see C++ errors in the
interpreter when there is
Hi Bug-apl,Usually I only see C++ errors in the interpreter when there is a stack trace. I'm not sure why this one is printed on a simple domain error: ←2⍴⊂5 5 ⍴'alexcweiner' ⎕ucs,¨cell_B.get_cell_type(): '4' at QuadFunction.cc:1585DOMAIN ERROR ⎕UCS,¨ ^ ^I was
https://github.com/TieDyedDevil/apl-pkg/releases
Date:2015-10-06
Contact: [David B. Lamkins](mailto:da...@lamkins.net)
Announcing the 3rd Release of APL Package Manager
=
The APL Package Manager is a tool to manage the development
and
On Mon, Sep 14, 2015 at 7:53 AM, Elias Mårtenson wrote:
>
>
> On 14 September 2015 at 05:53, Louis de Forcrand wrote:
>
>
>> Edit a specific line in a function? As of now I'm writing my
>> long ∇-declared functions in in .txt files and loading them
>> with
Thanks for all your answers!
Everything works perfectly.
-Louis
On Sun, Sep 13, 2015 at 11:53 PM, Louis de Forcrand wrote:
> Is it possible to terminate a function while it's running
> (eg. when you accidentally set a very large number
> as an operand)?
Pressing Control-C should signal ATTENTION which should suspend
execution of current
A few quick questions:
Is it possible to terminate a function while it's running
(eg. when you accidentally set a very large number
as an operand)?
Take user input in as a vector of characters so the
user doesn't have to add quotes? Something that
works like ⎕ but automatically wraps the input
Hi Christian,
thanks, fixed in SVN 617. The problem was caused by a -∞ result
from ⍟.
There could still be some functions around that return ∞. Such functions should
raise a DOMAIN ERROR instead. Please report such functions
if you see them.
Hi David,
thanks a lot!
/// Jürgen
On 04/01/2015 10:15 PM, David B.
Lamkins wrote:
I've released the 2nd version of the APL Package Manager.
home page:
https://github.com/TieDyedDevil/apl-pkg
summary announcement:
I've released the 2nd version of the APL Package Manager.
home page:
https://github.com/TieDyedDevil/apl-pkg
summary announcement:
https://github.com/TieDyedDevil/apl-pkg/blob/master/doc/ANNOUNCE.md
change list:
https://github.com/TieDyedDevil/apl-pkg/blob/master/doc/CHANGES.md
Hi Dirk,
thanks a lot. I have added directory support-files/Dirk containing
your files,
and a reference in README-3-keyboard.
/// Jürgen
On 02/16/2015 10:09 AM, Dirk Laurie
wrote:
Hi Jürgen:
I append
Hi Peter,
no there isn't. Fill items and Fill functions occur all over the place
in APL2.
And they are function specific so that ↑ has other fill items (' ' and
0) than
+ (0) and × (1). On the other hand fill items are not at all related ⎕IO.
You can easily achieve what you are after like
I've just implemented intelligent indentation support in gnu-apl-mode.
I'm using quotes there because the rules are in fact very simple.
Could you guys share with me how you indent code, so that I can add the
necessary configuration options to support whatever style you're using?
If anyone is
Greetings,
I looked at the comments in your function. Not only are labels typically
moved one character to the left, but lines beginning with a comment are too.
I did a git pull. When I edit a function, there is no indenting added at
all. Am I doing something wrong, or is there some other
When you edit an existing function, it would be nice if the initial display
of the function had the indentation applied.
The enter key working for me - sort of. It indents EVERY line by one
character. When I hit Enter at the end of the line, shouldn't it fix the
line?
When editing a new
You can use both. Just map TAM to normal tab insertion, and map a different
key to
'completion-at-pointhttps://www.gnu.org/software/emacs/manual/html_node/elisp/Completion-in-Buffers.html
'.
What probably messes things up for you is that my implementation of the
indentation function only works
I'd like to follow up a little on my previous email. The documentation for
'tab-always-indent' says this:
*This variable can be used to customize the behavior of the TAB
(indent-for-tab-command) command. If the value is t (the default), the
command normally just indents the current line. If the
Hello Peter,
You might want to read up in the email archives on the discussions that led
to the creation of the Emacs backend. It was done exactly because Jürgen
did not want to maintain a special protocol used for things such as the
Emacs mode.
It's included in the base release because shipping
Hi Elias:
Firstly I am totally agnostic as to which text editor should be used.
I don't even understand why there should be an Emacs mode.
But since you said it's actually generic maybe we can change it's name
to more clearly reflect its generic nature? External Editor Mode? Just a
fleeting
Peter,
The Emacs mode is much more than a simple way of editing functions in an
editor. The intention is to transform the standalone GNU APL interpreter
into some kind of IDE in a similar way as SLIME does for Common Lisp. The
Emacs mode backend provides similar functionality as the Swank backend
Hi Peter,
the current line editor of GNU APL is in Nabla.cc. It is pretty simple.
The editor gets its line input from Input::get_user_line_nabla().
My concern with [a?b] is this: currently we print a prompt and then get
a user line
from either readline or from the operating system (in cooked
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
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
60 matches
Mail list logo