Polyglot Language Ecosystem
ModelScript is not a single-language compiler—it is a polyglot systems engineering framework. All 65+ engineering, scientific, and clinical languages share the same WebAssembly GLR parser compiler (@modelscript/dsl), the same SymbolIndex and WorkspaceIndex architecture, and the same Triple Graph Grammar (TGG) synchronization engine.
Language Maturity Tiers
Every language package under languages/<slug>/ declares an explicit maturity tier in package.json#modelscript.tier, continuously audited in CI by scripts/lint-package-manifests.ts:
| Tier | Badge | Criteria & Guarantees |
|---|---|---|
| Stable | Stable | Production-ready with complete Ahead-of-Time WASM GLR parser, static domain linter, DAEBuilder / solver lowering, and verification against official industry benchmarks, standard library snapshots, or homologation suites (e.g., OpenModelica & MSL 4.1.0, OMG KerML standard library, EN 14363 Manchester Benchmark, IEEE 2800-2022, NIST STEP AP242). |
| Beta | Beta | Domain-complete with native WASM GLR parser, static domain linter, DAEBuilder / domain solver lowering, cross-language projections, and |
| Preview | Preview | Specialized domain and dialect support with native WASM parser, static diagnostics, core AST/DAE lowering, and baseline verification test suites (including CFD, FEA, PSS/E, OpenDSS, Aspen Plus, gPROMS, Cantera, PHREEQC, SMILES, and the Systems & Synthetic Biology suite). |
Explore by Domain & Maturity Tier
Search by name, file extension, maturity tier, or engineering domain, or filter by industry. See Industries for domain-specific workflows and Radiology, Oncology & Surgical CAS for clinical and biomedical pipelines.
.mo.sysml.reqif.oscal.json.ssp.owl.step.qif.scad.su2.inp.usd / .usda / .usdz.csv.c.f90.xml.roc.xtce.ez5.arxml.slx.gtm.xodr.xosc.calc.spck.pscx.raw.dss.genkey.lps.data.inp.sima.cir.va.ibs.sNp.urdf.st.aml.adm.idf.inp.inp.bkp.gproms.yaml.pqi.smi.sbml.ant.bngl.sbol.sedml.ctl.pdb.gb.cellml.osim.feb.rtplan.topas.nii.3mf.igtlLanguage Capability Matrix
Filter by platform group, maturity tier (Stable, Beta, Preview), industry, or capability across all engineering languages to inspect simulation engines, linear-memory DAE lowering, and polyglot projections:
| Language & Extensions | Package | CLI Command | Parse | Lint & Diagnostics | DAE Arena | Simulate | Projections & Interop |
|---|---|---|---|---|---|---|---|
| Modelica.mostableAcausal multi-domain physics | @modelscript/modelica | msx simulate | 307 rules | DAECFMU | |||
| SysML v2 / KerML.sysmlstableSystems architecture & requirements | @modelscript/sysml2 | msx sysml | 48 rules | — | ModelicaReqIF | ||
| ReqIF.reqifstableRequirements interchange & contract entailment | @modelscript/reqif | msx reqif | 10 rules | — | — | SysML v2Modelica | |
| NIST OSCAL.oscal.jsonbetaCyber-physical security controls & SP 800-53 assessment | @modelscript/oscal | msx oscal | 8 rules | — | — | SysML v2ReqIF | |
| SSP.sspstableFMU system structure & parameterization | @modelscript/ssp | msx fmu | 14 rules | — | FMUModelica | ||
| OWL2.owlstableOntologies & description-logic reasoning | @modelscript/owl2 | — | 24 rules | — | — | SPARQLSysML v2 | |
| STEP (ISO 10303).stepstableB-Rep CAD assemblies & AP242 PMI | @modelscript/step | msx csg | 8 rules | — | — | ModelicaCSG | |
| QIF (ISO 23952).qifbetaASME Y14.5 / ISO 1101 GD&T metrology & SPC capability | @modelscript/qif | msx qif | 9 rules | — | SysML v2ModelicaSTEP | ||
| OpenSCAD.scadstableParametric constructive solid geometry | @modelscript/scad | msx csg | 8 rules | — | — | CSGSTEP | |
| CFD (SU2 / OpenFOAM).su2previewComputational fluid dynamics meshes | @modelscript/cfd | msx cfd | 8 rules | Modelica | |||
| FEA (CalculiX / Abaqus / NASTRAN).inppreviewFinite-element structural analysis | @modelscript/fea | msx fea | 8 rules | Modelica | |||
| OpenUSD.usd / .usda / .usdzpreviewUniversal Scene Description 3D stages & UsdPhysics digital twins | @modelscript/usd | — | — | — | — | ||
| CSV.csvstableTime-series & sensor logs | @modelscript/csv | — | — | — | ModelicaDAE | ||
| C.cbetaNumerical & embedded C integration | @modelscript/c | msx c | 10 rules | — | Modelica | ||
| Fortran.f90previewLegacy scientific subroutines | @modelscript/fortran | — | 15 rules | — | — | ||
| JSBSim.xmlpreview6-DOF flight dynamics | @modelscript/jsbsim | msx jsbsim | 10 rules | Modelica | |||
| NASA ROCETS.rocbetaLiquid rocket engine transients | @modelscript/rocets | msx rocets | 14 rules | ModelicaSSP | |||
| CCSDS.xtcebetaAstrodynamics & spacecraft telemetry | @modelscript/ccsds | msx ccsds | 8 rules | ModelicaSysML v2 | |||
| EASY5.ez5betaDynamic simulation & linear control | @modelscript/easy5 | msx easy5 | 12 rules | — | ModelicaSSP | ||
| AUTOSAR.arxmlbetaClassic & Adaptive software architecture | @modelscript/autosar | msx autosar | 15 rules | ModelicaSysML v2 | |||
| MATLAB Simulink.slxbetaBlock diagrams & control systems | @modelscript/simulink | msx simulink | 10 rules | — | ModelicaDAE | ||
| GT-SUITE.gtmbetaEngine, powertrain & thermal flow | @modelscript/gtsuite | msx gtsuite | 15 rules | ModelicaSysML v2SSP | |||
| ASAM OpenDRIVE.xodrbetaRoad network geometry | @modelscript/opendrive | msx opendrive | 8 rules | — | GENSYS | ||
| ASAM OpenSCENARIO.xoscpreviewDriving scenarios & RSS safety margins | @modelscript/openscenario | msx openscenario | 10 rules | Modelica | |||
| GENSYS.calcstableRailway vehicle dynamics & track | @modelscript/gensys | msx gensys | 6 rules | ModelicaFMU | |||
| SIMPACK.spckbetaSpatial multibody dynamics | @modelscript/simpack | msx simpack | 6 rules | ModelicaFMU | |||
| PSCAD / EMTDC.pscxstableElectromagnetic transients (EMT) | @modelscript/pscad | msx pscad | 17 rules | — | ModelicaSSP | ||
| PSS/E.rawpreviewTransmission power flow | @modelscript/psse | msx psse | 13 rules | Modelica | |||
| OpenDSS.dsspreviewUnbalanced distribution & DER hosting | @modelscript/opendss | msx opendss | 10 rules | Modelica | |||
| OLGA.genkeystableTransient multiphase flow assurance | @modelscript/olga | msx olga | 13 rules | Modelica | |||
| PipelineStudio.lpsstableGas & liquid pipeline hydraulics | @modelscript/lps | msx lps | 12 rules | ModelicaSysML v2 | |||
| ECLIPSE.datapreviewReservoir engineering | @modelscript/eclipse | msx eclipse | 10 rules | Modelica | |||
| RELAP5-3D.inppreviewReactor thermal-hydraulics & kinetics | @modelscript/relap5 | msx relap5 | 10 rules | Modelica | |||
| SIMA / SIMO / RIFLEX.simapreviewMarine operations & riser dynamics | @modelscript/sima | msx sima | 15 rules | ModelicaSSPSysML v2 | |||
| SPICE.cirstableAnalog circuit simulation | @modelscript/spice | msx spice | 10 rules | ModelicaECAD | |||
| Verilog-A / AMS.vabetaAnalog compact device models | @modelscript/verilog-a | msx verilog-a | 10 rules | — | ModelicaSPICE | ||
| IBIS.ibspreviewI/O buffer behavioral models | @modelscript/ibis | msx ibis | 9 rules | — | Modelica | ||
| Touchstone.sNppreviewRF & signal-integrity S-parameters | @modelscript/touchstone | msx touchstone | 10 rules | — | Modelica | ||
| URDF / Xacro.urdfbetaRobot kinematics & dynamics | @modelscript/urdf | msx urdf | 8 rules | ModelicaSIMPACKMSC Adams | |||
| PLCopen / IEC 61131-3.stbetaPLC control software | @modelscript/plcopen | msx plcopen | 10 rules | ModelicaSysML v2 | |||
| AutomationML (IEC 62714).amlbetaCAEX mechatronic plant hierarchy & virtual commissioning | @modelscript/automationml | msx aml | 7 rules | — | SSPSysML v2ModelicaURDF | ||
| MSC Adams.admbetaMechanical system dynamics | @modelscript/adams | msx adams | 9 rules | ModelicaSIMPACK | |||
| EnergyPlus.idfbetaBuilding energy & HVAC | @modelscript/energyplus | msx energyplus | 8 rules | Modelica | |||
| EPANET.inpbetaPressurized water distribution | @modelscript/epanet | msx epanet | 8 rules | Modelica | |||
| EPA SWMM.inppreviewStormwater & urban drainage | @modelscript/swmm | msx swmm | 13 rules | Modelica | |||
| Aspen Plus / HYSYS.bkppreviewChemical process flowsheets | @modelscript/aspen | msx aspen | 15 rules | Modelica | |||
| gPROMS / PML.gpromspreviewEquation-oriented dynamic process & distributed PDEs | @modelscript/gproms | msx lint | 10 rules | ModelicaDAE | |||
| Cantera.yamlpreviewGas-phase chemical kinetics & NASA-7 thermochemistry | @modelscript/cantera | msx lint | 10 rules | ModelicaDAE | |||
| PHREEQC.pqipreviewAqueous geochemistry, speciation & mineral saturation | @modelscript/phreeqc | msx lint | 10 rules | ModelicaDAE | |||
| SMILES / SDF.smipreviewMolecular graph parsing & Joback property estimation | @modelscript/smiles | msx lint | 10 rules | — | SBMLOWL2 | ||
| SBML.sbmlpreviewBiochemical reaction networks | @modelscript/sbml | msx sbml | 10 rules | Modelica | |||
| Antimony.antpreviewModular human-readable systems biology models | @modelscript/antimony | msx lint | 10 rules | SBMLModelica | |||
| BioNetGen (BNGL).bnglpreviewRule-based multiprotein signaling & reaction expansion | @modelscript/bngl | msx lint | 10 rules | SBMLModelica | |||
| SBOL3.sbolpreviewSynthetic biology genetic circuits & Hill kinetics | @modelscript/sbol | msx lint | 10 rules | — | SBMLOWL2 | ||
| SED-ML.sedmlpreviewCOMBINE reproducible simulation experiment protocols | @modelscript/sedml | msx lint | 10 rules | SBMLModelica | |||
| NMTRAN (NONMEM).ctlpreviewClinical PK/PD compartmental dosing & exposure | @modelscript/nmtran | msx lint | 10 rules | ModelicaDAE | |||
| PDB / mmCIF.pdbpreview3D protein structures, Ramachandran & GNM dynamics | @modelscript/pdb | msx lint | 10 rules | — | SBMLOWL2 | ||
| GenBank / FASTA.gbpreviewAnnotated nucleotide sequences, ORFs & restriction maps | @modelscript/genbank | msx lint | 10 rules | — | SBMLOWL2 | ||
| CellML.cellmlbetaCellular electrophysiology & Physiome ODE models | @modelscript/cellml | msx cellml | 10 rules | ModelicaDAE | |||
| OpenSim.osimbetaMusculoskeletal multibody & Hill-type muscle dynamics | @modelscript/opensim | msx opensim | 10 rules | ModelicaDAE | |||
| FEBio / SOFA.febbetaHyperelastic soft-tissue biomechanics & surgical scenes | @modelscript/febio | msx febio | 10 rules | ModelicaSTEPOpenSCAD | |||
| DICOM-RT.rtplanbetaClinical radiotherapy plans, DVH metrics & BED/EQD2 | @modelscript/dicom-rt | msx dicom-rt | 10 rules | SysML v2NIfTIDICOM-RT | |||
| TOPAS / GATE.topasbetaProton & hadrontherapy nozzles and Bortfeld Bragg peaks | @modelscript/topas | msx topas | 10 rules | ModelicaNIfTIDICOM-RT | |||
| NIfTI / NRRD.niibetaVolumetric medical imaging, RAS affines & iso-surfacing | @modelscript/nifti | msx nifti | 10 rules | — | NIfTIDICOM-RT | ||
| 3MF Medical.3mfbetaPatient-specific 3D-printed cutting guides & implants | @modelscript/three-mf | msx three-mf | 10 rules | — | STEPOpenSCAD | ||
| OpenIGTLink / PLUS.igtlbetaImage-guided surgical tracking, pivot calibration & TRE | @modelscript/igtl | msx igtl | 10 rules | — | ModelicaURDFDICOM-RT |
Unified Polyglot Pipeline
Every language plugin implements the LanguageDefinition interface (packages/dsl/src/language.ts):
- Grammar DSL (
defineGrammar): Compiled Ahead-of-Time into a compact.wasmbinary parser table. - Symbol Indexer (
SymbolIndexer): Walks the linear-memory CST and populatesSymbolEntrydeclarations into the globalWorkspaceIndex. - Salsa Queries (
queries): Memoized semantic analyses (type resolution, unit inference, structural validation). - Compiler Lints (
lints): Real-time diagnostics surfaced identically in the CLI (msx lint), LSP server, and Web IDE. - TGG Rules (
tggRules): Declarative bidirectional synchronization rules linking AST nodes across languages (e.g.,SysMLv2 PartUsageModelica ComponentSTEP ProductModelScript Struct).

