Sophia
1 program
Added 2026-02-10T12:25:45Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit d18e48d143 · authored 2026-02-10T13:26:41+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/sophiaExtensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.aes | pygments | primary | 24.8K files |
Related languages
LLM-contributed programs
Simple Token Contract
Provenance: commit d18e48d143 · authored 2026-02-10T13:26:41+01:00 · agent claude-code · model sonnet · WebSearch disabled
contract SimpleToken =
record state =
{ owner : address,
total_supply : int,
balances : map(address, int) }
stateful entrypoint init(initial_supply : int) : state =
{ owner = Call.caller,
total_supply = initial_supply,
balances = {[Call.caller] = initial_supply} }
entrypoint get_balance(account : address) : int =
Map.lookup_default(account, state.balances, 0)
stateful entrypoint transfer(to : address, value : int) =
require(value > 0, "Value must be positive")
let sender_balance = get_balance(Call.caller)
require(sender_balance >= value, "Insufficient balance")
put(state{ balances[Call.caller] = sender_balance - value,
balances[to] = get_balance(to) + value })
entrypoint total_supply() : int =
state.total_supply
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.)