Engineering Architecture & Portfolio

A high-density technical reading flow. Pinned left pane contains an automated terminal tracker daemon observing scroll depth across sections.

>

Custom POSIX Shell Parser

This section details a lightweight Lexer and AST parser written in Lua for parsing POSIX-compliant shell scripts. The architecture avoids runtime allocations during tokenization, enabling real-time syntax coloring inside terminal buffers.

The execution pipeline operates in two distinct phases: string scanning into token stream vectors, followed by recursive descent operator precedence tree construction.

lexer.lua Lua
local function tokenize(src)
  local tokens = {}
  for pos, char in ipairs(src) do
    if char == ";" or char == "|" then
      table.insert(tokens, { type = "OPERATOR", value = char })
    end
  end
  return tokens
end
>

WireGuard Mesh Topology Builder

Automated configuration generator designed to provision full-mesh WireGuard overlay networks across distributed cloud nodes and homelab infrastructure.

Instead of manually calculating public/private keypairs and Endpoint IP pairings per host node, this utility computes matrix topologies and generates atomic configuration files.

>

Zero-Allocation Logger (Go)

A high-throughput structured JSON logger implemented in Go that leverages sync.Pool byte buffers to completely eliminate heap allocations during intensive I/O operations.

Benchmark comparisons demonstrate zero GC overhead when processing over 500,000 log events per second across multi-threaded worker routines.

>

Embedded Kernel Boot Strap

Bare-metal boot sector and initial C runtime setup for ARM Cortex-M microcontrollers. Handles vector table offset initialization, memory region copy routines, and low-level UART debugging initialization.

>

Traefik Cloudflare DDNS Daemon

Background controller daemon designed to sync Docker container network labels with Cloudflare DNS records to route traffic to local homelab subdomains dynamically.