This is a neovim plugin for GNU APL - an (almost) complete implementation of ISO standard 13751
WIP. Feel free to contribute.
See ./test/some.apl
This plugin is based heavily on SCNvim by David Granström.
keymap | |
---|---|
C-e | (evaluate line/block) |
A-e | (evaluate line) |
Enter | (toggle interpreter window) |
⍝►
... ⍝◄
⍝►
(g h j) ← 30 51 23
words←'END'
('satan' 'novra' 'flot' 'hund')
chars←'abcdefghijklmnopqr..'
style←'∥⍙⍠≢≡⌷⌸⍤⍢⍰⍥⍞⍬⌹⊖⍉⌽' ⍝ attitude skatter
tri←,chars∘.,chars∘.,chars∘.,style
{⍺,' <:> ',⍵}⌿tri[5?≢tri]
{⍺,' ○⎕○ ',⍵}⌿words[2?≢words]
6?123
(?512*('asn' ∘.= 'ananas'))-1
{(+⌿⍵)÷≢⍵} 1.1 g h j
halvPi←○1÷2
halvPi+2
⍝◄