IBM has published a tutorial entitled "Scripting Second Life with Rational Application Developer" (registration required), which takes you through scripting a simple game and explains quite a few of the different parts of LSL. It's been done to promote use of company's Rational Application Developer system, but as it's all just code you can use it with any text editor.