GNU APL error while saving workspace

2024-01-31 Thread Paul Rockwell
er information or if I can assist in any further debugging. I have the sources and can debug and rebuild if necessary. Thank you. - Paul Rockwell paulrockw...@mac.com

Error while running function copied from another workspace

2024-02-03 Thread Paul Rockwell
GNU APL SVN 1744M running on macOS 14.3 on Apple Silicon.I copied a function from a workspace (in this case, it's the DISPLAY function from IBM APL2 transcribed from the book "APL2 At a Glance':      )copy TOOLBOX DISPLAY SAVED 2024-02-03 16:54:36 (GMT-5)I then attempted to run DISPLAY:      DISPLA

Stack traces not displaying correctly on macOS

2024-02-12 Thread Paul Rockwell
eachable code)You're welcome to use them if you find them useful.- Paul Rockwell<>

Re: Stack traces not displaying correctly on macOS

2024-02-13 Thread Paul Rockwell
t; (which ?) or with -D on the command line? In the latter case we could let > ./configure set the macro (for that I would need to know the output of > the uname command on your machine). > > Best Regards, > Jürgen > > >> On 2/12/24 23:40, Paul Rockwell wrote: >>

Re: Stack traces not displaying correctly on macOS

2024-02-13 Thread Paul Rockwell
ncing any Apple-provided examples. - Paul > On Feb 13, 2024, at 9:35 AM, Paul Rockwell wrote: > > Jürgen, > > I’ll download and test SVN 1752 on both macOS and a Fedora Intel system I > have hanging around. I figured you don’t use a Mac, so that’s why I took it > upon m

SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-13 Thread Paul Rockwell
if (sort == SORT_TIME) return st.st_mtimespec.tv_sec; and the module compiles successfully. I can conditionalize this with #ifdef __APPLE__ like I did with my changes to Backtrace.cc, but thought I'd defer to you to determine how you want to handle this. - Paul Rockwell .

Re: SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-14 Thread Paul Rockwell
your /usr/include/.../stat.h > file and let me know how to get the modification time (or a macro > that tells if it is present or absent)? > > Thanks, > Jürgen > > >> On 2/13/24 19:56, Paul Rockwell wrote: >> When compiling SVN 1752 on macOS, an error is thrown b

GNU APL crash

2024-02-22 Thread Paul Rockwell
EN4:→('yn'E∆Pic'Function has been modified; leave anyway')/(3⍴EN4),0,EN1 [37] EN2:→(0∊⍴Mat)/EN3 [38] →('yn'E∆Pic'Do you wish to return to your original text')/(3⍴EN2),0,EN3 [39] EN3: →0 [40] ER1:E∆ER'Function ',fun,' does not exist.' ∇ [41] ∇ E∆Edit '' At all prompts you can type 'end' to exit or backup to the previous question. You can often type 'help' to get help. - Paul Rockwell

Re: Compile errors when building libapl

2024-03-03 Thread Paul Rockwell
following changes in SVN 1713 have contributed to breaking libapl.cc: the definition of resolve_right() in Symbol.hh and SystemVariable.hh was changed to add the additional argument the removal of the definition of extract_and_keep() in class Token in Token.hh. - Paul Rockwell

Re: Is svn release 1758 missing fixes?

2024-03-03 Thread Paul Rockwell
031 to if (sort == SORT_TIME) return st.st_mtime; 2031 Both Linux and macOS #define st_mtime to be st.st_mtim.tv_sec (Linux) or st.st_mtimespec.tv_sec (macOS) to provide backward compatibility. That way we don't need the test for __APPLE__. - Paul Rockwell

Re: Multiple assignment attempt crashes gnu-apl

2024-03-28 Thread PAUL ROCKWELL
the interpreter, the resulting interpreter runs the assignment as expected, and the assertion is not thrown. Is there a minimum dialect of C++ that should be used to compile GNU APL? - Paul Rockwell

Re: Warning in make of rev 1788

2024-09-26 Thread Paul Rockwell
Xcode) are you running)? - Paul Rockwell > On Sep 26, 2024, at 1:56 PM, Peter Teeson wrote: > > configure: SUMMARY OF TESTS (please include in error reports) > >prefix: : /usr/local > >DEVELOP_WANTED: no

Re: I get ompile errors in 1788

2024-09-26 Thread Paul Rockwell
e copied a diff of my code vs that in SVN 1780 created via 'svn diff': I've seen the warnings in filter_apl_lines.cc that appear to be typecasting mismatches. I haven't seen the warnings out of lines.cc. - Pau

Re: 4 errors generated when compiling Quad_MX,hh

2024-12-02 Thread Paul Rockwell
More research indicates that this may indeed be an issue related to old standards. See https://en.cppreference.com/w/cpp/language/angle_bracket_hack It indicates that there were issues with some compilers when using standards prio

Re: 4 errors generated when compiling Quad_MX,hh

2024-12-02 Thread Paul Rockwell
I agree with you Henrik that’ it’s Jürgen’s call here on what would be the best way forward. I suspect you and Jürgen didn’t encounter the issue because you’re using a GCC compiler suite that defaults to a newer standard. It’s just us Mac folks using clang are more likely to see it because of

Re: 4 errors generated when compiling Quad_MX,hh

2024-12-02 Thread Paul Rockwell
the compiler supports C++11 or later? - paul > On Dec 1, 2024, at 11:56 PM, Paul Rockwell wrote: > > Peter (and Jűrgen) > > I think I've got a High Sierra VM hanging around that I might be able to > install the XCode command line tools on so I can test to see if gn

Re: 4 errors generated when compiling Quad_MX,hh

2024-12-01 Thread Paul Rockwell
Peter (and Jűrgen) I am seeing this same error when compiling on macOS 15 Sequoia on Apple Silicon with XCode 16.1 command line tools and using the default ./configure options (that is, no options at all). I normally compile GNU APL with non-default options. The one that standsout to me (and

Re: Quad-PW on macOS

2024-12-28 Thread Paul Rockwell
28, 2024, at 1:56 PM, Paul Rockwell wrote: > > Jürgen, > > The configure code to determine HAVE_IOCTL_TIOCGWINSZ in config.h doesn't > work on macOS: > > conftest.cpp:130:11: fatal error: 'asm/termbits.h' file not found

Re: Quad-PW on macOS

2024-12-28 Thread Paul Rockwell
nces file, >>>> AND enabled WINCH-SET-PW, they still ought to get their initial ⎕PW. If >>>> they resized the window later, then the ⎕PW would follow the window width. >>>> >>>> It's like using the command line setting "--PW 80" -- it ov

Re: Quad-PW on macOS

2024-12-29 Thread Paul Rockwell
Jürgen, May I suggest a couple of changes to src/main.cc? The first thing is a. bug - there's no #include "config.h" in main.cc HAVE_IOCTL_TIOCGWINSZ is undefined and code that is conditionalized based on its existence won't be compiled. I also looked at the changes in context, and think t

Re: Syntax error on function )COPY'd from another workspace

2025-02-09 Thread Paul Rockwell
t;> Thanks! >>> >>> Blake >>> >>> >>> On Sun, Feb 9, 2025 at 10:07 AM Blake McBride >> <mailto:blake1...@gmail.com>> wrote: >>>> Hello, >>>> >>>> I have been watching this thread. My impression is that i

Syntax error on function )COPY'd from another workspace

2025-02-06 Thread Paul Rockwell
You can often type 'help' to get help. Enter your edit command? edit Enter the line numbers you wish to change, or [a,b,r]? 2 24 Enter your edit command? end As I said, this is very strange behavior. I can work around it, but quite honestly it's a pain because I have no idea when the issue is going to crop up again. - Paul Rockwell

Re: Rev. 1997, make fails with Quad_MX.cc:

2024-12-10 Thread PAUL ROCKWELL
I just downloaded and built SVN 1799 on Fedora 41 x86_64 and this warning did not appear. However I had issues reported by others with a linker failure. I downloaded and installed earlier SVN versions and found that I couldn't reproduce the linker failures. I think some combination of 'make di

Re: Del Editor Confusion

2025-01-26 Thread Paul Rockwell
I'm seeing the same thing on SVN 1822 on Fedora 41 x86_64 and SVN 1823 on macOS 15.2 Apple Silicon (arm64). - Paul Rockwell > On Jan 26, 2025, at 7:36 PM, M.Hall wrote: > > I have some misunderstandings with the del editor. (this is long, sorry) > > $ apl >

Re: Quad-PW on macOS

2024-12-21 Thread Paul Rockwell
Jürgen, I tried enabling WINCH-SETS-⎕PW option in SVN 1802 running on macOS, and found that a windows resize did not does not resize the window in the macOS Terminal.app. Adding Mike Hall's proposed changes to main.cc , and ⎕PW will now set according to the window size. Ther

Re: Quad-PW on macOS

2024-12-23 Thread Paul Rockwell
;> Hi, >> >> I am still not clear about whether the WINCH-SETS-⎕PW preference >> works or does not work on Mike's platform (which ?). Could someone >> please test that? >> >> Thanks, >> Jürgen >> >> >> On 12/22/24 20:03, M.Ha

Re: Syntax error on function )COPY'd from another workspace

2025-02-08 Thread Paul Rockwell
> that very much looks like an error in the Editor workspace, doesn't it? > Can you reproduce the fault in plain APL? > > Best Regards, > Jürgen > > > On 2/6/25 19:14, Paul Rockwell wrote: >> I've been seeing syntax errors being thrown on functions copied from

Re: Syntax error on function )COPY'd from another workspace

2025-02-13 Thread Paul Rockwell
I might have a clue as to what's going on with the optimization. This is beginning to look like it's related to the FT_DIRECT_BRANCHES (unconditional branches) optimization. More digging with the debugger, except now with Hans-Peter's sample function: [0] WWW [1] ws←3↓1⊃⍎')WSID' [2] → x