That did the trick - thanks! I couldn't figure out what the [] meant in this context and thought it was to make a recursive call.
(I've been working on basic space-filling curves, and came across that Wikipedia page last week, which is about all I know about L-systems.)