{"id":24583251,"url":"https://github.com/foodelevator/huginn","last_synced_at":"2025-03-17T16:43:11.801Z","repository":{"id":40043069,"uuid":"503480725","full_name":"foodelevator/huginn","owner":"foodelevator","description":"A language and compiler","archived":false,"fork":false,"pushed_at":"2022-07-16T18:48:00.000Z","size":186,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T04:58:26.170Z","etag":null,"topics":["compiler","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foodelevator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-14T18:43:25.000Z","updated_at":"2023-01-20T01:39:48.000Z","dependencies_parsed_at":"2022-06-26T10:01:46.550Z","dependency_job_id":null,"html_url":"https://github.com/foodelevator/huginn","commit_stats":null,"previous_names":["foodelevator/huginn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodelevator%2Fhuginn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodelevator%2Fhuginn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodelevator%2Fhuginn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foodelevator%2Fhuginn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foodelevator","download_url":"https://codeload.github.com/foodelevator/huginn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244071861,"owners_count":20393507,"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","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":["compiler","programming-language"],"created_at":"2025-01-24T04:20:43.674Z","updated_at":"2025-03-17T16:43:11.776Z","avatar_url":"https://github.com/foodelevator.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# huginn\n\nA hobby project I'm working on when I have time and energy after work.\n\nThis is a compiler for a (so far) very simple programming language.\n\nThis currently uses\n[cranelift](https://github.com/bytecodealliance/wasmtime/tree/main/cranelift)\nfor code generation.\n\n## Quickstart\n\nTo run in JIT mode:\n```\n$ cargo run run src/tests/fibonacci.hg\n```\n\nTo build a static executable:\n```\n$ cargo run build src/tests/fibonacci.hg\n$ ./a.out\n```\n\n## Example fibonacci implementation\n\n```\nmain := proc() {\n    a := 0;\n    b := 1;\n    while a \u003c= 55 {\n        print(a);\n\n        c := a + b;\n        a = b;\n        b = c;\n    }\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoodelevator%2Fhuginn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoodelevator%2Fhuginn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoodelevator%2Fhuginn/lists"}