github-linguist/linguist

Add Support for PLC Structured Text Language (IEC 61131-3)

Open

#7035 aperta il 6 set 2024

Vedi su GitHub
 (6 commenti) (8 reazioni) (0 assegnatari)Ruby (5166 fork)batch import
Add LanguageGood First Issue

Metriche repository

Star
 (13.466 star)
Metriche merge PR
 (Merge medio 102g 5h) (19 PR mergiate in 30 g)

Descrizione

Description:

I would like to request the addition of PLC Structured Text (ST) language support in GitHub. This language, which is part of the IEC 61131-3 standard for programming industrial automation systems, is widely used in PLC programming for developing control logic in various industries.

Why is this important?

  1. Industry Usage: Structured Text is a key language in industrial automation, control systems, and machine programming, where it is used for complex logic and algorithms. Despite its extensive use in industrial applications, GitHub currently lacks native support for Structured Text syntax highlighting, making it harder for developers to share and collaborate on code.

  2. Consistency with IEC 61131-3: Structured Text is a standardized language under the IEC 61131-3 framework, which ensures that it follows a clear and structured syntax. Adding support for this language would align with GitHub’s goal of supporting a wide variety of languages, especially those that adhere to international standards.

  3. Improved Developer Experience: Implementing syntax highlighting and language recognition for Structured Text would significantly improve the readability of code and collaboration on projects that involve PLC programming, especially for those working in automation and manufacturing sectors.

Suggested Features:

  • Syntax highlighting for Structured Text files, with typical extensions like .st, .scl, .exp.
  • Language recognition based on keywords and syntax defined in the IEC 61131-3 standard.

Thank you for considering this request. The inclusion of Structured Text would be beneficial to a wide range of developers working in industrial and automation-related fields.

Guida contributor