{"id":30796893,"url":"https://github.com/ghost-language/ghost","last_synced_at":"2025-09-05T17:10:41.589Z","repository":{"id":44782083,"uuid":"267882221","full_name":"ghost-language/ghost","owner":"ghost-language","description":"The Ghost Programming Language","archived":false,"fork":false,"pushed_at":"2023-11-20T07:34:56.000Z","size":562,"stargazers_count":65,"open_issues_count":12,"forks_count":4,"subscribers_count":5,"default_branch":"1.0","last_synced_at":"2025-03-02T14:48:43.733Z","etag":null,"topics":["embeddable","embeddable-scripting-language","ghost","go","scripting-language"],"latest_commit_sha":null,"homepage":"https://ghostlang.org","language":"Go","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/ghost-language.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}},"created_at":"2020-05-29T14:45:42.000Z","updated_at":"2025-01-19T19:28:55.000Z","dependencies_parsed_at":"2023-01-23T08:46:20.550Z","dependency_job_id":"c887a91a-da09-487d-9740-2635c4c41df6","html_url":"https://github.com/ghost-language/ghost","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/ghost-language/ghost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-language%2Fghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-language%2Fghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-language%2Fghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-language%2Fghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghost-language","download_url":"https://codeload.github.com/ghost-language/ghost/tar.gz/refs/heads/1.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-language%2Fghost/sbom","scorecard":{"id":425829,"data":{"date":"2025-08-11","repo":{"name":"github.com/ghost-language/ghost","commit":"14cde84bd3b23e1335c3da417485d4ddbdaac6a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ghost-language/ghost/test.yml/1.0?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ghost-language/ghost/test.yml/1.0?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.28.0 not signed: https://api.github.com/repos/ghost-language/ghost/releases/128007301","Warn: release artifact v0.27.0 not signed: https://api.github.com/repos/ghost-language/ghost/releases/127039804","Warn: release artifact v0.26.0 not signed: https://api.github.com/repos/ghost-language/ghost/releases/127038701","Warn: release artifact v0.25.0 not signed: https://api.github.com/repos/ghost-language/ghost/releases/127023622","Warn: release artifact v0.24.0 not signed: https://api.github.com/repos/ghost-language/ghost/releases/127008480","Warn: release artifact v0.28.0 does not have provenance: https://api.github.com/repos/ghost-language/ghost/releases/128007301","Warn: release artifact v0.27.0 does not have provenance: https://api.github.com/repos/ghost-language/ghost/releases/127039804","Warn: release artifact v0.26.0 does not have provenance: https://api.github.com/repos/ghost-language/ghost/releases/127038701","Warn: release artifact v0.25.0 does not have provenance: https://api.github.com/repos/ghost-language/ghost/releases/127023622","Warn: release artifact v0.24.0 does not have provenance: https://api.github.com/repos/ghost-language/ghost/releases/127008480"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch '1.0'","Warn: branch protection not enabled for branch 'nightly'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T02:12:51.827Z","repository_id":44782083,"created_at":"2025-08-19T02:12:51.828Z","updated_at":"2025-08-19T02:12:51.828Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273790208,"owners_count":25168669,"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-05T02:00:09.113Z","response_time":402,"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":["embeddable","embeddable-scripting-language","ghost","go","scripting-language"],"created_at":"2025-09-05T17:02:58.485Z","updated_at":"2025-09-05T17:10:41.576Z","avatar_url":"https://github.com/ghost-language.png","language":"Go","readme":"# The Ghost Programming Language\n\n[![Test](https://github.com/ghost-language/ghost/actions/workflows/test.yml/badge.svg)](https://github.com/ghost-language/ghost/actions/workflows/test.yml)\n\nGhost is a small, object-oriented, embeddable toy scripting language. While object-oriented, Ghost also supports procedural and functional programming styles as well.\n\nGhost is dynamically typed, runs by a tree-walking interpreter, and has automatic memory management thanks to its implementation through the Go programming language.\n\n## Status\n\n\u003e Currently in beta, vetting out the language and seeing how it feels writing/running. Major changes are still possible at this stage.\n\n## Documentation\n\nYou will find robust, user friendly, and updated documentation on our [website](https://ghostlang.org/docs).\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/ghost-language/ghost/tags).\n\n## Installation\n\n### Brew\n\nIf you're on mac, you may use `homebrew`:\n\n```\n$ brew tap ghost-language/ghost\n$ brew install ghost-language/ghost/ghost\n```\n\n### Go Install\n\nIf you have Go installed, you may use `go install`:\n\n```\ngo install ghostlang.org/x/ghost\n```\n\n### Direct Download\n\nYou may download the compiled binaries for your platform from our GitHub [releases](https://github.com/ghost-language/ghost/releases) page.\n\n## Development\n\n- To build and execute Ghost, run `make`.\n- To build Ghost, run `make build`.\n- To execute tests, run `make test`.\n\n```\n$  git clone git@github.com:ghost-language/ghost.git\n$  cd ghost\n$  make\n   Ghost (x.x)\n   Press Ctrl + C to exit\n\n\u003e\u003e\n```\n\n## CLI\n\nYou can execute code written in Ghost in various ways using the CLI.\n\n### REPL\n\nGhost includes a simple REPL to write and execute Ghost code directly in your terminal. To enter the REPL environment, run `ghost` on its own:\n\n```\n$  ghost\n   Ghost (x.x)\n   Press Ctrl + C to exit\n\n\u003e\u003e\n```\n\n### Executing Files\n\nTo execute a Ghost source file (`.ghost`), pass either the relative or absolute path of the file to `ghost`. The source file will be executed and then exit back to the terminal.\n\n```\n$  ghost examples/fibtc.ghost\n   9227465\n$\n```\n\n### Interactive Mode\n\nInteractive mode allows you to execute a Ghost source file, and then immediately jump into a REPL session with the state of the source file still intact. To enter interactive mode, pass the `-i` flag to `ghost`.\n\n```\n$  ghost -i examples/fibtc.ghost\n   (executed in: 350.374µs)\n\u003e\u003e x\n   9227465\n\u003e\u003e\n```\n\n## Releasing\n\nGhost is hosted and distributed through GitHub. We utilize [GoReleaser](https://goreleaser.com) to automate the release process. GoReleaser will build all the necessary binaries, publish the release and publish the brew tap formula. The following steps outline the process for maintainers of Ghost:\n\n1. Ensure you have a GitHub token with `repo` access saved to your environment:\n\n```\nexport GITHUB_TOKEN=\"YOUR_GH_TOKEN\"\n```\n\n2. Ensure the internal version reference is updated:\n\n   ```go\n   // version/version.go\n\n   var (\n      Version = \"x.y.z\"\n   )\n   ```\n\n3. Create a new tag:\n\n```\n$ git tag -a vx.y.z -m \"Release description\"\n$ git push origin vx.y.z\n```\n\n4. Run GoReleaser:\n\n```\n$ goreleaser\n```\n\n## Credits\n\n- [Crafting Interpreters](https://craftinginterpreters.com/)\n- [Writing An Interpreter In Go](https://interpreterbook.com/)\n\n## License\n\nGhost is open-sourced software licensed under the MIT license. See the [LICENSE](LICENSE) file for complete details.\n","funding_links":[],"categories":["Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghost-language%2Fghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghost-language%2Fghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghost-language%2Fghost/lists"}