Skip to content

2. Online usage

rikedyp edited this page Sep 25, 2019 · 3 revisions

Using TryAPL

  1. Click on TryAPL's Learn tab.

  2. Select tutorial (or enter the URL of an online Jupyter notebook document.Coming soon!)

  3. Click Next to proceed through the tutorial steps.

  4. At any time, you may click on APL expressions in the tutorial pane to re-insert them in the session pane, or press the up arrow key to recall previous statements.

Using Binder

  1. Add a Dockerfile to your Git repository (with the name Dockerfile) which uses the following template:
FROM rikedyp/dyalog-jupyter-binder:49 # This Docker container is a Dyalog Jupyter environment
COPY ./NotebookFolder/ ${HOME}        # NotebookFolder is a folder containing notebooks
ADD ./MyNotebook.ipynb ${HOME}        # MyNotebook.ipynb is an individual notebook
  1. Go to mybinder.org and paste your repository URL
  2. Click the launch button

Entering APL characters

You can get an APL language bar and enable key-bindings and character compositions using just a a bookmarklet (a browser bookmark that contains commands which add new features to the browser). After adding the bookmarklet to your language bar, and opening a Jupyter notebook document in your browser, click on the bookmarklet. You can insert APL characters in three ways:

  1. Click on APL Keyboard. Click on an APL symbol, or on Shift, then an APL symbol.
  2. Click on the Primer tab. Click on an APL symbol.
  3. Type Backtick (`) and then the associated symbol (hover over symbols on Primer tab bar to see associations), e.g. Backtick+r makes and Backtick+Shift+e makes .

Next ▸

Clone this wiki locally