Skip to content

Add Siemens AWL (STL) UDL - #433

Merged
pryrt merged 1 commit into
notepad-plus-plus:masterfrom
ludborg:add-siemens-awl
Dec 5, 2026
Merged

pryrt merged 1 commit into
notepad-plus-plus:masterfrom
ludborg:add-siemens-awl

Conversation

@ludborg

@ludborg ludborg commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Adds a UDL for Siemens AWL / STL (statement list), the instruction-list language of STEP 7 classic (S7-300/400) and TIA Portal, in its German mnemonics (U, O, SPBN, AUF, ...). The collection has two Siemens SCL UDLs but nothing for AWL/STL (the existing "STL" files are for 3D stereolithography).

  • UDLs/Siemens-AWL-STL_byLudborg.xml: light theme, extension .awl
  • UDL-samples/Siemens-AWL-STL_byLudborg.awl: sample block
  • udl-list.json: new entry

What it highlights: instructions, jumps/calls/block end (separate color), operand areas (E, A, M, DBW, DIX, PEW, AR1...), #locals, "symbols", 'strings', typed constants (W#16#00FF, S5T#2S, L#100, P#DBX 0.0, P##param), TITLE lines. Folding of blocks, VAR...END_VAR, STRUCT and each NETWORK.

Language reference: Siemens manual "STEP 7 - Statement List (STL) for S7-300 and S7-400 Programming" (German mnemonics are the default in German/Italian STEP 7 installations).

Tested in Notepad++ 8.7 on the sample and on real STEP 7 exports. validator_xml.py and validator_json.py pass locally and in CI on my fork. On the fork, the last CI step ("Update repo with automated changes") fails only because the bot can't push the rebuilt udl-list.md to the fork; the validation steps are green.

AI disclosure: the UDL, sample and JSON entry were written with Claude Code (model Claude Opus 5.5), from the prompt "find or create a Notepad++ syntax highlighting language for AWL and SCL files" and then "submit the AWL one to the UDL collection". I reviewed and tested the result.

🤖 Generated with Claude Code

Syntax highlighting for Siemens STEP 7 / TIA Portal statement list
source files (.awl), German mnemonics, light theme.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pryrt
pryrt merged commit 3a06f22 into notepad-plus-plus:master Dec 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants