{"id":13896105,"url":"https://github.com/lua-rocks/core-deprecated","last_synced_at":"2025-07-17T12:30:48.690Z","repository":{"id":48366294,"uuid":"382872402","full_name":"lua-rocks/core-deprecated","owner":"lua-rocks","description":"Core libs for self-documented object oriented programming in lua.","archived":true,"fork":false,"pushed_at":"2021-10-29T02:41:24.000Z","size":748,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-25T01:33:25.492Z","etag":null,"topics":["documentation","lua","luajit","oop","oop-principles"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/lua-rocks.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-04T14:29:49.000Z","updated_at":"2023-01-28T04:24:42.000Z","dependencies_parsed_at":"2022-08-27T10:42:22.559Z","dependency_job_id":null,"html_url":"https://github.com/lua-rocks/core-deprecated","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lua-rocks/core-deprecated","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lua-rocks%2Fcore-deprecated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lua-rocks%2Fcore-deprecated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lua-rocks%2Fcore-deprecated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lua-rocks%2Fcore-deprecated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lua-rocks","download_url":"https://codeload.github.com/lua-rocks/core-deprecated/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lua-rocks%2Fcore-deprecated/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606586,"owners_count":23796967,"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":["documentation","lua","luajit","oop","oop-principles"],"created_at":"2024-08-06T18:02:39.793Z","updated_at":"2025-07-17T12:30:48.304Z","avatar_url":"https://github.com/lua-rocks.png","language":"Lua","readme":"# Lua Core Bundle (WIP)\n\nThis repository contains a minimal set of the first needed lua libraries\nwhich I use in my projects as a skeleton.\n\n**Attention!** I plan to cover every library with documentation, but since my\n[luapi][] is still quite raw, not everything is documented yet and visually it\ndoesn't look as good as I'd like it to be. If you fork me and help with\nsomething, I'd be incredibly grateful!\n\n**Attention (2)!** Keep in mind that [luapi][] curently in hard development\nand from time to time I can **totally break everything**! That's a normal\nbehavior until version 1.0 will be officialy released.\n\nI don't use libraries like `busted` or `lpeg` because I don't like to\nunnecessarily complicate things. I'm 100% happy with the default asserts and\npatterns, and I hope you are too, but if not - no one forbids you to add them.\n\nTarget versions are *latest* for **lua** (`5.4`) and **luajit** (`2.1`).\n\nTarget OS: **Linux**. I do not support proprietary software but theoretically\non Windows and Mac everything should work fine too.\n\nEach file in this project is distributed under the free `MIT` license.\n\n## The list of libraries\n\nSome of the libraries were not written by me and you can go to the repository of\ntheir author, by clicking on its name, but if the author is not listed, then\nthey are mine and this repository is native to them.\n\n+ [luapi][] - documentation (**WIP**)\n+ [öbject][] - simple OOP\n+ [asserts][] - multiple assertions\n+ [lume][] - a set of various goodies by `rxi`\n+ [inspect][] - variable inspector by `kikito`\n+ [ansicolors][] - multicolor terminal output by `hoelzro` and `kikito`\n\n[öbject]: lib/object\n[luapi]: lib/luapi\n[asserts]: lib/asserts\n[lume]: https://github.com/rxi/lume\n[inspect]: https://github.com/kikito/inspect.lua\n[ansicolors]: https://github.com/kikito/ansicolors.lua\n\n## Code style\n\nFollow these rules to make your code enjoyable to work with:\n\n+ unambiguity and brevity: the code must be understandable even for\n  drunken child\n+ each module must be able to work separately from the application\n+ maximum line length = **80** characters\n+ use two spaces as indents\n+ filenames in `snake_case`\n+ class names in `CamelCase`, all other variables in `snake_case`\n+ prefer single quotes in the code and double quotes in the text to read\n+ you must not have any `CONSTANT` because theoretically every module is a\n  constant and in this case, half of the code should be written in caps, but\n  practically lua is a very flexible language and we can never be 100% sure of\n  the constancy of anything\n+ always check the types of data you get and cover the code with basic tests\n  (don't worry about a lot of asserts creating an unnecessary load; the `assert`\n  function itself can easily be replaced by a pacifier function in production)\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flua-rocks%2Fcore-deprecated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flua-rocks%2Fcore-deprecated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flua-rocks%2Fcore-deprecated/lists"}