Smali

1 program Added 2026-02-12T12:19:38Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: smali
Provenance: commit 2c7a207ba2 · authored 2026-02-12T13:20:30+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/smali
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglot

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.smalilinguistprimary19.5M files
.smalipygmentsprimary19.5M files

Related languages

Small (0.33)Small Basic (0.24)Smarty (0.23)SMALGOL (0.22)Smalltalk-71 (0.22)

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
LeadingMarginSpan$LeadingMarginSpan2.smali · 610 B · ext .smali · seen 367× in SWH
via unique-primary
swh:1:cnt:e565bf1cf978fe9d3837241f258c35b132799ab2;origin=https://github.com/MiCode/legacy-patchrom;anchor=swh:1:rev:432783459d4aecfd5639d90e2606a6525631b0bc;path=/defy/framework.jar.out/smali/android/text/style/LeadingMarginSpan$LeadingMarginSpan2.smali
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
.class public interface abstract Landroid/text/style/LeadingMarginSpan$LeadingMarginSpan2;
.super Ljava/lang/Object;
.source "LeadingMarginSpan.java"

# interfaces
.implements Landroid/text/style/LeadingMarginSpan;
.implements Landroid/text/style/WrapTogetherSpan;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroid/text/style/LeadingMarginSpan;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x609
    name = "LeadingMarginSpan2"
.end annotation


# virtual methods
.method public abstract getLeadingMarginLineCount()I
.end method

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Hello World

Provenance: commit 2c7a207ba2 · authored 2026-02-12T13:20:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.smali · license: BSD-3-Clause · added: 2026-02-12T12:19:38Z
.class public LHelloWorld;
.super Ljava/lang/Object;

.method public static main([Ljava/lang/String;)V
    .registers 2

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
    const-string v1, "Hello, World!"
    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
    return-void
.end method

Contribute — propose a file extension

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