
{"id":2077,"date":"2026-07-24T17:14:00","date_gmt":"2026-07-24T15:14:00","guid":{"rendered":"https:\/\/www.pcjv.de\/?page_id=2077"},"modified":"2026-07-24T17:14:09","modified_gmt":"2026-07-24T15:14:09","slug":"go-dws","status":"publish","type":"page","link":"https:\/\/www.pcjv.de\/?page_id=2077","title":{"rendered":"go-dws"},"content":{"rendered":"\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/CWBudde\/go-dws\" target=\"_blank\" rel=\"noopener\">go-dws<\/a> is a reimplementation of DWScript &mdash; the object-oriented Object Pascal scripting engine &mdash; in Go. It is the continuation of a Pascal thread I have followed for decades, by other means.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can try it right now: the <a href=\"https:\/\/cwbudde.github.io\/go-dws\/\" target=\"_blank\" rel=\"noopener\">DWScript Playground<\/a> runs go-dws compiled to WebAssembly, entirely in your browser.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why DWScript, again?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DWScript has accompanied me for a long time: I contributed to the <a href=\"https:\/\/github.com\/CWBudde\/DWScript\" target=\"_blank\" rel=\"noopener\">original Delphi project<\/a>, built the DWScriptExpert IDE plugin, wrote import tooling for Delphi units, and used its JavaScript backend to ship web apps in Pascal. The language is small, expressive and pleasant &mdash; and reimplementing a language you love is the deepest way to understand it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The ecosystem around it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A language is only as useful as its tooling, so go-dws grew a family: a language server (<a href=\"https:\/\/github.com\/CWBudde\/go-dws-lsp\" target=\"_blank\" rel=\"noopener\">go-dws-lsp<\/a>), a VS Code extension (<a href=\"https:\/\/github.com\/CWBudde\/go-dws-vscode\" target=\"_blank\" rel=\"noopener\">go-dws-vscode<\/a>), a <a href=\"https:\/\/github.com\/CWBudde\/tree-sitter-dws\" target=\"_blank\" rel=\"noopener\">tree-sitter grammar<\/a>, and <a href=\"https:\/\/github.com\/CWBudde\/go-dws-primer\" target=\"_blank\" rel=\"noopener\">go-dws-primer<\/a> &mdash; an interactive teaching environment in the tradition of my old PascalPrimer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why keep coming back to Pascal-shaped things while writing Go all day? The two languages share a temperament &mdash; explicit, readable, compiled, a little stubborn. More in <a href=\"\/?p=1978\">the blog post<\/a>.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>go-dws is a reimplementation of DWScript &mdash; the object-oriented Object Pascal scripting engine &mdash; in Go. It is the continuation of a Pascal thread I have followed for decades, by other means. You can try it right now: the DWScript Playground runs go-dws compiled to WebAssembly, entirely in your browser. Why DWScript, again? DWScript has [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":2075,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2077","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>go-dws - Christian&#039;s private site<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pcjv.de\/?page_id=2077\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2077\",\"url\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2077\",\"name\":\"go-dws - Christian&#039;s private site\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/#website\"},\"datePublished\":\"2026-07-24T15:14:00+00:00\",\"dateModified\":\"2026-07-24T15:14:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2077#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2077\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2077#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pcjv.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go Projects\",\"item\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2075\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"go-dws\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/#website\",\"url\":\"https:\\\/\\\/www.pcjv.de\\\/\",\"name\":\"Christian&#039;s private site\",\"description\":\"Private site of Christian-W. Budde\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pcjv.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"go-dws - Christian&#039;s private site","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pcjv.de\/?page_id=2077","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pcjv.de\/?page_id=2077","url":"https:\/\/www.pcjv.de\/?page_id=2077","name":"go-dws - Christian&#039;s private site","isPartOf":{"@id":"https:\/\/www.pcjv.de\/#website"},"datePublished":"2026-07-24T15:14:00+00:00","dateModified":"2026-07-24T15:14:09+00:00","breadcrumb":{"@id":"https:\/\/www.pcjv.de\/?page_id=2077#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pcjv.de\/?page_id=2077"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pcjv.de\/?page_id=2077#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pcjv.de\/"},{"@type":"ListItem","position":2,"name":"Go Projects","item":"https:\/\/www.pcjv.de\/?page_id=2075"},{"@type":"ListItem","position":3,"name":"go-dws"}]},{"@type":"WebSite","@id":"https:\/\/www.pcjv.de\/#website","url":"https:\/\/www.pcjv.de\/","name":"Christian&#039;s private site","description":"Private site of Christian-W. Budde","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pcjv.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2077"}],"version-history":[{"count":1,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2077\/revisions"}],"predecessor-version":[{"id":2085,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2077\/revisions\/2085"}],"up":[{"embeddable":true,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2075"}],"wp:attachment":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}