{"id":16411103,"url":"https://github.com/phoe/pseudonyms","last_synced_at":"2026-02-12T02:41:33.948Z","repository":{"id":111724509,"uuid":"46689581","full_name":"phoe/pseudonyms","owner":"phoe","description":"A reader-macro way to create non-destructive nicknames within portable Common Lisp","archived":false,"fork":false,"pushed_at":"2020-02-18T15:51:38.000Z","size":19,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-06T07:06:40.468Z","etag":null,"topics":[],"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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoe.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}},"created_at":"2015-11-23T01:28:50.000Z","updated_at":"2025-01-09T09:08:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"84236874-ed23-4d92-b416-b3c8d9efcf9c","html_url":"https://github.com/phoe/pseudonyms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phoe/pseudonyms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fpseudonyms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fpseudonyms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fpseudonyms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fpseudonyms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoe","download_url":"https://codeload.github.com/phoe/pseudonyms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fpseudonyms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274005667,"owners_count":25206019,"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-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2024-10-11T06:44:32.784Z","updated_at":"2026-02-12T02:41:28.913Z","avatar_url":"https://github.com/phoe.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pseudonyms\n\n#### A reader-macro way to create non-destructive nicknames within portable Common Lisp\n\n## Usage\n\n**DON'T USE.** Use [package-local nicknames](https://github.com/phoe/trivial-package-local-nicknames) instead.\n\n## Readme\n\nI found that Lisp nicknames, as defined in CLHS, have a few problems that I\nwill count here.\n\n* 1) They are not changeable without internal side-effects. RENAME-PACKAGE is destructive, as it kills off any previous names the package.\n* 2) They collide. Nickname GL is used by at least three different Lisp packages.\n\nThe solution I provide here is a different approach to nicknames that does not use any of the original nickname code, as defined in CLHS.\n\nTo begin quickly:\n```common-lisp\n\u003e (pseudonyms:pseudonyms-on)\n```\n\nPseudonyms, in opposition to nicknames, can be defined by the user inside one's code, like this:\n```common-lisp\n\u003e (defpseudonym :longpackagename \"lpn\")\n```\n\nAnd removed like this:\n```common-lisp\n\u003e (pmakunbound \"lpn\") ;; OR (pmakunbound :longpackagename)\n```\n\nFrom within the code, one can refer to a pseudonymized package this way:\n```common-lisp\n\u003e $lpn:something\n```\nA reader macro will automatically translate it to its normal version of `longpackagename:something.` This is usable both within the REPL and within usual code.\n\nThe reader macro character is also settable from the default `#\\$`:\n```common-lisp\n\u003e (set-pseudonym-macro-character #\\^)\n```\n\nAll pseudonyms are local to the current package: for instance, pseudonyms defined within CL-USER are not usable anywhere outside the CL-USER package.\n\nAn utility function `print-pseudonyms` will print all pseudonyms for a given package. If not supplied a package name as an argument, it will print all pseudonyms for current package (as shown by the `*package*` global variable).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fpseudonyms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoe%2Fpseudonyms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fpseudonyms/lists"}