Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo has an error message #282

Open
kwccoin opened this issue Apr 16, 2024 · 3 comments
Open

demo has an error message #282

kwccoin opened this issue Apr 16, 2024 · 3 comments

Comments

@kwccoin
Copy link

kwccoin commented Apr 16, 2024

; 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"
@justin2004
Copy link
Contributor

@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

@kwccoin
Copy link
Author

kwccoin commented Apr 16, 2024

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.

@phantomics
Copy link
Owner

Could you post an example of code that produces the VEX::OUTPUT is unbound message when you run it? I tried running (april (demo)) within both the april and cl-user packages and I found that it works fine for the current version of April. Are you using the latest version from this repo or the Quicklisp version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants