{"id":25195879,"url":"https://github.com/s-expressionists/trucler","last_synced_at":"2026-02-05T04:01:54.511Z","repository":{"id":51064779,"uuid":"167334032","full_name":"s-expressionists/Trucler","owner":"s-expressionists","description":"Environment protocol for Common Lisp compilers.","archived":false,"fork":false,"pushed_at":"2024-01-06T17:07:56.000Z","size":315,"stargazers_count":34,"open_issues_count":6,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-04T19:46:40.396Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-expressionists.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2019-01-24T08:46:21.000Z","updated_at":"2025-06-22T22:07:27.000Z","dependencies_parsed_at":"2025-04-04T15:53:55.322Z","dependency_job_id":null,"html_url":"https://github.com/s-expressionists/Trucler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s-expressionists/Trucler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FTrucler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FTrucler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FTrucler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FTrucler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-expressionists","download_url":"https://codeload.github.com/s-expressionists/Trucler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-expressionists%2FTrucler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29110558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:44:17.043Z","status":"ssl_error","status_checked_at":"2026-02-05T03:44:12.077Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-02-10T01:38:58.881Z","updated_at":"2026-02-05T04:01:54.493Z","avatar_url":"https://github.com/s-expressionists.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Trucler\n\nThis library defines a CLOS-based protocol to be used by Common Lisp\ncompilers for environment query and update.  In addition, library authors\ncan use the =trucler-native= interface to inspect native environments.\nTrucler supports introspection for variables, functions, tags, blocks and\noptimization policies.\n\n* Examples\n** Introspection at Macroexpansion Time\nThe following macro can be used to ensure the presence of a local symbol\nmacro, and to see whether it has the expected expansion:\n\n#+BEGIN_SRC lisp\n(eval-when (:compile-toplevel :load-toplevel :execute)\n  (defvar *client* (make-instance 'trucler-native:client)))\n\n(defmacro assert-local-symbol-macro-description\n    (name \u0026key (expansion nil expansion-p) \u0026environment env)\n  (let ((description (trucler:describe-variable *client* env name)))\n    (check-type description trucler:local-symbol-macro-description)\n    (when expansion-p\n      (assert (equal expansion (trucler:expansion description))))\n    `(values)))\n#+END_SRC\n\n** Introspection at Runtime\nTrucler can also be used to inspect the runtime environment - here with an\nexample of querying the state of the variable =*print-array*=.\n#+BEGIN_SRC lisp\n(trucler:describe-variable\n (make-instance 'trucler-native:client)\n nil\n '*print-array*)\n; =\u003e #\u003ctrucler-native-sbcl::global-special-variable-description {100A7E5A23}\u003e\n#+END_SRC\n\n* Related Work\nTrucler can be seen as a modern, extensible version of the protocol\ndescribed in section 8.5 of the second edition of Guy Steele's book [[https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html#SECTION001250000000000000000][Common\nLisp, the Language]].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-expressionists%2Ftrucler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-expressionists%2Ftrucler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-expressionists%2Ftrucler/lists"}