I want to create a table for a few blocks of source code. In LaTeX, I would do
\hline
\begin{lstlisting}
abc;
def;
\end{lstlisting}
\tabularnewline
Is there a way to accomplish something like this in ConTeXt? I have tried \starttyping and \stoptyping within table cells, but the file fails to compile if I do that.
The reason I would like to use tables is that I could then use \placetable for floats, and also that I would have a clean way of referring to it in other parts of the document.



