{"id":22696138,"url":"https://github.com/zdimension/macro-forth","last_synced_at":"2025-04-12T07:51:23.784Z","repository":{"id":97140874,"uuid":"528156817","full_name":"zdimension/macro-forth","owner":"zdimension","description":"Compile-time const Forth evaluation with macros","archived":false,"fork":false,"pushed_at":"2022-11-13T14:38:29.000Z","size":3,"stargazers_count":35,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T03:04:41.359Z","etag":null,"topics":["compile-time","forth","macro","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/zdimension.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":"2022-08-23T20:44:16.000Z","updated_at":"2025-01-06T03:56:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"142fa3cf-fe1e-4dce-81dd-80e68619a5d3","html_url":"https://github.com/zdimension/macro-forth","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/zdimension%2Fmacro-forth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdimension%2Fmacro-forth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdimension%2Fmacro-forth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdimension%2Fmacro-forth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdimension","download_url":"https://codeload.github.com/zdimension/macro-forth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537003,"owners_count":21120688,"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":["compile-time","forth","macro","rust"],"created_at":"2024-12-10T04:14:27.555Z","updated_at":"2025-04-12T07:51:23.778Z","avatar_url":"https://github.com/zdimension.png","language":"Rust","readme":"# macro-forth\n\nForth, in macros.\n\n```rust\nfn main() {\n    const TWO: i32 = forth!(5 3 -);\n    forth!(\n        TWO . // 2\n    );\n\n    const HUNDRED: i8 = forth!(\n        1 2 dup * + dup + // 10\n        dup * // 100\n        hundred !\n        3 dup swap drop drop\n        hundred @\n    );\n\n    forth!(\n        HUNDRED @ dup . // 100\n        50 \u003e if \"bigger\" else \"smaller\" then . // bigger\n    );\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdimension%2Fmacro-forth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdimension%2Fmacro-forth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdimension%2Fmacro-forth/lists"}