APL Orchard: Difference between revisions

Jump to navigation Jump to search
390 bytes added ,  10:51, 5 January 2021
Added APL userscript
(Added APL userscript)
Line 60: Line 60:


The room features a chat bot, '''Dyalog APL''', which can evaluate a safe subset of APL.<ref>Using [[Adám Brudzewsky]]'s [https://github.com/abrudz/dyalog-safe-exec Safe Execute for Dyalog APL] tool.</ref> To use it, prefix a chat message, inline code, or a code block with <source lang=apl inline>⋄</source>. Using markdown (for example <source lang=md inline>`⋄ 2+3`</source>) or fixed-width (4 or more initial spaces on each line, which can be inserted by pressing <kbd>Ctrl</kbd>+<kbd>k</kbd>) is highly recommended for readability and to avoid, interpretation of APL symbols as markdown.
The room features a chat bot, '''Dyalog APL''', which can evaluate a safe subset of APL.<ref>Using [[Adám Brudzewsky]]'s [https://github.com/abrudz/dyalog-safe-exec Safe Execute for Dyalog APL] tool.</ref> To use it, prefix a chat message, inline code, or a code block with <source lang=apl inline>⋄</source>. Using markdown (for example <source lang=md inline>`⋄ 2+3`</source>) or fixed-width (4 or more initial spaces on each line, which can be inserted by pressing <kbd>Ctrl</kbd>+<kbd>k</kbd>) is highly recommended for readability and to avoid, interpretation of APL symbols as markdown.
=== APL execution userscript ===
Similar in function to the chat bot mentioned. The userscript adds an [[Execute]] button to the chat box, which provides the output of the first line entered in the chat box, using the [[Running APL|TryAPL]] API. The script can be downloaded from [[User:Razetime]]'s Github repository, or at the Greasyfork
userscript host under the name "Chat box exec".


== Conventions ==
== Conventions ==
trusted
69

edits

Navigation menu