Skip to main content

The PreTeXt Guide

Subsection 4.15.4 Interactive Program Capabilities

This table lists which types of interactivity are available on various combinations of servers and programming languages. The entry “AC + CL” means that both ActiveCode and CodeLens instances are availble, but the ActiveCode instance will have a CodeLens button enabled.
Note that python is generic Python with the standard libraries (version 3.x). On the other hand python3 is a Runestone server installation (only) with a number of additional popular Python packages available, such as numpy and pandas.
Table 4.15.4.1. Interactive Programs
Language @language Server
Generic Runestone
Python python AC + CL AC + CL
Python 3 python3 AC
Java java CL AC + CL
C c CL AC + CL
C++ cpp CL AC + CL
JavaScript javascript AC AC
HTML html AC AC
SQL sql AC AC
Octave octave AC
AC = ActiveCode, CL = CodeLens