{"id":15735254,"url":"https://github.com/vulcan-dev/cslw","last_synced_at":"2025-03-13T06:31:57.235Z","repository":{"id":188513248,"uuid":"678563891","full_name":"vulcan-dev/cslw","owner":"vulcan-dev","description":"C99-C23 Simple Lua Wrapper","archived":false,"fork":false,"pushed_at":"2023-08-19T02:18:19.000Z","size":60,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T19:06:09.608Z","etag":null,"topics":["c11","c23","c99","lua","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vulcan-dev.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":"2023-08-14T21:08:02.000Z","updated_at":"2023-08-24T20:03:55.000Z","dependencies_parsed_at":"2024-10-25T00:16:15.531Z","dependency_job_id":"1af8eb8b-9b43-42cb-b53e-1d3618c8aea6","html_url":"https://github.com/vulcan-dev/cslw","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.04761904761904767,"last_synced_commit":"90bc3c073df7d1b8bfcdf737c2a531c50c56ddb1"},"previous_names":["vulcan-dev/cslw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcan-dev%2Fcslw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcan-dev%2Fcslw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcan-dev%2Fcslw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulcan-dev%2Fcslw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vulcan-dev","download_url":"https://codeload.github.com/vulcan-dev/cslw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243357697,"owners_count":20277988,"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":["c11","c23","c99","lua","wrapper"],"created_at":"2024-10-04T01:11:27.984Z","updated_at":"2025-03-13T06:31:56.867Z","avatar_url":"https://github.com/vulcan-dev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cslw\nC Simple Lua Wrapper (WIP)\n\n## Building\n```\ngcc src/main.c src/cslw.h -Iyour/dir -Lyour/dir -llua\n```\nTo enable LuaJIT support, add `-DSLW_USE_LUAJIT`\n\n## Examples\n- [tables.c](examples/example_table.c)\n- More to come... for now, take a peek at [cslw.h](include/cslw/cslw.h).\n\n## Supported C Versions:\n- C99\n- C11\n- C17\n- C18\n- C2X\n\n\\\u003e= C11 has [Generic](https://en.cppreference.com/w/c/language/generic) Support\n\n## Notes\nLuaJIT and Lua5.4 have been tested, on Windows and on Linux w/ WSL\n\nThis is still work-in-progress, I need to:\n- Check more Lua versions on both OS's\n- Add more safety\n- Possibly add a `slwState_return(slw, slwt_string(\"retval1\"), slwt_tnumber(42));` function of some sort, that way you don't manually have to push each return value.\n- Cleanup functions that use variadic args\n- Add more stack functions\n- Improve performance (checking the generated ASM w/ IDA for Clang \u0026 GCC, + timing execution time)\n- Move to CMake to make life easier with automatically finding Lua and handling cross-platform situations (Will to tomorrow?)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulcan-dev%2Fcslw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulcan-dev%2Fcslw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulcan-dev%2Fcslw/lists"}