{"id":20425328,"url":"https://github.com/catseye/smetana","last_synced_at":"2025-09-02T10:33:30.140Z","repository":{"id":3582906,"uuid":"4645980","full_name":"catseye/SMETANA","owner":"catseye","description":"MIRROR of https://codeberg.org/catseye/SMETANA : A pathological little self-modifying language","archived":false,"fork":false,"pushed_at":"2014-08-19T14:57:36.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T04:45:12.447Z","etag":null,"topics":["automaton","esolang","self-modifying-code"],"latest_commit_sha":null,"homepage":"https://catseye.tc/node/SMETANA","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catseye.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-13T03:42:14.000Z","updated_at":"2023-11-09T10:26:50.000Z","dependencies_parsed_at":"2022-08-29T05:50:21.916Z","dependency_job_id":null,"html_url":"https://github.com/catseye/SMETANA","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/catseye/SMETANA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FSMETANA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FSMETANA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FSMETANA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FSMETANA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catseye","download_url":"https://codeload.github.com/catseye/SMETANA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catseye%2FSMETANA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273271446,"owners_count":25075966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automaton","esolang","self-modifying-code"],"created_at":"2024-11-15T07:12:53.156Z","updated_at":"2025-09-02T10:33:30.096Z","avatar_url":"https://github.com/catseye.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"SMETANA\n=======\n\nChris Pressey, 1994(ish)\n\n* * * * *\n\nA long time ago (about six years ago), I was writing some amusing notes\nto myself and among them was an \"algorithm that'll never fly,\" which\nwent something like:\n\n1. Swap steps one and two.\n2. Flap wings.\n3. Go back to step one.\n\nIt then occurred to me that reducing this form to the absurd (removing\nthe \"Flap wings\" instruction) just *might* fail to yield a totally\nuntractable language.\n\nI originally wrote the interpreter as a Visual Basic application and\nnamed it SMETANA - both an acronym for \"Self-Modifying, Extremely Tiny\nAutomatoN Application\", and a reference to the composer of the same\nname.\n\nThe distribution available here is a much better implementation of the\nSMETANA interpreter in a much more device-independent and scalable form.\nI have retained the English syntax exactly. The program ends when it\ntries to peform step number *n*, where *n* is one plus the number of\nsteps given in the source.\n\nSyntax of the SMETANA Language:\n\n    Smetana ::= Step {\".\\n\" Step} \".\".\n    Step    ::= \"Step\" Integer \".\" (GoTo | Swap).\n    GoTo    ::= \"Go\" \"to\" \"step\" Integer.\n    Swap    ::= \"Swap\" \"step\" Integer \"with\" \"step\" Integer.\n    Integer ::= \"0\"..\"9\" {\"0\"..\"9\"}.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatseye%2Fsmetana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatseye%2Fsmetana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatseye%2Fsmetana/lists"}