{"id":13895987,"url":"https://github.com/orbitalquark/textadept-lua-repl","last_synced_at":"2025-07-24T21:33:04.405Z","repository":{"id":46643184,"uuid":"302110662","full_name":"orbitalquark/textadept-lua-repl","owner":"orbitalquark","description":"A Textadept module for loading an interactive Lua REPL.","archived":false,"fork":false,"pushed_at":"2025-05-11T20:25:57.000Z","size":80,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"default","last_synced_at":"2025-05-11T21:25:21.421Z","etag":null,"topics":["lua","repl","textadept","textadept-module"],"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/orbitalquark.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,"zenodo":null}},"created_at":"2020-10-07T17:27:02.000Z","updated_at":"2025-05-11T20:25:50.000Z","dependencies_parsed_at":"2023-12-31T18:24:10.684Z","dependency_job_id":"4fb5920b-7978-4747-97c3-f084846ace97","html_url":"https://github.com/orbitalquark/textadept-lua-repl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/orbitalquark/textadept-lua-repl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-lua-repl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-lua-repl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-lua-repl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-lua-repl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitalquark","download_url":"https://codeload.github.com/orbitalquark/textadept-lua-repl/tar.gz/refs/heads/default","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-lua-repl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266905335,"owners_count":24004142,"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-07-24T02:00:09.469Z","response_time":99,"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":["lua","repl","textadept","textadept-module"],"created_at":"2024-08-06T18:02:35.992Z","updated_at":"2025-07-24T21:33:04.382Z","avatar_url":"https://github.com/orbitalquark.png","language":"Lua","readme":"# Lua REPL\n\nA Textadept module for loading an interactive Lua REPL using the editor's Lua State, similar\nto Lua's interactive REPL.\n\nThis is an alternative to the single-line Lua command entry.\n\nInstall this module by copying it into your *~/.textadept/modules/* directory or Textadept's\n*modules/* directory, and then putting the following in your *~/.textadept/init.lua*:\n\n```lua\nlocal lua_repl = require('lua_repl')\n```\n\nSelect \"Tools \u003e Lua REPL\" to open the REPL. Typing the Enter key on any line evaluates that\nline, unless that line is a continuation line. In that case, when finished, select the lines\nto evaluate and type Enter to evaluate the entire chunk.\n\nTab completion is available, as is cycling through history with the `Ctrl+Up`/`Ctrl+Down`\nand `Ctrl+P` and `Ctrl+N` keys.\n\n**Note:** if the Language Server Protocol (LSP) module is enabled, any completions coming\nfrom that module are separate from this module's completions.\n\nLines may be optionally prefixed with '=' (similar to the Lua prompt) to print a result.\n\n\u003ca id=\"lua_repl.clear_history\"\u003e\u003c/a\u003e\n## `lua_repl.clear_history`()\n\nClears the command history.\n\n\u003ca id=\"lua_repl.cycle_history_next\"\u003e\u003c/a\u003e\n## `lua_repl.cycle_history_next`()\n\nCycle forward through command history, taking into account commands with multiple lines.\n\n\u003ca id=\"lua_repl.cycle_history_prev\"\u003e\u003c/a\u003e\n## `lua_repl.cycle_history_prev`()\n\nCycle backward through command history, taking into account commands with multiple lines.\n\n\u003ca id=\"lua_repl.evaluate_repl\"\u003e\u003c/a\u003e\n## `lua_repl.evaluate_repl`()\n\nEvaluates as Lua code the current line or the text on the currently selected lines.\n\nIf the current line has a syntax error, it is ignored and treated as a line continuation.\n\n\u003ca id=\"lua_repl.keys\"\u003e\u003c/a\u003e\n## `lua_repl.keys`\n\nTable of key bindings for the REPL.\n\n\u003ca id=\"lua_repl.open\"\u003e\u003c/a\u003e\n## `lua_repl.open`([*new*=false])\n\nCreates or switches to a Lua REPL.\n\nParameters:\n- *new*:  Create a new REPL even if one already exists.\n\n\n\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalquark%2Ftextadept-lua-repl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitalquark%2Ftextadept-lua-repl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalquark%2Ftextadept-lua-repl/lists"}