Text editors: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Add emacs Dyalog APL mode) |
||
Line 8: | Line 8: | ||
|[https://www.dyalog.com/download-zone.htm Dyalog Editor]||Windows||Basically same editor as the one built into the IDE, providing syntax colouring, auto-formatting, language help, comment handling, and tree-view. | |[https://www.dyalog.com/download-zone.htm Dyalog Editor]||Windows||Basically same editor as the one built into the IDE, providing syntax colouring, auto-formatting, language help, comment handling, and tree-view. | ||
|- | |- | ||
|[https://www.gnu.org/software/emacs/ Emacs]||cross-platform||[https://github.com/lokedhs/gnu-apl-mode GNU APL mode] provides shifting and prefix key input. [https://github.com/abochannek/Dyalog/tree/master/dyalog-apl-input Dyalog APL Input] provides backtick keyboard support. | |[https://www.gnu.org/software/emacs/ Emacs]||cross-platform||[https://github.com/lokedhs/gnu-apl-mode GNU APL mode] provides shifting and prefix key input.<br>[https://github.com/harsman/dyalog-mode Dyalog APL mode] integrates with the Dyalog IDE so you can use Emacs instead of the built in editor, supports syntax highlighting (including correct highlighting of localized variables), indentation and convenience functions like toggling localization of variables.<br>[https://github.com/abochannek/Dyalog/tree/master/dyalog-apl-input Dyalog APL Input] provides backtick keyboard support. | ||
|- | |- | ||
|[https://jupyter.org/ Jupyter Notebook]||Windows, Linux, macOS, AIX||[https://github.com/Dyalog/dyalog-jupyter-kernel Dyalog Jupyter Kernel] provides syntax colouring and HTML/SVG rendering. | |[https://jupyter.org/ Jupyter Notebook]||Windows, Linux, macOS, AIX||[https://github.com/Dyalog/dyalog-jupyter-kernel Dyalog Jupyter Kernel] provides syntax colouring and HTML/SVG rendering. | ||
Line 16: | Line 16: | ||
|[https://typora.io/ Typora]||Windows, Linux, macOS||Syntax highlighting for code blocks. | |[https://typora.io/ Typora]||Windows, Linux, macOS||Syntax highlighting for code blocks. | ||
|- | |- | ||
|[https://www.vim.org/ Vim]||cross-platform||[https://gitlab.com/n9n/vim-apl VIM APL] provides rainbow curly braces with a matching colour for <code lang=apl inline>⍺</code>, <code lang=apl inline>⍵</code>, <code lang=apl inline>∇</code>, and <code lang=apl inline>:</code> in dfns, prefix key input, and completion for [[quad name]]s, [[keyword]]s, and [[system command]]s. [https://github.com/baruchel/vim-notebook#configuring-gnu-apl Vim Notebook] runs an interpreter in the background to evaluating code cells. | |[https://www.vim.org/ Vim]||cross-platform||[https://gitlab.com/n9n/vim-apl VIM APL] provides rainbow curly braces with a matching colour for <code lang=apl inline>⍺</code>, <code lang=apl inline>⍵</code>, <code lang=apl inline>∇</code>, and <code lang=apl inline>:</code> in dfns, prefix key input, and completion for [[quad name]]s, [[keyword]]s, and [[system command]]s.<br>[https://github.com/baruchel/vim-notebook#configuring-gnu-apl Vim Notebook] runs an interpreter in the background to evaluating code cells. | ||
|- | |- | ||
|[https://code.visualstudio.com/ Visual Studio Code]||Windows, Linux, macOS||[https://marketplace.visualstudio.com/items?itemName=OptimaSystems.vscode-apl-language APL Language] extension provides syntax highlighting and snippets. [https://marketplace.visualstudio.com/items?itemName=OptimaSystems.vscode-apl-language-client APL Language Server Client] provides tool tips on primitives, prefix (e.g. backtick) completion. | |[https://code.visualstudio.com/ Visual Studio Code]||Windows, Linux, macOS||[https://marketplace.visualstudio.com/items?itemName=OptimaSystems.vscode-apl-language APL Language] extension provides syntax highlighting and snippets. [https://marketplace.visualstudio.com/items?itemName=OptimaSystems.vscode-apl-language-client APL Language Server Client] provides tool tips on primitives, prefix (e.g. backtick) completion. | ||
|} | |} | ||
{{APL development}}[[Category:APL environment]] | {{APL development}}[[Category:APL environment]] |
Revision as of 18:08, 16 July 2020
With APL code in text files (rather that the traditional workspaces) many source code tools, including editors, can easily be used with APL. This article lists some text editors that are especially well-equipped to deal with APL.
Name | Platform | Features |
---|---|---|
APL Keys | Android | A simple notepad that supports APL characters. |
Dyalog Editor | Windows | Basically same editor as the one built into the IDE, providing syntax colouring, auto-formatting, language help, comment handling, and tree-view. |
Emacs | cross-platform | GNU APL mode provides shifting and prefix key input. Dyalog APL mode integrates with the Dyalog IDE so you can use Emacs instead of the built in editor, supports syntax highlighting (including correct highlighting of localized variables), indentation and convenience functions like toggling localization of variables. Dyalog APL Input provides backtick keyboard support. |
Jupyter Notebook | Windows, Linux, macOS, AIX | Dyalog Jupyter Kernel provides syntax colouring and HTML/SVG rendering. |
Sublime Text | Windows, Linux, macOS | APL Highlighting package enables syntax highlighting for APL, including Dyalog and APL2 dialects. |
Typora | Windows, Linux, macOS | Syntax highlighting for code blocks. |
Vim | cross-platform | VIM APL provides rainbow curly braces with a matching colour for ⍺ , ⍵ , ∇ , and : in dfns, prefix key input, and completion for quad names, keywords, and system commands.Vim Notebook runs an interpreter in the background to evaluating code cells. |
Visual Studio Code | Windows, Linux, macOS | APL Language extension provides syntax highlighting and snippets. APL Language Server Client provides tool tips on primitives, prefix (e.g. backtick) completion. |
APL development [edit] | |
---|---|
Interface | Session ∙ Typing glyphs (on Linux) ∙ Fonts ∙ Text editors |
Publications | Introductions ∙ Learning resources ∙ Simple examples ∙ Advanced examples ∙ Mnemonics ∙ ISO 8485:1989 ∙ ISO/IEC 13751:2001 ∙ A Dictionary of APL ∙ Case studies ∙ Documentation suites ∙ Books ∙ Papers ∙ Videos ∙ APL Quote Quad ∙ Vector journal ∙ Terminology (Chinese, German) ∙ Neural networks ∙ Error trapping with Dyalog APL (in forms) |
Sharing code | Backwards compatibility ∙ APLcart ∙ APLTree ∙ APL-Cation ∙ Dfns workspace ∙ Tatin ∙ Cider |
Implementation | Resources ∙ Open-source ∙ Magic function ∙ Performance ∙ APL hardware |
Developers | Timeline of corporations ∙ APL2000 ∙ Dyalog ∙ IBM ∙ IPSA ∙ STSC |