{"id":15394270,"url":"https://github.com/xyproto/quaternions","last_synced_at":"2026-05-20T07:10:20.815Z","repository":{"id":57599045,"uuid":"45975484","full_name":"xyproto/quaternions","owner":"xyproto","description":"Example of operator overloading in Go, by embedding Lua","archived":false,"fork":false,"pushed_at":"2022-11-03T05:49:11.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T23:43:58.348Z","etag":null,"topics":["go","interop","lua","operator-overloading","quaternions"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xyproto.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":"2015-11-11T10:37:27.000Z","updated_at":"2023-09-08T17:03:31.000Z","dependencies_parsed_at":"2023-01-21T11:47:04.436Z","dependency_job_id":null,"html_url":"https://github.com/xyproto/quaternions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xyproto/quaternions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fquaternions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fquaternions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fquaternions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fquaternions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/quaternions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fquaternions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268801954,"owners_count":24309642,"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-08-04T02:00:09.867Z","response_time":79,"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":["go","interop","lua","operator-overloading","quaternions"],"created_at":"2024-10-01T15:22:54.358Z","updated_at":"2026-05-20T07:10:15.794Z","avatar_url":"https://github.com/xyproto.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quaternions\n\nOne way to bring operator overloading to Go (within Lua), by embedding Lua.\n\n## Background\n\nGo does not support operator overloading. This is especially painful when dealing with quaternions.\n\nThis project is an example for how to embed Lua and call Go code from Lua, in order to get to use operator overloading in Lua.\n\nThe downside of embedding any scripting language is a loss of performance, but the upside is that it's possible to use Go code and also use quaternions together with operator overloading.\n\n## General info\n\n* License: MIT\n* Author: Alexander F. Rødseth \u0026lt;xyproto@archlinux.org\u0026gt;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fquaternions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Fquaternions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fquaternions/lists"}