Mechanisms of the alkali metal catalysed gasification of carbon