{"id":15400831,"url":"https://github.com/dannypsnl/reporter","last_synced_at":"2026-01-06T17:36:22.186Z","repository":{"id":55475800,"uuid":"266561239","full_name":"dannypsnl/reporter","owner":"dannypsnl","description":"A util toolbox for compiler error reporting","archived":false,"fork":false,"pushed_at":"2023-03-11T10:25:18.000Z","size":103,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-02T02:28:07.287Z","etag":null,"topics":["compiler-plugin","error-reporting","programming-languages","racket","source-engine"],"latest_commit_sha":null,"homepage":"https://pkgd.racket-lang.org/pkgn/package/reporter","language":"Racket","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/dannypsnl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-05-24T14:44:40.000Z","updated_at":"2022-10-09T04:40:10.000Z","dependencies_parsed_at":"2024-10-20T11:17:35.203Z","dependency_job_id":null,"html_url":"https://github.com/dannypsnl/reporter","commit_stats":{"total_commits":121,"total_committers":2,"mean_commits":60.5,"dds":0.008264462809917328,"last_synced_commit":"c2e97f3e18b0640c50e2a3d8c1927c147712d6ee"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannypsnl%2Freporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannypsnl%2Freporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannypsnl%2Freporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannypsnl%2Freporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannypsnl","download_url":"https://codeload.github.com/dannypsnl/reporter/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949436,"owners_count":20698914,"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":["compiler-plugin","error-reporting","programming-languages","racket","source-engine"],"created_at":"2024-10-01T15:55:06.881Z","updated_at":"2026-01-06T17:36:22.128Z","avatar_url":"https://github.com/dannypsnl.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reporter\n\n[![Racket](https://github.com/racket-tw/reporter/actions/workflows/racket.yml/badge.svg)](https://github.com/racket-tw/reporter/actions/workflows/racket.yml)\n\nReporter is inspired from [codespan](https://github.com/brendanzab/codespan). The purpose of this project is to create a util toolbox for compiler error reporting.\n\n### Installation\n\n```racket\nraco pkg install --auto reporter\n```\n\n### Usage\n\n#### Example\n\nTake a look at [example](https://github.com/racket-tw/reporter/tree/develop/example).\n\n#### Current API\n\n```racket\n#lang racket\n\n(require reporter)\n\n(displayln\n (report\n   #:error-code \"E0001\"\n   #:message \"type mismatching\"\n   #:target srcloc?\n   #:labels (list\n              (label srcloc? \"cannot assign a `string` to `int` variable\"\n                #:color 'red)\n              (label srcloc? \"`x` is a `int` variable\"\n                #:color 'blue))\n   #:hint \"expected type `int`, found type `string`\"))\n\n(displayln (warning #:message \"shadow the variable\"\n                    #:target srcloc?\n                    #:labels (list\n                               (label srcloc? \"previous definition\" #:color 'green)\n                               (label srcloc? \"shadow definition\" #:color 'blue))\n                    #:hint \"rename the shadow variable\"))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannypsnl%2Freporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannypsnl%2Freporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannypsnl%2Freporter/lists"}