Shelby Landen

Harnessing Web technology to enhance your team's efficiency

PDML Language Support tool

The Practical Data & Markup Language (PDML) is a lean, but much more readable alternative to the XML family of languages.

If you tried to imagine an optimal alternative to XML (HTML in my case), you'd probably arrive at syntax that looks like PDML; it just makes sense. PDML was created by Christian Neumanns and is still being specified.

If you like the language and care about its future, stop by the PDML Github Discussion and say hello.

  • Rust
  • JavaSript
  • VS Code extension
  • Language Server Protocol (LSP)
  • WebAssembly (WASM)

Why

I have plans to use this markup language more in the future and the only code editor that had all the creature comfort features for this was not the one I use, so I made an extension.

How

It provides syntax highlighting, auto-indentation, code completion with documentation, and basic linting. PDML also has a few add-ons to the language this extension supports as well, and I plan to add opt-in add-ons of my own to experiment with.

The parser is built in Rust and compiles to a WebAssembly module the PDML language server calls. I did this because I intend to use the parser in other projects not related to VS Code, which uses HypescriptTypescript as its extension language.