april icon indicating copy to clipboard operation
april copied to clipboard

The APL programming language (a subset thereof) compiling to Common Lisp.

Results 16 april issues
Sort by recently updated
recently updated
newest added

should april throw a domain error like dyalog does or should it be able to handle this? ```lisp CL-USER> (april "{'ABC'[⍵]}2") #\B CL-USER> (april "({'ABC'[⍵]}⍣¯1)'B'") NIL ``` ```apl ({'ABC'[⍵]}⍣¯1)'B' DOMAIN...

https://codeberg.org/CptJimKirk/aoc/src/commit/da2d8826e9f9356fde81a350b9d3817312a47999/cl/apl/15.apl#L54 Over a 1000 1000⍴0 array, apply a function to windowed regions defined by ``` {{↓(⊃⍵)+⍤1⊢↑,⍳1+⊃|-/⍵}1↓¨⍵} ``` where `⍵` is `(x1 y1)(x2 y2)` integer pairs of coordinates. In Dyalog this...

In the APL wiki at https://aplwiki.com/wiki/Matrix_Divide#Applications it mentions that matrix divide should do least squares regression for an overdetermined system This PR implements linear-regression for the domino operator Example use;...

I had to "copy" the variables from state since I got errors like `APRIL-WORKSPACE-CNN-DEMO-SPACE-LEX::|trimgs| is unbound` with the original code. I was running off april in quicklisp (20211020-git), so maybe...

``` APRIL> (time (april "{+/,(3 3 ⍴ ¯1 ¯1 ¯1 ¯1 9) × ⍵}⌺ 3 3 ⊢ 300 300 ⍴ 100 ⋄ 0")) Evaluation took: 11.227 seconds of real time...

``` ; The variable VEX::OUTPUT is unbound. ; console: 2.72 7.39 20.1 2.71828 7.38906 20.0855The variable VEX::OUTPUT is unbound. ``` Also, not very familar with apl-vim, running the setup but...

Using LispWorks 8.0.1 ARM64 on Linux I've compiled April and ran demo + test successfully. Ran demo and tests quick, no delays. Problems: * default character type needs to be...

```common-lisp (april:april "⍸1 2 3") ; => #(1) (should be #(1 2 2 3 3 3)) (april:april "⍸¯1 0 1") ; => #(3) (should signal an error) ```

On SBCL 2.4.0, running: ```common-lisp (april:april "m←1 2⍴1 2◊⍉m") ``` results in the following error: ``` failed AVER: (MEMBER SB-X86-64-ASM::SIZE '(:DWORD :QWORD)) This is probably a bug in SBCL itself....

Building with SBCL 2.4.6 / ASDF 3.3.5 for quicklisp dist creation. Trying to build commit id 14269352daa5b0bc49ed00db78c1fa7c8deb1edb *april-demo.ncurses* fails to build with the following error: ``` Unhandled SIMPLE-ERROR in thread...