I guess it's science fiction if the magic is supposed to follow a strictly coherent and predictable system, otherwise just fantasy. I once read a novel where a couple of programmers find themselves in a world where magic works, but but few can master complex spells. They make a spell out of simple spells that lets them combine a series of simple spells into something more complex, and they call that spell "emacs"... and so on... I guess that would count as scifi.
There's a series of books set in a world where magic works and science hasn't been developed, otherwise this world in the past, though that's hard to tell because what makes things modern is science really. Anyway, it's probably not magical realism, but is it science fiction? No science though. It's an interesting conceit though.
I guess it's science fiction if the magic is supposed to follow a strictly coherent and predictable system, otherwise just fantasy. I once read a novel where a couple of programmers find themselves in a world where magic works, but but few can master complex spells. They make a spell out of simple spells that lets them combine a series of simple spells into something more complex, and they call that spell "emacs"... and so on... I guess that would count as scifi.
There's a series of books set in a world where magic works and science hasn't been developed, otherwise this world in the past, though that's hard to tell because what makes things modern is science really. Anyway, it's probably not magical realism, but is it science fiction? No science though. It's an interesting conceit though.