{"id":16870309,"url":"https://github.com/ringabout/nimish","last_synced_at":"2025-03-18T19:38:49.771Z","repository":{"id":113183490,"uuid":"275545273","full_name":"ringabout/nimish","owner":"ringabout","description":"Make Nim language support C macro for fun. :-)","archived":false,"fork":false,"pushed_at":"2020-06-28T11:41:00.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-14T15:03:51.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ringabout.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":"2020-06-28T08:53:59.000Z","updated_at":"2022-03-17T03:37:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f45f0c25-ec72-4429-b253-2bb8617c7173","html_url":"https://github.com/ringabout/nimish","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"c0fed5c679ff7e59ae67056749bfb6871448de2b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringabout%2Fnimish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringabout%2Fnimish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringabout%2Fnimish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringabout%2Fnimish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringabout","download_url":"https://codeload.github.com/ringabout/nimish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244290548,"owners_count":20429379,"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":[],"created_at":"2024-10-13T15:03:45.103Z","updated_at":"2025-03-18T19:38:49.744Z","avatar_url":"https://github.com/ringabout.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nimish\nMake Nim support C macro for fun!\n\n## Usage\n\n**translate single file**\n\n```bash\nnimish example.nish\n```\n\n**translate all files(must be with the extension \".nish\")**\n```bash\nnimish --all\nnimish -a\n```\n\n**Run as Nim file**\n\nYou can pass the same parameters as normal Nim's file, make\nsure filename is at the end of the parameters list.\n\n```bash\nnimish c -r example.nish\n```\n\n## Example\n\n**example.nish**\n\n```nim\n#define text 12\n#define name \"string\"\n#define Add(a, b) a + b\n\n\nproc hello(a: int) =\n  echo \"Hello, World!\"\n  echo text\n  echo Add(3, 4)\n  echo name\n```\n\nType `nimish example.nim.c` -\u003e\n\n**example.nim**\n```nim\n\n\n# 1 \"example.nim.c\"\n# 1 \"\u003cbuilt-in\u003e\"\n# 1 \"\u003ccommand-line\u003e\"\n# 1 \"example.nim.c\"\n\n\n\nproc hello(a: int) =\n  echo \"Hello, World!\"\n  echo 12\n  echo 3 + 4\n  echo \"string\"\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringabout%2Fnimish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringabout%2Fnimish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringabout%2Fnimish/lists"}