{"id":15732360,"url":"https://github.com/stopsopa/lua","last_synced_at":"2025-03-31T03:26:07.696Z","repository":{"id":171134219,"uuid":"590633254","full_name":"stopsopa/lua","owner":"stopsopa","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-14T23:09:17.000Z","size":860,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T08:13:16.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://stopsopa.github.io/lua/","language":"Lua","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/stopsopa.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}},"created_at":"2023-01-18T21:13:39.000Z","updated_at":"2023-05-30T22:34:15.000Z","dependencies_parsed_at":"2023-12-15T00:24:28.773Z","dependency_job_id":"88883331-adfb-44fd-b296-008069f27d2e","html_url":"https://github.com/stopsopa/lua","commit_stats":null,"previous_names":["stopsopa/lua"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Flua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Flua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Flua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stopsopa%2Flua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stopsopa","download_url":"https://codeload.github.com/stopsopa/lua/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246409901,"owners_count":20772570,"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":[],"created_at":"2024-10-04T00:09:05.868Z","updated_at":"2025-03-31T03:26:07.675Z","avatar_url":"https://github.com/stopsopa.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ebook\nProgramming_in_Lua,_4th_ed._(2017)_.pdf\nDownloaded from https://www.lua.org/pil/#:~:text=of%20the%20language.-,The%20book%20is%20available%20at%20the%20main%20online%20stores%20and%20also%20as%20an%20e%2Dbook.,-Third%20edition\ng(The fourth edition updates the book to Lua 5.3 and marks a complete reorganization of the text. Building on many years of experience teaching Lua, Roberto has restructured the book to present the material in a growing order of complexity, allowing the reader to better absorb the character of the language. The book is available at the main online stores and also as an e-book.)\n\nurl: https://stopsopa.github.io/lua/ebook.pdf\n\nto refer use notation https://stopsopa.github.io/lua/ebook.pdf :page67\nWARNING/NOTE: use pages of the book not pages of pdf in browser\nWARNING/NOTE: use pages of the book not pages of pdf in browser\nWARNING/NOTE: use pages of the book not pages of pdf in browser\n\n# libs:\n- https://github.com/blitmap/lua-snippets/blob/master/string-pad.lua\n\n# setup\n\n# Precedence - (priorytet operatorów)\nhttps://stopsopa.github.io/lua/ebook.pdf page 22\n\nJust use .vscode/README.md\n\n# lua formatter for vscode\n\nhttps://github.com/Koihik/vscode-lua-format\nhttps://marketplace.visualstudio.com/items?itemName=Koihik.vscode-lua-format\n\nvscode-lua-format\nv1.3.8\nby -\u003e Koihik\n\n# basic truths about lua\n\n- The condition expression of a control structure may result in any value. Lua treats as true all values different from false and nil.\n  from: http://www.lua.org/pil/4.3.html\n\n```\nlocal inspect = require 'inspect'\nprint(inspect(arg))\ndays = {\n    [0] = \"Sunday\",\n    \"Monday\",\n    [2] = 'two',\n    test = 'val'\n}\nprint('pairs for:')\nfor i, day in pairs(days) do\n    print('\u003e' .. i .. '\u003c \u003e' .. day .. '\u003c')\nend\nprint('ipairs for:')\nfor i, day in ipairs(days) do\n    print('\u003e' .. i .. '\u003c \u003e' .. day .. '\u003c')\nend\n-- pairs for:\n-- \u003e1\u003c \u003eMonday\u003c\n-- \u003e0\u003c \u003eSunday\u003c\n-- \u003e2\u003c \u003etwo\u003c\n-- \u003etest\u003c \u003eval\u003c\n\n-- ipairs for:\n-- \u003e1\u003c \u003eMonday\u003c\n-- \u003e2\u003c \u003etwo\u003c\n\n```  \n\n# package manager\n\n```\n\nexport HOMEBREW_NO_AUTO_UPDATE=1 \u0026\u0026 brew install luarocks\n\n```\n\nhttps://formulae.brew.sh/formula/luarocks\n\nmore: https://luarocks.org/#quick-start\n\n# useful links\n- [find latest version - just go to homepage - ](https://www.lua.org/)\n- [reference manual v 5.1 - documentation version](https://www.lua.org/manual/5.1)\n- [reference manual v 5.4 - latest version](https://www.lua.org/manual/5.4/)\n\n# where to contiune:\nhttp://www.lua.org/pil/4.1.html\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Flua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstopsopa%2Flua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstopsopa%2Flua/lists"}