immediate mode for textparser