Re: APL lambda question

2024-10-23 Thread Bill Daly
Yes viz.:   tryit←{⍺ + ⍵ }   4 tryit 5 9 w On 10/23/24 10:55, Henrik Moller wrote: To all APLers:  In GNU APL, is there any way to define an ambivalent lambda?  I.e., if you define a lambda tryit←{...} is there any way to make it work with both tryit 1 and 1 tryit 2

Test adn debug bug

2024-01-19 Thread Bill Daly
period pd;cmd ⍝ Function confirms that the period is defined. The right argument ⍝ is a nested vector of company and period. cmd←'SELECT period from periods where period = ''',pd,'''' b←0≠1↑⍴cmd SQL∆Select[handle] pd

GTK

2023-10-25 Thread Bill Daly
I'm trying to learn how to write a graphic program. Following the instructions in HOWTOs/Quad-GTK.html, I created GTK_sample_app.ui and offered that file to ⎕GTK.  The log show the failure. Undaunted, I copied the XML in the instruction and create GTK_jurgen.ui.  Offering that file worked.

Hot Footer

2023-10-12 Thread Bill Daly
This announcement is for all of us who crunch numbers for a living, in apl or out of it. I wrote Hot Footer in 2004 and have been using almost daily since then. I was sick and tired of playing with the paper tapes generated by tape calculators and decided a virtual tape (from which I could copy a

Re: output formatting

2023-09-09 Thread Bill Daly
If you change your printing width APL may not print the overflow of each line as a separate line.   tmp←2 50 ⍴ ⍳ 100   ⎕pw←225   tmp  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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 

Prefix.cc message

2023-08-12 Thread Bill Daly
ded to the tb_DocLines table. ⍝ Each document is uniquely identified by it's journal, name and date. ⍝ Copyright (C) 2018 Bill Daly ⍝ This program is free software: you can redistribute it and/or modify ⍝ it under the terms of the GNU General Public License as published by ⍝ the Free Software Fou

apl won't start

2023-08-10 Thread Bill Daly
Log of session attached w *** useless apl.lines (no CXXFLAGS=-rdynamic -gdwarf-2) -- Stack trace at Archive.cc:2002 0x7feed1f75d0a __libc_start_main 0x5569ad9e3973 main 0x5569ad9ecc26 init_apl(int, char const**)

Workspace wp

2023-02-17 Thread Bill Daly
tached the workspace, html.apl (which is copied into wp) and and example session. Has any one used this contraption?  Is it useful? Should I convince Jürgen to merge into gnu-apl? Your thoughts would be appreciated. Bill Daly #! /usr/local/bin/ap

APLComponentFiles

2023-01-13 Thread Bill Daly
I'm sending a revised ComponentFiles.apl which )copies 5 SQL. The SQL functions in the published workspace no longer work. w #!/usr/local/bin/apl --script -- ⍝ ⍝ ComponentFiles 2014-07-14 12:26:28 (GMT-5) ⍝ ⍝⍝

Re: APL: GNU: Microsoft: Windows: 10: Color

2022-08-28 Thread Bill Daly
try apl --noColor w On 8/28/22 09:34, knud van eeden wrote: Hello, The colors of the output are not readable out of the box when running it e.g. in console cmd.exe on Microsoft Windows 10. Current workaround:  1. -Keep pressing many times until the color changes to grey  2. -Then type your

--

2022-08-01 Thread Bill Daly
name←,⊃name →(options ap∆opts∆has_opt name)/s2 options←options ap∆add_error 'SYNTAX ERROR, ',name,' IS NOT A VALID OPTION.' →0 s2: opt←options ap∆opts∆get_opt name opt←opt ap∆opt∆set_value 1 options←options ap∆opts∆set_opt opt →0 help: options←options ap∆opts∆set_

AP Server

2022-04-23 Thread Bill Daly
Here is a log of a startup session This is the gnu-apl-mode interactive buffer. To toggle keyboard help, call M-x gnu-apl-show-keyboard (C-c C-k by default). APL symbols are bound to the standard keys with the Super key. You can also activate the APL-Z input method (M-x toggle-input-method or

meta.apl

2022-03-07 Thread Bill Daly
)wsid my_stuff WAS CLEAR WS )copy 3 meta DUMPED 2022-02-26 20:21:50 (GMT-5) meta∆make_function 'my' Author: Bill Daly BugEmail:b...@dalywebandedit.com Documentation: none Download:you can't License: because there is no license Portab

APL Library

2022-02-07 Thread Bill Daly
I've posted a new version of APL Library to https://sourceforge.net/projects/apl-library/.  Mostly bug fixes. w

FIO-pipefrom curiosity

2021-11-15 Thread Bill Daly
I'm trying to get my laptop ready for a three week trip when I tripped over an error using apl-library/apl_kbd workspace. Andelot is the name of my laptop and the attached log shows the error (including some of my own) and some testing I did to see if I could figure out whats going on. Verdu

Libs 3 4 and 5 on Fedora

2021-10-05 Thread Bill Daly
I've been testing apl on Fedora.  I installed gnu-apl using apl-1.8-0.x86_64.rpm.  As installed, /etc/gnu-apl.d/preferences read:   LIBREF-3 /usr/lib/apl/wslib3   LIBREF-4 /usr/lib/apl/wslib4   LIBREF-5 /usr/lib/apl/wslib5 I changed that to:   LIBREF-3 /usr/lib64/apl/wslib3   LIBREF-4 /usr/lib

Saving workspaces using the file system addres

2021-04-13 Thread Bill Daly
Good afternoon Jürgen, Please look at the attached log. It doesn't look like you need the actual workspaces to recreate this.  Let me know if you do. w )lib /dilworth/cotrugli/workspaces cotrugli )save /dilworth/cotrugli/workspaces/tb_2019 )lib /dilworth/cotrugli/wor

Package Manager workspace

2021-01-16 Thread Bill Daly
Starting with version 0-2-3 (6/8/2019) of my APL Library you can populate the library's workspaces in Package Manager. I've reloaded Package Manager from https://github.com/blakemcbride/APL-Pkg.git and much of APL Library will not ]pkg load.  The errors appear to be caused by creating variable

Format by example

2020-08-06 Thread Bill Daly
I was not really sure of how format by example worked:   'This is a description 55,550.' ⍕ t1[1;1] == Assertion failed: row.size() == format.size() in Function:  format_by_example in file:  Bif_F12_FORMAT

Resetting the X window keyboard for apl

2020-06-12 Thread Bill Daly
r results. w #! /usr/local/bin/apl --script ⍝ ⍝ apl_kbd.apl Workspace to enable the windows key for apl characters. ⍝ Copyright (C) 2020 Bill Daly ⍝ This program is free software: you can redistribute it and/or modify ⍝ it under the terms of the GNU General Public License as publis

What an I doing wrong?

2020-06-09 Thread Bill Daly
  FIO_Create_mask←(8⍴8)⊥0 0 0 0 0 7 7 7   FIO_Create_mask FIO∆mkdir '/home/dalyw/test/FIO_test' ¯2   FIO∆strerror ¯2 No such file or directory   FIO∆read_directory '/home/dalyw/test'  5767711 8549106885002863117 32 4 FIO_test   FIO∆rmdir '/home/dalyw/test/FIO_test' 0   FIO∆

New Version of APL Library

2020-06-01 Thread Bill Daly
I've uploaded a new version of APL Library.  I added a new data type, dateflow, to the finance workspace. w

I don't understand

2020-04-25 Thread Bill Daly
A session log: dalyw@verdun:~$ echo $LINES 24 dalyw@verdun:~$ echo $COLUMNS 80 dalyw@verdun:~$ apl   ⎕env 'LINES' End of log. What happended to LINES? w

New version of APL-Library

2020-03-31 Thread Bill Daly
I posted a new version to APL-Library to sourceforge.net last night.  It includes a rewrite of utf8 workspace. w

APL Package Manager

2020-03-28 Thread Bill Daly
https://github.com/TieDyedDevil/apl-pkg is now missing and the links on the APL Community Web Page are broken w

Time/size complexity of APL algorithms or I have no clue

2020-02-17 Thread Bill Daly
s over my eyes until the thought went away. w #! /usr/local/bin/apl --script ⍝ Rewrite dom∆parse∆openElm to deal with closed element tags ⍝ ⍝ dom.apl Partial implementation of the Document Object Model ⍝ Copyright (C) 2019 Bill Da

Revised FIO∆pipeto

2020-01-28 Thread Bill Daly
I'd like to contribute the two attached files to the gnu-apl project. Quad_FIO.tc includes test cases for FIO∆pipeto and FIO∆pipefrom, while FILE_IO.apl has a revised version of FIO∆pipeto discovered during testing. Bill Daly #!/usr/local/bin/apl --s

FILE_IO.apl

2020-01-15 Thread Bill Daly
014-07-29 15:40:42 (GMT+2) ⍝ ⍝ Copyright (C) 2008-2019 Dr. Jürgen Sauermann ⍝ Copyright (C) 2017 Christian Robert ⍝ Copyright (C) 2020 Bill Daly ⍝ This library contains APL wrapper functions the system function ⎕FIO ⍝ ⍝ The pur

FILE_IO.apl

2020-01-08 Thread Bill Daly
I'd like to contribute my changes to FILE_IO.apl to the GNU APL project.  A revised file, with my changes is attached. Bill Daly #!/usr/local/bin/apl --script -- ⍝ ⍝ ⎕FIO.apl 2014-07-29 15:40:42 (

]DOXY

2020-01-01 Thread Bill Daly
I get errors when I run ]DOXY This tarball includes : 1. lex.apl 2. /tmp/1 doxy (created by ]DOXY 3. The log showing how I created item 2 W doxy_test.tgz Description: application/compressed-tar

Re: Bug in WS 1 STAT

2019-12-21 Thread Bill Daly
Fixed. Try git clone https://git.code.sf.net/p/apl-library/code apl-library-code w On 12/20/19 1:33 PM, Mr. Brian B. McGuinness wrote: Looking through the functions in workspace 1 STAT I noticed that stat∆skewness calls stat∆pearson with no argument (under line label "four"): ∇skewness←s

Sage council and advice

2019-12-12 Thread Bill Daly
l --script ⍝ ⍝ utf8 workspace to read and write utf8 files ⍝ Copyright (C) 2019 Bill Daly ⍝ This program is free software: you can redistribute it and/or modify ⍝ it under the terms of the GNU General Public License as published by ⍝ the Free Software

Re: Multilines with APL character

2019-11-24 Thread Bill Daly
I played with this and I have a work around:   )copy 1 utl   ⍝ Testing reveals curious string   t2←⊃utl∆convertStringToNumber ¨ t3←""" →  1 2 3 →  4 ¯5 6 →  """   ⍴t3 2   2⊃t3 4 \xaf5 6   ⍝ Works with a dash   t1←⊃{utl∆convertStringToNumber ¨ ' ' utl∆split

[Bug-apl] Deep Hack Mode

2019-07-31 Thread Bill Daly
Aside from demonstrating my complete inability to write an executable line of code, this log file shows to issues: 1) APL crashes -- see line 234 2) APL truncates the line of code in the error message. This was generated by Version / SVN 1.8 / Unversioned directory As to reproducing these err

[Bug-apl] New Version of APL Library

2019-07-06 Thread Bill Daly
Hello all I've posted a new version of APL library (http://sourceforge.net/projects/apl-library).  This version includes a rewritten wp workspace. wp has allowed me to publish my accounting workpapers as html files.  I've modified it to be a more general tool and to provide easier means for

[Bug-apl] An inventory of entropy

2019-06-21 Thread Bill Daly
cript ⍝ ⍝ rl.apl Using the linux kernel to seed ⎕RL ⍝ Copyright (C) Bill Daly 2019 ⍝ This program is free software: you can redistribute it and/or modify ⍝ it under the terms of the GNU General Public License as published by ⍝ the Free Software Foundation, either version

[Bug-apl] New version of APL-library

2019-06-08 Thread Bill Daly
I've uploaded an new version of apl-library: https://sourceforge.net/projects/apl-library/files/latest/download Bill Daly

[Bug-apl] GNU APL ported to Javascript

2019-03-29 Thread Bill Daly
Hi Jurgen I tried the this link on  the GNU APL Community web page and firefox complained because it couldn't connect to the server. w

[Bug-apl] Help

2018-10-25 Thread Bill Daly
Copyright (C) 2016, 2017, 2018 Bill Daly ⍝ This program is free software: you can redistribute it and/or modify ⍝ it under the terms of the GNU General Public License as published by ⍝ the Free Software Foundation, either version 3 of the License, or ⍝ (at your option) any later version. ⍝ This prog

[Bug-apl] I just can't help myself

2018-10-08 Thread Bill Daly
Hello Jürgen I've been working on two projects utl, my utility workspace with better documentation and better function names and lpr, a workspace to print directly from apl. Now I've melted down the interpretor so I've sent three logs. I'm not sending all the workspace I loaded to create the

[Bug-apl] Quad ES message too long

2018-04-16 Thread Bill Daly
Jürgen, I've attached the my apl library so that you can recreate my bug if need be. My problem is the messages generated by Quod-es: LINE NAME MUST BE A CHARACTER STRING   'ID' 'TB' 'title' 'A Schedule' 'lines' ('CA' 1 'Current Assets' 'd' (1010 1110 1   310 1320 1390 1410) ' ' 'CL'

[Bug-apl] Error loading time.apl

2017-01-19 Thread Bill Daly
It seems that apl is dropping data when loading an apl file. Log of my session is attached together with all the stuff I'm copying into the workspace. uname -a: Linux verdun 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux To recreate this issue: 1

[Bug-apl] Interpreter message

2016-12-11 Thread Bill Daly
#!/usr/local/bin/apl --script ⍝ ⍝ date 2016-11-29 12:51:06 (GMT-5) ⍝ ⍝ date workspace implements lillian dates ⍝ Copyright (C) 2016 Bill Daly ⍝ This program is free software: you can redistribute it and/or m

[Bug-apl] New gnu apl repository

2016-09-28 Thread Bill Daly
I've started a repository for gnu apl libraries https://sourceforge.net/projects/apl-library/ Can you put a link on the apl-community web pages. Bill Daly