You don't heat limestone alone to make glass. Instead, limestone (calcium carbonate) is heated with silica (sand) and soda ash (sodium carbonate) and mixed to form glass.
The typical batch includes:
All three are essential; limestone alone won't vitrify.