  We describe a formalism and numerical approach for studying spherically
symmetric scalar field collapse for arbitrary spacetime dimension d and
cosmological constant Lambda. The presciption uses a double null formalism, and
is based on field redefinitions first used to simplify the field equations in
generic two-dimensional dilaton gravity. The formalism is used to construct
code in which d and Lambda are input parameters. The code reproduces known
results in d = 4 and d = 6 with Lambda = 0. We present new results for d = 5
with zero and negative Lambda.
