The one that springs most immediately to mind is "Wizard's Bane" by Rick Cook, which involves somebody making a programming language out of small spells which could be used to make more complex ones, but the book wasn't actually that good.
Much better written (and very popular) is "Harry Potter and the Methods of Rationality", which you can find here:
...Or in a variety of ebook formats from the author page.
Diane Duane's "Young Wizards" series never reveals much about the workings of its magic system, but it's made pretty clear that using magic effectively is mostly a matter of describing precisely what you want to happen, and closely akin to engineering. They're good books, and I like the idea of non-mysterious magic that you may have to debug before it works right.
Much better written (and very popular) is "Harry Potter and the Methods of Rationality", which you can find here:
http://www.fanfiction.net/s/5782108/1/Harry_Potter_and_the_M...
...Or in a variety of ebook formats from the author page.
Diane Duane's "Young Wizards" series never reveals much about the workings of its magic system, but it's made pretty clear that using magic effectively is mostly a matter of describing precisely what you want to happen, and closely akin to engineering. They're good books, and I like the idea of non-mysterious magic that you may have to debug before it works right.