{"id":18081985,"url":"https://github.com/vindarel/cl-readline-example","last_synced_at":"2026-01-20T02:15:47.367Z","repository":{"id":67525121,"uuid":"117035678","full_name":"vindarel/cl-readline-example","owner":"vindarel","description":"Using readline in Common Lisp. ","archived":false,"fork":false,"pushed_at":"2023-11-08T18:09:06.000Z","size":16,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T04:17:37.538Z","etag":null,"topics":["common-lisp"],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","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/vindarel.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}},"created_at":"2018-01-11T01:55:10.000Z","updated_at":"2023-03-28T17:31:05.000Z","dependencies_parsed_at":"2023-02-20T20:30:15.925Z","dependency_job_id":null,"html_url":"https://github.com/vindarel/cl-readline-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fcl-readline-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fcl-readline-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fcl-readline-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fcl-readline-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vindarel","download_url":"https://codeload.github.com/vindarel/cl-readline-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411241,"owners_count":20934650,"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":["common-lisp"],"created_at":"2024-10-31T13:17:42.046Z","updated_at":"2026-01-20T02:15:47.334Z","avatar_url":"https://github.com/vindarel.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Readline example in Common Lisp\n\nExample from cl-readline's documentation: https://vindarel.github.io/cl-readline/\n\nIt showcases custom completion and keybindings. Type a command (with TAB-completion), and type arguments (with TAB-completion of the choices).\n\nTo run the example:\n\n    sbcl --script example.lisp\n\nor build an executable:\n\n    make build  # and then ./clreadline\n\n(we added handling of a `C-c`).\n\nSee the `custom completion`: first, type and complete a verb (`eat`, `throw`,…). Later words are completed as fruits (`orange`, `banana`,…). Type \"o\u003cTAB\u003e\" and see the completion to \"orange\" (no dropdown list).\n\n![](readline.png)\n\nAlso type `C-o` to insert a predefined custom text,\n\nand type an opening paren \"(\" to insert two parens and move the cursor in-between (using `rl:insert-text` and `rl:backward-char`).\n\n\nSome command line apps using cl-readline:\n\n* [cl-repl](https://github.com/koji-kojiro/cl-repl) - an SBCL repl.\n* [cl-torrents](https://github.com/vindarel/cl-torrents) - searching and downloading torrents from popular trackers.\n* [replic](https://github.com/vindarel/replic/) - a library to quickly build a readline app from a lisp library.\n* [sbcli](https://github.com/hellerve/sbcli/) - a simple wrapper around the bare-bones SBCL REPL with completion of Lisp symbols, syntax highlighting, no interactive debugger by default.\n* [cl-repl](https://github.com/koji-kojiro/cl-repl/) - an advanced terminal Lisp REPL for the terminal: interactive debugger, syntax highlighting, code editing with a text editor…\n* [OpenBookStore](https://github.com/OpenBookStore/openbookstore) - a book management software, with web and readline interfaces.\n* [shtookovina](https://github.com/mrkkrp/shtookovina/) - a language learning app (unmaintained).\n\nPlease add yours here and/or in [readline's wiki](https://github.com/vindarel/cl-readline/wiki)!\n\n\n## Changelog\n\nWe added:\n\n* Nov, 2023: bind \"(\" to \"( )\" and move the cursor in-between.\n* Nov, 2022: handle a C-d (NIL input), output something to show using the text variable.\n* july, 2019: rewrote without curry, removed the dependency on Alexandria, added a dependency on cl-str.\n* asdf system declaration\n* `make build` to build a binary\n* catch a `C-c` (and others) and quit gracefully (in executable only).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindarel%2Fcl-readline-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvindarel%2Fcl-readline-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindarel%2Fcl-readline-example/lists"}