{"id":19297326,"url":"https://github.com/Overv/lambda","last_synced_at":"2025-04-22T09:30:42.668Z","repository":{"id":41190257,"uuid":"5915666","full_name":"Overv/lambda","owner":"Overv","description":"Compile anonymous functions based on C# lambda expressions at runtime.","archived":false,"fork":false,"pushed_at":"2012-09-28T23:06:03.000Z","size":233,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T06:34:35.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Overv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-22T18:27:54.000Z","updated_at":"2022-06-29T11:52:51.000Z","dependencies_parsed_at":"2022-09-03T02:21:59.316Z","dependency_job_id":null,"html_url":"https://github.com/Overv/lambda","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/Overv%2Flambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Overv%2Flambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Overv%2Flambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Overv%2Flambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Overv","download_url":"https://codeload.github.com/Overv/lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250214994,"owners_count":21393707,"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-11-09T23:01:51.697Z","updated_at":"2025-04-22T09:30:42.310Z","avatar_url":"https://github.com/Overv.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# lambda\n\nThis is an experimental library for compiling anonymous functions based on C#'s lambda expressions at runtime. It serves as a minimal example of runtime code generation and not necessarily something useful in practice. The library only supports the x86 instruction set as of this time.\n\n## Sample\n\n```c\n#include \u003cstdio.h\u003e\n#include \u003clambda.h\u003e\n\nint main()\n{\n\tint x;\n\n\tlambda_func f = lambda_compile(\"3xx+5x-9\");\n\n\tfor (x = 1; x \u003c= 10; x++) {\n\t\tprintf(\"%d squared = %d\\n\", x, f(x));\n\t}\n\n\tlambda_cleanup(f);\n\n\treturn 0;\n}\n```\n\n## Todo\n\n* Floating point numbers\n* Bracket support\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOverv%2Flambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOverv%2Flambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOverv%2Flambda/lists"}