Snowflake Scripting
1 program
Added 2026-02-26T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Snowflake SQL Scripting, SnowScript
Provenance: commit 7c253949a8 · authored 2026-02-26T17:11:57+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)
Related languages
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. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Fibonacci
Provenance: commit 7c253949a8 · authored 2026-02-26T17:11:57+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
-- Snowflake Scripting: Fibonacci sequence
-- Returns the nth Fibonacci number using iteration
CREATE OR REPLACE PROCEDURE fibonacci(n INTEGER)
RETURNS INTEGER
LANGUAGE SQL
AS
DECLARE
a INTEGER DEFAULT 0;
b INTEGER DEFAULT 1;
temp INTEGER;
i INTEGER DEFAULT 2;
BEGIN
IF (n <= 0) THEN
RETURN 0;
ELSEIF (n = 1) THEN
RETURN 1;
END IF;
WHILE (i <= n) DO
temp := a + b;
a := b;
b := temp;
i := i + 1;
END WHILE;
RETURN b;
END;