<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Compilers on Graeme Newlands</title><link>https://graemenewlands.com/tags/compilers/</link><description>Recent content in Compilers on Graeme Newlands</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 Sep 2026 00:00:00 -0700</lastBuildDate><atom:link href="https://graemenewlands.com/tags/compilers/index.xml" rel="self" type="application/rss+xml"/><item><title>Building OPS5 in Go: Implementing the Rete Algorithm from Scratch</title><link>https://graemenewlands.com/posts/building-ops5-in-go/</link><pubDate>Thu, 24 Sep 2026 00:00:00 -0700</pubDate><guid>https://graemenewlands.com/posts/building-ops5-in-go/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Generated by AI, Gemini 3.8 through Antigravity&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;Work in Progress&lt;/strong&gt;: &lt;em&gt;This post is an evolving engineering log and retrospective on designing and implementing a pure Go OPS5 production rule engine from the ground up.&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="the-genesis-why-ops5-and-why-go"&gt;The Genesis: Why OPS5 and Why Go?&lt;/h2&gt;&#10;&lt;p&gt;In the late 1970s and early 1980s, Charles Forgy at Carnegie Mellon University developed &lt;strong&gt;OPS5&lt;/strong&gt; (&lt;em&gt;Official Production System 5&lt;/em&gt;) alongside the &lt;strong&gt;Rete algorithm&lt;/strong&gt;. It became the intellectual cornerstone of expert systems, forward-chaining rule engines, and declarative knowledge representation.&lt;/p&gt;</description></item></channel></rss>