Based on the needs of production and life, the modeling and simulation of the continuous system have a very wide range of requirements and applications. Various continuous modeling languages play an important role in the modeling and simulation of such systems. However, the same models built in different languages have to be rebuilt each time, which causes the problem of poor reusability of models between different languages. This paper proposes a conversion framework of the continuous system modeling language based on ANTLR4. And the Modelica to X language conversion experiment using this framework is implemented, whose results achieve high accuracy in syntax check. This framework indicates the method to complete the conversion between different modeling languages so that the same model can be reloaded between different modeling languages, which prevents modeling and simulation personnel from repeatedly modeling the same model, and this makes it easier for the new modeling and simulation language to build a model library.