{"id":19533179,"url":"https://github.com/zeozeozeo/luamalg","last_synced_at":"2026-04-22T23:36:20.075Z","repository":{"id":261989502,"uuid":"885814671","full_name":"zeozeozeo/luamalg","owner":"zeozeozeo","description":"Luamalg – Lua 5.4.7 core, libraries and interpreter in a single header file.","archived":false,"fork":false,"pushed_at":"2024-11-09T18:08:56.000Z","size":225,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T11:45:08.304Z","etag":null,"topics":["amalgamation","c","c89","c99","clang","lua","lua-interpreter","lua-lang","lua-language","lualang","puc-lua","puc-rio","single-header","single-header-lib","single-header-library"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"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/zeozeozeo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T13:21:21.000Z","updated_at":"2024-11-09T18:08:59.000Z","dependencies_parsed_at":"2024-11-09T19:29:56.987Z","dependency_job_id":null,"html_url":"https://github.com/zeozeozeo/luamalg","commit_stats":null,"previous_names":["zeozeozeo/luamalg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeozeozeo/luamalg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeozeozeo%2Fluamalg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeozeozeo%2Fluamalg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeozeozeo%2Fluamalg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeozeozeo%2Fluamalg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeozeozeo","download_url":"https://codeload.github.com/zeozeozeo/luamalg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeozeozeo%2Fluamalg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32159959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amalgamation","c","c89","c99","clang","lua","lua-interpreter","lua-lang","lua-language","lualang","puc-lua","puc-rio","single-header","single-header-lib","single-header-library"],"created_at":"2024-11-11T02:05:47.811Z","updated_at":"2026-04-22T23:36:19.709Z","avatar_url":"https://github.com/zeozeozeo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Luamalg](/luamalg.h) – Lua 5.4.7 core, libraries and interpreter in a single header file.\n\n[Luamalg](/luamalg.h) is a single-header Lua amalgamation. This essentially makes PUC-Lua a single header library, similar to [stb libraries](https://github.com/nothings/stb).\n\n# Usage\n\nDrop [`luamalg.h`](/luamalg.h) into your project and use it right away:\n\n```c\n/* don't forget to define LUA_IMPLEMENTATION or LUAMALG_IMPLEMENTATION in ONE .c\n * or .cpp file before including luamalg.h to create the implementation */\n#define LUA_IMPLEMENTATION\n#include \"luamalg.h\"\n\nint main(void) {\n    lua_State* lua = luaL_newstate();\n    luaL_openlibs(lua);\n    luaL_dostring(lua, \"print('Hello, World!')\");\n    lua_close(lua);\n    return 0;\n}\n```\n\nDon't forget to do this:\n```c\n#define LUA_IMPLEMENTATION\n```\nbefore you include [`luamalg.h`](/luamalg.h) in *one* C or C++ file to create the implementation.\n\n# Examples\n\nSee more examples and build guides in the `examples` directory.\n\n# License\n\nParts of this project (examples and the amalgamation generator) are licensed under The Unlicense:\n\n```\nThis is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to \u003chttps://unlicense.org\u003e\n```\n\nPUC-Lua is free software distributed under the terms of the MIT license:\n\n```\nCopyright © 1994–2024 Lua.org, PUC-Rio.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeozeozeo%2Fluamalg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeozeozeo%2Fluamalg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeozeozeo%2Fluamalg/lists"}