april icon indicating copy to clipboard operation
april copied to clipboard

demo has an error message

Open kwccoin opened this issue 1 year ago • 3 comments

; 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 nothing seems to work. Should it be `i will give you the character etc. Guess not your issue. May have to do copy and paste :-(

; trying to use github example as demo as demo does not work

(april-f "(2∘|) {(⍺⍺¨⍵)/⍵} ⍳20")
(april-f "÷⍳5")
(april-f "2r3×⍳4")
(april-f "3r4J9r5×⍳4")
(april-f "1_000_000+5")
(april-f "1__000_000__000_000+5")
(april-f "1_00___0_0__00_0+5")

(april-f "`-`i5") ; the vim-apl seems not active

produce

1 3 5 7 9 11 13 15 17 19
1 1r2 1r3 1r4 1r5
2r3 4r3 2 8r3
3r4J9r5 3r2J18r5 9r4J27r5 3J36r5
`-`i5
"`-`i5"

kwccoin avatar Apr 16 '24 08:04 kwccoin

@kwccoin

the vim-apl seems not active

if you make the file extension of the file .apl then try.

also you can run :set filetype=apl

the plugin does not know that you want to type apl characters into a .lisp file

justin2004 avatar Apr 16 '24 12:04 justin2004

as the vim plug in need to use .lisp (so one can do say ,e for expression and ,b for whole "buffer', I have to use .lisp. Still, i try the filetype and ignore the need to use slimv just open a .apl, still no luck.

Is there any way to install the vim package directly so that I know it is installed (instead of via the other package). I only use one vim plug in and this is my second one.

Any way really not your issue. And I am trying yours by copy and past.


BTW, why the demo not working. I saw it running a bit and then have that message

; The variable VEX::OUTPUT is unbound.
; console: 2.72 7.39 20.1  2.71828 7.38906 20.0855The variable VEX::OUTPUT is unbound.

kwccoin avatar Apr 16 '24 14:04 kwccoin