Duby

1 program Added 2026-02-16T17:39:30Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Mirah
Provenance: commit 3923b84150 · authored 2026-02-16T18:40:20+01:00 · agent claude-code · model sonnet

Sources mentioning this language

8 sources · pl_id: pl/mirah
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q161053

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: functional · imperative · object-oriented · reflective
Typingduck, dynamic, strong
Designed byYukihiro Matsumoto · et al
First appeared1995
Influenced byAda · BASIC · C++ · CLU · Dylan · Eiffel · Lisp · Lua · Perl · Python · Smalltalk
LicenseRuby
Implemented inC
Homepagehttps://www.ruby-lang.org/en/

Extensions claimed by this language

12 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.drubylinguistprimary2 files
.rbpygmentsprimary128.2M files
.dubylinguistsecondary298 files
.dubypygmentssecondary298 files
.gemfilepygmentssecondary66.1K files
.gemspecpygmentssecondary2.0M files
.mirahlinguistsecondary5.8K files
.rakepygmentssecondary826.4K files
.rakefilepygmentssecondary254 files
.rbwpygmentssecondary2.7K files
.rbxpygmentssecondary30.5K files
.vagrantfilepygmentssecondary1.1K files

Related languages

Mirah (0.46)Mira (0.20)Mirth (0.19)Miranda (0.17)Diby (0.12)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit 3923b84150 · authored 2026-02-16T18:40:20+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.duby · license: Apache-2.0 · added: 2026-02-16T17:39:51Z
class Fibonacci
  def self.fib(n:int):int
    if n <= 1
      return n
    end
    return fib(n - 1) + fib(n - 2)
  end
  
  def self.main(args:String[]):void
    puts "Fibonacci sequence:"
    i = 0
    while i < 10
      puts "F(#{i}) = #{fib(i)}"
      i += 1
    end
  end
end

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

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