{"id":13500983,"url":"https://github.com/Nymphium/moor","last_synced_at":"2025-03-29T07:32:14.471Z","repository":{"id":28885101,"uuid":"32409709","full_name":"Nymphium/moor","owner":"Nymphium","description":"MoonScript REPL","archived":false,"fork":false,"pushed_at":"2023-10-27T03:28:47.000Z","size":81,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T19:37:43.259Z","etag":null,"topics":["moonscript","repl"],"latest_commit_sha":null,"homepage":"","language":"MoonScript","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/Nymphium.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}},"created_at":"2015-03-17T17:39:28.000Z","updated_at":"2024-08-12T00:44:11.000Z","dependencies_parsed_at":"2024-01-16T10:16:04.159Z","dependency_job_id":"b6744f81-6356-4d46-acc0-2c5a101a0914","html_url":"https://github.com/Nymphium/moor","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nymphium%2Fmoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nymphium%2Fmoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nymphium%2Fmoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nymphium%2Fmoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nymphium","download_url":"https://codeload.github.com/Nymphium/moor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246155998,"owners_count":20732355,"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":["moonscript","repl"],"created_at":"2024-07-31T22:01:21.424Z","updated_at":"2025-03-29T07:32:14.193Z","avatar_url":"https://github.com/Nymphium.png","language":"MoonScript","readme":"#moor\n\n[![Build Status](https://api.travis-ci.org/Nymphium/moor.svg?branch=master)](https://travis-ci.org/Nymphium/moor)\n\nMoonScript REPL\n\n\n## Demo\n```\n$ moor\nmoor on MoonScript version 0.4.0 on Lua 5.3\n\u003e for i in *{1,2,3}\n?  for j in *{4,5,6}\n?   print j\n?  print i\n?\n4\n5\n6\n1\n4\n5\n6\n2\n4\n5\n6\n3\n\u003e class Cls\n?  new: =\u003e\n?   @a = 1\n?   @b = 2\n?   @c = 3\n?\n\u003c1\u003e{\n  __base = \u003c2\u003e{\n    __class = \u003ctable 1\u003e,\n    __index = \u003ctable 2\u003e\n  },\n  __init = \u003cfunction 1\u003e,\n  __name = \"Cls\",\n  \u003cmetatable\u003e = {\n    __call = \u003cfunction 2\u003e,\n    __index = \u003ctable 2\u003e\n  }\n}\n```\n\nyes, dump objects with [inspect](https://github.com/kikito/inspect.lua).\n\nThis supports tab completion with [linenoise](https://github.com/hoelzro/lua-linenoise), and the history is stored to `~/.moor_history`\n\n## Module\nyou can call REPL in your code\n\n```lua\n...\nlocal var = 10 -- it can be referenced by the repl\nlocal newenv = (require'moor')({}, _ENV)\nlocal hoge = newenv.foo\n...\n\n```\n\n## TODO\n- repl command (needed?)\n\n## License\n[MIT](https://github.com/Nymphium/moor/tree/master/LICENSE)\n\n","funding_links":[],"categories":["MoonScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNymphium%2Fmoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNymphium%2Fmoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNymphium%2Fmoor/lists"}