Duck Programming Language (DPL) — VS Code Extension
Official Visual Studio Code & Open VSX extension for Duck Programming Language (DPL) — a modern Web Description Language (WDL) compiler targeting clean HTML, CSS, and reactive JS.
Features
🎨 Syntax Highlighting: Full language support for .duck source files.
⚡ Language Server Protocol (LSP): Real-time diagnostics, hover info, type checking, and smart autocompletions for keywords, layout tags, state variables, and components.
🚀 Live Preview & Server Integration: Full integration with the Duck Dev Server for instant SSE live reloads.
Getting Started
Create a file named app.duck.
Add your DPL code:
page MyApp
title: "My First Duck App"
theme: light
state count = 0
layout Main
card
heading "Hello Duck!"
text "Counter Value: {count}"
button "Increment" variant: primary, click: count++