{"id":31039740,"url":"https://github.com/shyandsy/learn_lua","last_synced_at":"2025-09-14T08:01:50.826Z","repository":{"id":314386911,"uuid":"1055273289","full_name":"shyandsy/learn_lua","owner":"shyandsy","description":"learn lua for future","archived":false,"fork":false,"pushed_at":"2025-09-12T06:16:19.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-12T07:07:21.577Z","etag":null,"topics":["learning","lua"],"latest_commit_sha":null,"homepage":"","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/shyandsy.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-12T03:10:41.000Z","updated_at":"2025-09-12T06:16:22.000Z","dependencies_parsed_at":"2025-09-12T07:07:23.973Z","dependency_job_id":"e5c5cf6f-0e5f-4133-904d-1cee48b6cd45","html_url":"https://github.com/shyandsy/learn_lua","commit_stats":null,"previous_names":["shyandsy/learn_lua"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shyandsy/learn_lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyandsy%2Flearn_lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyandsy%2Flearn_lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyandsy%2Flearn_lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyandsy%2Flearn_lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shyandsy","download_url":"https://codeload.github.com/shyandsy/learn_lua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyandsy%2Flearn_lua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275076591,"owners_count":25401318,"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-09-14T02:00:10.474Z","response_time":75,"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":["learning","lua"],"created_at":"2025-09-14T08:01:26.426Z","updated_at":"2025-09-14T08:01:50.803Z","avatar_url":"https://github.com/shyandsy.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Lua\nLearn lua for future.\n\nIt's my best practice to learn a language by answering the following questions.\n\nAppreciate for Course Codecademy, it helps a lot: [Link](https://www.codecademy.com/courses/learn-lua/lessons/introduction-to-lua/exercises/comments)\n\n## How to learn a language\n\n- how to define variable, local variable, global variable?\n- what data types can be use? primitive, complex\n- logic control: condition? loop?\n- how to define a function\n- any object oriented concept? class, overload, override, abstract method\n- how to implement some normal data structure, like dynamic array, linked list, map\n\n## case 1\n- how to make comment, single line, multiple lines?\n- how to define a local variable?\n- how to use loop?\n- how to print a string without \"\\n\"?\n\nProblem:\nInstead of displaying those two lines in the code editor, edit the code so that we output the following pattern in the terminal:\n```\n       1\n     2 3\n   4 5 6\n7 8 9 10\n```\n\n## case 2\n- data type: 2D array\n- how to use logic control, condition and loop\n- how to define function\n\n```\n\nTake a look at the complete alphabet and find your initials.\n\nMy initials are B and S, so my initials.lua program should output:\n\nY               Y       SSSS \n  Y           Y       SS    SS\n    Y       Y       SS        SS     \n      Y   Y           SS       \n        Y               SSSS \n        Y                   SS\n        Y           SS        SS\n        Y             SS    SS\n        Y               SSSS\nCopy to Clipboard\n\nOnce you are ready, mark this task complete by checking off the box.\n```\n\ntarget: we wanna learn the grammar, so the diagram is not the key point, we dont need exact same here\n\n## case 3\npractice data types\n- check variable types\n- operations on data types","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyandsy%2Flearn_lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyandsy%2Flearn_lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyandsy%2Flearn_lua/lists"}