Back to browse
Compiler outputs HTML for code display

Compiler outputs HTML for code display

by denismarkelov·Apr 16, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

Compiler emits navigable HTML with type tooltips, baking documentation directly into the build artifact.

Strengths
  • Eliminates separate documentation build steps by emitting rich HTML directly from the compiler.
  • Type information embedded in tooltips provides IDE-like navigation in static generated files.
Weaknesses
  • Tied to Kedr, a custom language with limited adoption and ecosystem support.
  • Unclear if this HTML emission strategy can be adapted for existing mainstream languages.
Target Audience

Programming language designers, developers interested in alternative documentation workflows

Similar To

DocFX · Sphinx · TypeDoc

Post Description

I am making a programming language called Kedr. The code in Kedr is displayed as plain text on Codeberg, so I have made my compiler emit html files that provide navigation, syntax highlighting and tooltips with the type information.

https://codeberg.org/denismarkelov/kedr

Similar Projects