Yes this is what I tried to do with the copy, see messages below.
enz...@gmx.com writes:
> solved - )copy does it - but you can't have )off in the file ;)
>
>
> On Sat, 4 Feb 2017 16:08:06 -0700
> enz...@gmx.com wrote:
>
>> Is there some kind of 'include' directive enabled for scripting or an
Hi,
I was thinking of piping the input stream to apl through either m4
or cpp.
Not so much for #include (which would come as a side
effect) but because
of macros. I am a big fan of macros.
But I am not there yet.
/// Jürgen
On 02/05/2017 12:03 AM, enz...@gmx.com wrote:
very complicated messing with LineIndex.cc with allocated_height - 1
and in LineIndex.hh messing with set_cursor got it to stay at the top but
still input scrolled up one line and input stayed on 'same line' - instead of a
true ^M
is this apl2 (which was ibm's second failed attempt to push apl) or gnuapl?
On Sun, 5 Feb 2017 11:44:23 +0100
Juergen Sauermann wrote:
>
>
> On 02/05/2017 12:03 AM, enz...@gmx.com wrote:
> > very complicated messing with LineIndex.cc with allocated_height - 1
> > and in LineIndex.hh
i don't see 'messages below' but using
a file chmod 644called ss2 with shebang#! ss2 (shebang
created from )dump) but is a real executable shebang if chmod 700 ss2
if you have executable statements in ss2 they get executed at location of
⍎')copy ss2' (this will show )dump
I think the key thing to remember here is that the final ∇ isn't part of
the program code, but rather is something analogous to an EOF marker.
>From that perspective, this makes sense.
Regards,
Elias
On 5 Feb 2017 18:44, "Juergen Sauermann"
wrote:
On 02/05/2017 12:03 AM, enz...@gmx.com wrote
Hi,
apl2. I have attached a screenshot of an APL2 session where I
typed ∇ on Line 2 of function FOO after a comment.
After that I display FOO.
According to your theory, ∇ should now be part of the
comment but it is not.
Instead. as you c
Wrong email address.
> From: Louis de Forcrand
> Date: 5 February 2017 at 18:32:35 GMT+1
> To: enz...@gmx.com
> Subject: Re: [Bug-apl] location of cursor on new apl session
>
> Heck, it's open-source, if you don't like it the way it is try changing it
> yourself.
>
> Louis
>
>> On 05 Feb 2017
Hi again,
I just stumbled upon the --rawCIN command line option of
GNU APL.
If you use it, then GNU APL will not emit any cursor positioning
sequences.
It also does not echo the input, but that can be fixed with proper
terminal setting,
On Sat, Feb 4, 2017 at 5:03 PM, wrote:
>
> ...
>
> now to convince the stubborn gnuapl dev that a 'comment is a comment' in a
> fns you don't want wikipedia to say ... a comment is a comment in
> EVERY COMPUTER PROGRAMMING lang except gnuapl ... do you ? ;)
>
Wow. I hadn't been following
Hi,
It seems Dyalog APL has the same behavior, so it is not APL2 only, see
screenshot attached.
Juergen Sauermann writes:
> Hi,
>
> apl2. I have attached a screenshot of an APL2 session where I typed ∇ on Line
> 2 of function FOO after a
> comment.
> After that I display FOO.
>
> According t
What do you know? APL is APL!
On Sun, Feb 5, 2017 at 12:53 PM, Alexey Veretennikov <
alexey.veretenni...@gmail.com> wrote:
> Hi,
>
> It seems Dyalog APL has the same behavior, so it is not APL2 only, see
> screenshot attached.
>
>
>
>
> Juergen Sauermann writes:
>
> > Hi,
> >
> > apl2. I have a
∇Hi
wow
/usr/local/bin/apl
)host stty echo icanon
is the magic !!! thanks
pure scripting also works but with no 'workspace benefit'
the --rawCIN command line option is listed in the newest apl.html that comes
with sources and on the site but is not inman apl (apl.1)
⍝ thanks very
Hi,
It looks like other interpreters (not APL, but other languages: perl,
python, awk etc) have some other behavior concerning command line
arguments.
With python I can just specify
#!/usr/bin/python
and the script will pick-up all arguments an ordinary program,
regardless of the platform; while
Ok, as I understand I need to take a look at
UserPreferences::expand_argv
and
UserPreferences::is_APL_script
correct?
Juergen Sauermann writes:
> Hi,
>
> yes, most of this trouble is caused by how execve() works, which is quite
> different
> on different platforms. And it happens before apl is
what are these called
⊃ disclose
⊂ enclose
⊣ ?
⊢?
∩ ?
∪ ?
⍝ lamp?
⊤ encode
⊥ decode
enz...@gmx.com writes:
> what are these called
>
> ⊃ disclose
Right Shoe
> ⊂ enclose
Left Shoe
>
> ⊣ ?
Left Tack
> ⊢?
Right Tack
>
> ∩ ?
Up Shoe
> ∪ ?
Down Shoe
>
> ⍝ lamp?
Lamp
>
> ⊤ encode
Down Tack
> ⊥ decode
Up Tack
>
--
Br,
/Alexey
do you have an example of what you mean by 'used in this way'?
with the recent '--' change - the apl scripting seems to behave the same as
would be done with python/php
On Sun, 05 Feb 2017 21:08:40 +0100
Alexey Veretennikov wrote:
> Hi,
>
> It looks like other interpreters (not APL, but
#!/usr/local/bin/apl --script --
1
⍝⍎')copy SQL.apl' ⍝ for sqlite fns
∇sqlite
2
⍎')copy SQL.apl' ⍝ for sqlite fns
⍎')fns' ⍝ doesn't show SQL∆Connect
db←'sqlite' SQL∆Connect '/sqlite/tutorial.db'
⍝db←'sqlite' ⎕sql[1] '/sqlite/tutorial.db'
∇
)fns⍝ shows SQL∆Connect
)off
the
It works for me:
Network listener started. Connection information: mode:tcp addr:40267
* )fns*
* )copy 5 SQL*
DUMPED 2017-02-06 11:25:33 (GMT+8)
* )fns*
SQL∆Begin SQL∆Columns SQL∆Commit SQL∆Connect
SQL∆Disconnect SQL∆ExecSQL∆RollbackSQL∆Select
SQL∆Tables
20 matches
Mail list logo