In this story magic is done by writing command-line sort of programs. In the story the main guy ends up using some magic and ends up making his grandmother or something mad and ends up in hiding. The whole story ends up with their “familiars”, constructs or AI's that they have created, kinda rebelling. The main character's name was something like Raven. There are a couple of characters that are semi-related to some greek mythology gods, but i can't think of which.
Oh, the main character and his family are gods, or something like that, and that's why they can do magic.