{"id":13846350,"url":"https://github.com/emdash/goof","last_synced_at":"2025-07-12T07:32:26.989Z","repository":{"id":1087681,"uuid":"939131","full_name":"emdash/goof","owner":"emdash","description":"A toy functional language created through the abuse of C","archived":true,"fork":false,"pushed_at":"2010-09-26T20:43:36.000Z","size":124,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"no_commas","last_synced_at":"2024-02-17T10:36:05.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emdash.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-25T20:34:23.000Z","updated_at":"2024-01-13T13:39:21.000Z","dependencies_parsed_at":"2022-07-15T07:17:19.883Z","dependency_job_id":null,"html_url":"https://github.com/emdash/goof","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/emdash%2Fgoof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emdash%2Fgoof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emdash%2Fgoof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emdash%2Fgoof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emdash","download_url":"https://codeload.github.com/emdash/goof/tar.gz/refs/heads/no_commas","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225807252,"owners_count":17527219,"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-08-04T18:00:30.746Z","updated_at":"2024-11-21T21:30:24.712Z","avatar_url":"https://github.com/emdash.png","language":"C","readme":"Copyright (C) 2010 Brandon Lewis\n\n    Introduction\n\nGoof is an experimental functional language with a novel implementation. It is\na library of functions and macros which combine to create the illusion that\nyou are writing in a high-level language. Despite this, goof programs are C\nprograms. They are compiled and executed like any other.\n\nDon't be fooled into thinking it's efficient: Goof is essentially a dynamic\nlanguage, with the runtime implemented directly in C.\n\nGoof programs are expressed as nested calls to functions and macros. Each\nfunction returns a pointer to an object which implements a language contruct. \n\n    Known Downsides (or, \"Why in God's name are you doing this?\")\n\n- I just wrote it over the weekend for fun\n- No memory management at present\n- Dynamic implementation is probably inefficient\n- I am largely ignorant of how concurrency might affect this system\n- Possibly difficult to debug, and syntax erros are difficult to resolve due\n  to the heavy abuse of preprocessor macros.\n\n    Potential Upsides\n\nThough I acknowledge that this is really a pretty terrible thing to do to an\nunsuspecting C programmer, I feel that there might be certain useful features\nof this approach that are worth exploring. In addition to the well-known\nadvantages of functional programming, goof might offer the following:\n\n- educational value\n- small implementation\n- easy to add new constructs to the language\n- easy to inter-operate between C and goof\n- requires nothing other than a C compiler (after removing the glib code)\n- you potentially mix and match different semantics within the same executable\n  (e.g. applicative versus normal order, eager versus strict, allow\n  non-deterministic evaluation etc).\n\n    Liscence\n\nGoof is available under LGPL v3\n","funding_links":[],"categories":["C language extensions"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femdash%2Fgoof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femdash%2Fgoof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femdash%2Fgoof/lists"}