<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Phosphor DSL on Phosphor BBS</title>
		<link>https://phosphorbbs.net/tags/phosphor-dsl/</link>
		<description>Recent content in Phosphor DSL on Phosphor BBS</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Fri, 31 Jul 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://phosphorbbs.net/tags/phosphor-dsl/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Federated BBS: How Phosphor Makes Multi-Node Sync Declarative</title>
				<link>https://phosphorbbs.net/blog/federated-bbs-how-phosphor-makes-multi-node-sync-declarative/</link>
				<pubDate>Fri, 31 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/federated-bbs-how-phosphor-makes-multi-node-sync-declarative/</guid>
				<description>&lt;p&gt;Every BBS in the 80s and 90s was an island. Your callers dialed your node. Your boards lived on your machine. If you wanted to share content with another sysop, you mailed a floppy.&lt;/p&gt;&#xA;&lt;p&gt;Phosphor changes that. Federation is now declarative — you write 10 lines of Phosphor instead of 200 lines of custom Java protocol code.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-problem&#34;&gt;The Problem&lt;/h3&gt;&#xA;&lt;p&gt;Today, adding a new syncable resource to a BBS means writing custom Java serialization, a custom message type, a custom deserializer on the receiving end, and custom conflict resolution. This is why most BBS systems only sync boards and chat messages — everything else is too much work.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Phosphor Progress — From Parser to Federation</title>
				<link>https://phosphorbbs.net/blog/phosphor-progress-from-parser-to-federation/</link>
				<pubDate>Fri, 31 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/phosphor-progress-from-parser-to-federation/</guid>
				<description>&lt;p&gt;Twenty-nine commits. Six phases. One language. Here&amp;rsquo;s where Phosphor stands after the most intense development sprint yet.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-journey-so-far&#34;&gt;The Journey So Far&lt;/h3&gt;&#xA;&lt;p&gt;When I wrote about &lt;a href=&#34;https://phosphorbbs.net/blog/building-the-phosphor-parser/&#34;&gt;building the Phosphor parser&lt;/a&gt;, the language was a lexer and a dream. Phase 1 was five tasks — tokenizer, parser, declarative processor, hot-reload, BBS wiring. It felt like a lot at the time.&lt;/p&gt;&#xA;&lt;p&gt;It wasn&amp;rsquo;t.&lt;/p&gt;&#xA;&lt;h3 id=&#34;phases-1-2-foundation&#34;&gt;Phases 1-2: Foundation&lt;/h3&gt;&#xA;&lt;p&gt;The declarative layer came first. Define your BBS structure — menus, boards, channels, file areas, themes — in a readable syntax. Save the file. The BBS syncs to the database automatically. No restart, no recompile.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Building a Lexer and Parser for a BBS Programming Language</title>
				<link>https://phosphorbbs.net/blog/building-a-lexer-and-parser-for-a-bbs-language/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/building-a-lexer-and-parser-for-a-bbs-language/</guid>
				<description>&lt;p&gt;How do you build a programming language for a BBS? You start with the same tools every language uses: a lexer to break source code into tokens, and a parser to turn tokens into a tree. This is the story of how Phosphor&amp;rsquo;s lexer and parser work, with real code from the implementation.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-design&#34;&gt;The Design&lt;/h3&gt;&#xA;&lt;p&gt;Phosphor is a domain-specific language for BBS configuration and behavior. It has two layers:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Declarative&lt;/strong&gt; — describe the BBS structure: menus, boards, channels, file areas, themes.&#xA;&lt;strong&gt;Imperative&lt;/strong&gt; — define behavior with event handlers, expressions, and control flow.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Declarative UI: Building Terminal Screens with Widgets in Phosphor</title>
				<link>https://phosphorbbs.net/blog/declarative-ui-building-terminal-screens-with-widgets/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/declarative-ui-building-terminal-screens-with-widgets/</guid>
				<description>&lt;p&gt;Most BBS systems render screens the hard way: imperative code that clears the terminal, prints line by line, and redraws on every update. It works, but it&amp;rsquo;s verbose and fragile. One missed redraw and the screen is stale.&lt;/p&gt;&#xA;&lt;p&gt;Phosphor takes a different approach. You describe the screen as a tree of widgets. The runtime handles rendering, re-rendering on data change, and input routing. You only write callbacks for interactive behavior.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Dev Log</title>
				<link>https://phosphorbbs.net/blog/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/</guid>
				<description>&lt;p&gt;Building Phosphor — a modern, real-time, federated BBS with a custom scripting language called Phosphor. This is the dev log: what&amp;rsquo;s being built, why, and what&amp;rsquo;s next.&lt;/p&gt;&#xA;&lt;p&gt;Posts are added weekly as features come online. No marketing — just engineering.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-big-idea&#34;&gt;The Big Idea&lt;/h3&gt;&#xA;&lt;p&gt;The internet was supposed to be decentralized. It isn&amp;rsquo;t. Phosphor brings back the BBS — a place you visit on purpose, not a feed that comes to you — with modern engineering and a custom DSL for live customization.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Phosphor Language</title>
				<link>https://phosphorbbs.net/phosphor/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/phosphor/</guid>
				<description>&lt;h2 id=&#34;a-domain-specific-language-for-bbs-systems&#34;&gt;A domain-specific language for BBS systems&lt;/h2&gt;&#xA;&lt;p&gt;Every classic BBS sysop knew the feeling. You&amp;rsquo;d tweak a menu, add a message board, wire up a door game, and customize the whole system from config files and scripts — no compiler, no restart, no asking permission. Then BBS software moved to Java, and that workflow died. Want to add a menu item? Write a class, compile with Maven, restart the server, rebuild the plugin JAR. Want to change a chat channel topic? Edit the database or write a migration. The edit-compile-restart-redeploy cycle is slow, error-prone, and inaccessible to anyone who doesn&amp;rsquo;t write Java.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Building the Phosphor Parser — Week 1 Dev Log</title>
				<link>https://phosphorbbs.net/blog/building-the-phosphor-parser/</link>
				<pubDate>Wed, 29 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/building-the-phosphor-parser/</guid>
				<description>&lt;p&gt;The first phase of Phosphor implementation is underway. Here&amp;rsquo;s what&amp;rsquo;s happening and why it matters.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-problem&#34;&gt;The Problem&lt;/h3&gt;&#xA;&lt;p&gt;Every BBS system has the same issue: configuration is either too rigid (hardcoded in the application) or too generic (a config file that can&amp;rsquo;t express behavior). You want to add a new menu item? Edit Java, recompile, restart. You want a custom login handler? Write a plugin, package it, deploy it. You want to send mail to new users automatically? More Java, more compilation, more restarts.&lt;/p&gt;</description>
			</item>
			<item>
				<title>ANSI Sprites: Animation in a Terminal UI Toolkit</title>
				<link>https://phosphorbbs.net/blog/ansi-sprites-animation-in-a-terminal-ui-toolkit/</link>
				<pubDate>Tue, 28 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/ansi-sprites-animation-in-a-terminal-ui-toolkit/</guid>
				<description>&lt;p&gt;A terminal is a grid of characters. Each cell holds one glyph, one foreground color, one background color. That&amp;rsquo;s it. There are no pixels, no sprites, no animation frames. At least, that&amp;rsquo;s what you&amp;rsquo;d think.&lt;/p&gt;&#xA;&lt;p&gt;jterm&amp;rsquo;s sprite library takes that grid and turns it into a animation engine. ANSI art frames become sprite frames. A sprite sheet — a single ANSI file with a grid of cells — becomes a flipbook. Virtual threads drive the animation loop. And the terminal becomes a screen.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Message Boards and Mail: Persistent Communication in Phosphor BBS</title>
				<link>https://phosphorbbs.net/blog/message-boards-and-mail-persistent-communication-in-phosphor-bbs/</link>
				<pubDate>Fri, 19 Jun 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/message-boards-and-mail-persistent-communication-in-phosphor-bbs/</guid>
				<description>&lt;p&gt;A BBS without message boards is just a chat room. Boards are where the community lives — threaded discussions that persist over days, weeks, months. You log in, catch up on what you missed, reply to threads, and start new ones. It&amp;rsquo;s asynchronous communication at its best.&lt;/p&gt;&#xA;&lt;p&gt;Mail is the private counterpart — user-to-user messages that nobody else can read. Together, boards and mail form the communication backbone of the BBS.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
