Babelsberg

1 program Added 2026-03-10T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Babelsberg/R, Babelsberg/JS, Babelsberg/S
Provenance: commit adcbb92309 · authored 2026-03-10T19:32:38+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Babel (0.20)Babel-17 (0.18)BLISS (0.11)Babbage (0.10)BabyCobol (0.09)

LLM-contributed programs

Temperature Conversion with Bidirectional Constraints

Provenance: commit adcbb92309 · authored 2026-03-10T19:32:38+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.rb · license: MIT · added: 2026-03-10T12:00:00Z
require 'babelsberg/all'

# Temperature conversion with bidirectional constraints
class Temperature
  include Babelsberg
  attr_accessor :celsius, :fahrenheit

  def initialize(c)
    @celsius = c.to_f
    @fahrenheit = c * 9.0 / 5.0 + 32.0
    always { fahrenheit == celsius * 9.0 / 5.0 + 32.0 }
  end
end

temp = Temperature.new(0)
puts "0C = #{temp.fahrenheit}F"   # => 32.0F

temp.celsius = 100
puts "100C = #{temp.fahrenheit}F" # => 212.0F

temp.fahrenheit = 98.6
puts "98.6F = #{temp.celsius}C"   # => 37.0C

Contribute — propose a file extension

Tell us where to find evidence about Babelsberg (mapped to pl/babelsberg). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Babelsberg/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Babel-17 Baby →