{"id":13830375,"url":"https://github.com/paul-j-lucas/cdecl","last_synced_at":"2026-02-28T16:01:36.859Z","repository":{"id":42519860,"uuid":"85746527","full_name":"paul-j-lucas/cdecl","owner":"paul-j-lucas","description":"Composing and deciphering C (or C++) declarations or casts, aka ‘‘gibberish.’’ ","archived":false,"fork":false,"pushed_at":"2026-02-24T01:52:28.000Z","size":17687,"stargazers_count":314,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-24T08:18:59.790Z","etag":null,"topics":["c","cdecl","cplusplus","developer-tools"],"latest_commit_sha":null,"homepage":"","language":"C","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/paul-j-lucas.png","metadata":{"files":{"readme":"README-2.5.txt","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-21T19:50:36.000Z","updated_at":"2026-02-24T01:52:32.000Z","dependencies_parsed_at":"2023-12-18T22:59:31.404Z","dependency_job_id":"72f63cfd-f3b9-456c-9ea4-a077b48424d9","html_url":"https://github.com/paul-j-lucas/cdecl","commit_stats":null,"previous_names":[],"tags_count":126,"template":false,"template_full_name":null,"purl":"pkg:github/paul-j-lucas/cdecl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-j-lucas%2Fcdecl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-j-lucas%2Fcdecl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-j-lucas%2Fcdecl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-j-lucas%2Fcdecl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paul-j-lucas","download_url":"https://codeload.github.com/paul-j-lucas/cdecl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-j-lucas%2Fcdecl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29941796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["c","cdecl","cplusplus","developer-tools"],"created_at":"2024-08-04T10:00:59.225Z","updated_at":"2026-02-28T16:01:36.804Z","avatar_url":"https://github.com/paul-j-lucas.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"\t\t\tCdecl version 2.5\n\nCdecl is a program which will turn English-like phrases such as \"declare\nfoo as array 5 of pointer to function returning int\" into C declarations\nsuch as \"int (*foo[5])()\".  It can also translate the C into the pseudo-\nEnglish.  And it handles typecasts, too.  Plus C++.  And in this version\nit has command line editing and history with the GNU readline library.\n\nThe files in this distribution are:\n\ncdecl.c\t\tThe cdecl source code.\ncdlex.l\t\tThe lex source for the cdecl lexer.\ncdgram.y\tThe yacc source for the cdecl parser.\ncdecl.1\t\tThe cdecl man page.\nc++decl.1\tThe c++decl man page (really just cdecl.1).\ntestset\t\tA script to test the operation of cdecl.\ntestset++\tA script to test the operation of c++decl.\nMakefile\tThe makefile to build and install cdecl.\nREADME\t\tSee file README for description of this file.\n\nIf you have the GNU readline library and its headers in readline/*.h and\ntermcap then you can install cdecl by \"make\" followed by \"make install\".\nTo compile without readline and termcap, you must edit the Makefile and\nremove -DUSE_READLINE from the CFLAGS and -lreadline and -ltermcap from\nthe LIBS.  You will, unfortunately, lose the command line editing,\nhistory, and keyword completion.  By default cdecl installs in /usr/bin,\nbut this is configurable in the Makefile.\n\nI debated with myself whether to provide a precompiled libreadline.a and\nassociated headers with the cdecl distribution, however that would have\nmade the tar file *much* bigger, so I have decided not to.  If you think\nI should, or you would like me to send you readline, please get in touch\nwith me at conrad@detroit.freenet.org.  You can find the source for\nreadline in the bash distribution on prep.ai.mit.edu:/pub/gnu or on\nftp.uu.net:/pub/gnu, or wherever fine GNU source isn't sold.\n\nYou should also be able to find a ready-to-run ELF binary of cdecl in the\nsame place you got this from.  It should be on sunsite.unc.edu in the\ndirectory /pub/Linux/devel/lang/c/, or on any of the many sunsite mirrors.\nMy three favorites are ftp.cc.gatech.edu, ftp.cdrom.com, and\nuiarchive.cso.uiuc.edu.\n\nYou may well be wondering what the status of cdecl is.  So am I.  It was\ntwice posted to comp.sources.unix, but neither edition carried any mention\nof copyright.  This version is derived from the second edition.  I have\nno reason to believe there are any limitations on its use, and strongly\nbelieve it to be in the Public Domain.  GNU readline is, of course,\ncovered by the GNU General Public License.\n\nI was inspired to port cdecl to Linux as there was no version of it\navailable in the various Linux software archives that I am aware of.\nThe addition of GNU readline support seemed like a logical extension\nof the program.  Be warned, however, that linking with readline more\nthan doubles the size of the program.  Those whose main concern is\nspace might wish to build a version without readline.\n\nDavid R. Conrad\nconrad@detroit.freenet.org\nDetroit, Michigan, USA\n16 January 1996\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-j-lucas%2Fcdecl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaul-j-lucas%2Fcdecl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-j-lucas%2Fcdecl/lists"}