Cairo
1 program
Added 2025-11-04T14:54:55Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 47ebb39b0f · authored 2025-11-04T15:54:55+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
3 sources · pl_id:
pl/cairoExtensions 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 |
|---|---|---|---|
.cairo | linguist | primary | 63.6K files |
Related languages
LLM-contributed programs
Simple Storage Starknet Contract
Provenance: commit 47ebb39b0f · authored 2025-11-04T15:54:55+01:00 · model google/gemini-2.5-pro · Temp 0.4
#[starknet::contract]
mod SimpleStorage {
use starknet::ContractAddress;
#[storage]
struct Storage {
stored_data: u256,
}
#[abi(embed_v0)]
impl SimpleStorageImpl of super::ISimpleStorage<ContractState> {
fn set(ref self: ContractState, value: u256) {
self.stored_data.write(value);
}
fn get(self: @ContractState) -> u256 {
self.stored_data.read()
}
}
#[generate_trait]
impl ISimpleStorage<T> of ISimpleStorageTrait<T> {
fn set(ref self: T, value: u256);
fn get(self: @T) -> u256;
}
}
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.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.cairo/1 | .cairo | default | [] |