github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
11.95k stars 4.13k forks source link

Add support for IEC 61131-3 Structured Text #6472

Open bdorninger opened 11 months ago

bdorninger commented 11 months ago

Structured Text is a widely used language in the domain of process automation. It is standardized in IEC 61131-3. However, there are quite a lot vendor specific dialects.

Github classifies the *st files as Smalltalk. There is currently no support at all for this language, so that detection cannot be overriden

Language name

IEC-61131-3 Structured Text

URL of example repository

https://github.com/WengerAG/structured-text-utilities

URL of syntax highlighting grammar

none known

Most popular extensions

st exp (CodeSYS export)

Detected language

Smalltalk

Danielv123 commented 9 months ago

Having this implemented would be great.

christof-ochs commented 5 months ago

Here a a couple of other repos where Structured Text (as outlined by the IEC61131-3) is used. It's also classified (wrongly) as "Smalltalk"

https://github.com/simatic-ax/lacyccom https://github.com/simatic-ax/statemachine https://github.com/simatic-ax/statemachine