Diamondback Ruby

1 program Added 2026-03-13T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: DRuby
Provenance: commit 8f14c24948 · authored 2026-03-13T06:58:34+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

Diby (0.17)JRuby (0.17)mruby (0.17)IronRuby (0.15)ERB (0.14)

LLM-contributed programs

Parameterized Class with Instance Variable Annotations

Provenance: commit 8f14c24948 · authored 2026-03-13T06:58:34+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.rb · license: BSD-3-Clause · added: 2026-03-13T10:00:00Z
##% A<t>
class A

  ##% f<self> ; self <= [@x : t]: t -> Boolean
  def f(x)
    @x = x
    true
  end

  ##% get<self> ; self <= [@x : t] : () -> t 
  def get() @x end
  
  def g(x)
    @x = x
  end
end

a = A.new

a.f(3)
a.get + 4
a.g(7)
a.get - 4

Contribute — propose a file extension

Tell us where to find evidence about Diamondback Ruby (mapped to pl/diamondback_ruby). 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/Diamondback Ruby/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← diamag diana →