{"id":15459168,"url":"https://github.com/kzh/lyca","last_synced_at":"2025-10-27T01:07:17.186Z","repository":{"id":91697334,"uuid":"48961581","full_name":"kzh/lyca","owner":"kzh","description":"programming language compiler w/ llvm","archived":false,"fork":false,"pushed_at":"2017-11-18T19:07:42.000Z","size":76,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T12:58:26.942Z","etag":null,"topics":["compiler","llvm","programming-language"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kzh.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-03T21:36:24.000Z","updated_at":"2024-06-27T06:08:42.000Z","dependencies_parsed_at":"2023-03-05T04:30:52.230Z","dependency_job_id":null,"html_url":"https://github.com/kzh/lyca","commit_stats":null,"previous_names":["k3v/lyca"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kzh%2Flyca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kzh%2Flyca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kzh%2Flyca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kzh%2Flyca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kzh","download_url":"https://codeload.github.com/kzh/lyca/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249259146,"owners_count":21239422,"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","llvm","programming-language"],"created_at":"2024-10-01T23:05:10.821Z","updated_at":"2025-10-27T01:07:12.139Z","avatar_url":"https://github.com/kzh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lyca\nLyca is a programming language that I am currently working on. The main goal for this project is to help me learn compiler design. Being in a very early development stage, Lyca is full of bugs, but here is a demo of some of the functioning features in the form of a Linked List implementation in Lyca.\n\n```\nfunc () \u003e main \u003e () {\n    List list = make List \u003c ();\n    \n    list.append(make Node \u003c (10));\n    list.append(make Node \u003c (4));\n    list.append(make Node \u003c (3));\n\n    list.print();\n}\n\ntmpl List {\n    Node head;\n    int length;\n\n    constructor \u003c () {\n        this.length = 0;\n    }\n\n    func (Node node) \u003e append \u003e () {\n        if (this.length == 0) {\n            this.head = node;\n        } else {\n            Node last = this.get(this.length - 1);\n            last.next = node;\n        }\n\n        this.length = this.length + 1;\n    }\n\n    func (int depth) \u003e get \u003e (Node) {\n        Node node = this.head;\n        for (; depth != 0; depth = depth - 1) {\n            node = node.next;\n        }\n\n        return node;\n    }\n\n    func () \u003e print \u003e () {\n        Node node = this.head;\n        for (int i = 0; i != this.length; i = i + 1) {\n            printf(\"Index: %d Value: %d \\n\", i, node.value);\n            node = node.next;\n        }\n    }\n}\n\ntmpl Node {\n    Node next;\n    int value;\n\n    constructor \u003c (int val) {\n        this.value = val;\n    }\n}\n```\n\n\n![alt tag](https://i.imgur.com/Vqqgm81.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkzh%2Flyca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkzh%2Flyca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkzh%2Flyca/lists"}