{"id":23187001,"url":"https://github.com/metastable-void/noweb-test","last_synced_at":"2026-01-19T15:11:11.935Z","repository":{"id":138373169,"uuid":"228857302","full_name":"metastable-void/noweb-test","owner":"metastable-void","description":"NOWEB as a Markdown processing tool","archived":false,"fork":false,"pushed_at":"2019-12-18T15:05:27.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T05:11:19.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metastable-void.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":"2019-12-18T14:29:19.000Z","updated_at":"2019-12-18T15:03:25.000Z","dependencies_parsed_at":"2023-03-14T02:45:17.529Z","dependency_job_id":null,"html_url":"https://github.com/metastable-void/noweb-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/metastable-void/noweb-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fnoweb-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fnoweb-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fnoweb-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fnoweb-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metastable-void","download_url":"https://codeload.github.com/metastable-void/noweb-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fnoweb-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28572998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T14:39:55.009Z","status":"ssl_error","status_checked_at":"2026-01-19T14:39:01.217Z","response_time":67,"last_error":"SSL_read: 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":"2024-12-18T10:18:21.749Z","updated_at":"2026-01-19T15:11:11.931Z","avatar_url":"https://github.com/metastable-void.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOWEB as a Markdown processing tool\n\n[**NOWEB**][noweb] can be used for extracting codes in Markdown text.\nIn this example, we define the format as follows:\n- Documentation in Markdown\n- Chunk separater\n- Code in C\n\nThe code is from [the author's Gist][gist].\n\n[noweb]: http://www.cs.tufts.edu/~nr/noweb/\n[gist]: https://gist.github.com/metastable-void/ce228ede4f083e66e9abf24951ece64a\n\n## Prerequiresite\n\nInstall [NOWEB][noweb].\n\n## Use\n\nTo emit C source, use this: `notangle -Rhello.c README.md \u003e hello.c`\n\nAlternatively, you can use the Makefile: `make`\n\nUse `make clean` to clear all artifacts.\n\n## License\n\nCopyright (C) 2019  Menhera.org developers.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut **WITHOUT ANY WARRANTY**; without even the implied warranty of\n**MERCHANTABILITY** or **FITNESS FOR A PARTICULAR PURPOSE**.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n## hello.c\n\n\u003c\u003chello.c\u003e\u003e=\n\t\n\t#include \u003cstdlib.h\u003e\n\t#include \u003cstdio.h\u003e\n\n\t#define\tS(X)\tsizeof(X)\n\t#define\tM\tmalloc\n\t#define\tW\tfwrite\n\t#define\tO\tstdout\n\t#define\tR\treturn\n\n\ttypedef void V;\n\ttypedef char C;\n\ttypedef int I;\n\ttypedef V *P;\n\ttypedef P F (P, ...);\n\n\tI o;\n\tI e;\n\tI i;\n\tC *b;\n\n\tI main (V)\n\t{\n\t\tF *f[] = {(F *) \u0026M, (F *) \u0026W};\n\t\te = i = o ^= o;\n\t\t++e;\n\t\tb = (*f) ((P) (S(C) * (e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e)));\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e ^ e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e ^ e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e ^ e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e ^ e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\t*(i + b) = (C) (e \u003c\u003c e ^ e \u003c\u003c e \u003c\u003c e \u003c\u003c e);\n\t\t++i;\n\t\te[f] (b, e, i, O);\n\t\tR o;\n\t}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetastable-void%2Fnoweb-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetastable-void%2Fnoweb-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetastable-void%2Fnoweb-test/lists"}