Derivation tree not rendering

I'd like to persuade you to switch to forest.

\documentclass{article}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
for tree={grow=east}
 [$SS$ 
   [$(S)$ $()$]
                [$(S)$
                    [$((S))$ $(())$]
                ]
            ]
\end{forest}
\end{document}

enter image description here


Here are three different ways to draw the graph

tikz-qtree solution

Take care of the white space!

\documentclass[11pt]{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,calc}
\usepackage{tikz-qtree}

% ----------

\begin{document}
\begin{tikzpicture}
\tikzset{grow'=right}
\tikzset{every tree node/.style={anchor=base west}}
\Tree [.$SS$ [.$(S)$ $()$ ] [.$(S)$ [.$((S))$ $(())$ ] ] ]
\end{tikzpicture}
\end{document}

enter image description here

Pure TikZ solution

\documentclass[tikz]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[node distance=0.5cm]
\node (ss) {$SS$};
\node[above right=of ss] (sa) {$(S)$};
\node[right=of sa] (br1) {$()$};
\node[below right=of ss] (sb) {$(S)$};
\node[right=of sb] (ssb) {$((S))$};
\node[right=of ssb] (br2) {$(())$};
\draw (br1) -- (sa) -- (ss) -- (sb) -- (ssb) -- (br2);
\end{tikzpicture}
\end{document}

enter image description here

tikzcd solution

\documentclass{standalone}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[every arrow/.append style={dash}]
& (S) \arrow[r] & ()\\
SS \arrow[ru]\arrow[rd] & &\\
& (S) \arrow[r] & ((S)) \arrow[r] & (())
\end{tikzcd}
\end{document}

enter image description here