Parse code lines.
List<String> parseCodeLines(String text) => text.split('\n').map((l) => l.trim()).where((l) => l.isNotEmpty).toList();