File: command_line.tex

package info (click to toggle)
cadabra2 2.4.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,796 kB
  • sloc: ansic: 133,450; cpp: 92,064; python: 1,530; javascript: 203; sh: 184; xml: 182; objc: 53; makefile: 51
file content (22 lines) | stat: -rw-r--r-- 835 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

\section{Command line interface}
\subsection{Options}

\begin{tabularx}{.8\textwidth}{lX}
\verb|-d| & Run in debug mode, in which a Cadabra crash will land you in gdb
            from which you can inspect stack traces and so on (only useful for
            developers).
\end{tabularx}



\subsection{Editing facilities}

When entering a Cadabra expression, that is, when a line contains a
\verb|:=| or \verb|::| token indicating an expression or property
declaration respectively, Cadabra enters a multi-line input mode which
is somewhat different from the Python editing mode. As long as the
input does not end on a colon \verb|:| or semi-colon \verb|;| new
lines will be requested, and this is indicated by the prompt becoming
a vertical bar. Multi-line input is strung together as one line before
being fed to the Cadabra parser.