{"id":17141494,"url":"https://github.com/iskandr/ocaml_llvm","last_synced_at":"2025-07-18T17:05:48.204Z","repository":{"id":2538853,"uuid":"3516155","full_name":"iskandr/ocaml_llvm","owner":"iskandr","description":"Toy compiler for OCaml Meetup","archived":false,"fork":false,"pushed_at":"2012-02-25T01:01:18.000Z","size":128,"stargazers_count":67,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T10:30:30.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iskandr.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-22T16:03:18.000Z","updated_at":"2024-11-06T21:43:14.000Z","dependencies_parsed_at":"2022-09-10T01:02:42.497Z","dependency_job_id":null,"html_url":"https://github.com/iskandr/ocaml_llvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iskandr/ocaml_llvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Focaml_llvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Focaml_llvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Focaml_llvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Focaml_llvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iskandr","download_url":"https://codeload.github.com/iskandr/ocaml_llvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Focaml_llvm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265798335,"owners_count":23829920,"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-14T20:25:33.961Z","updated_at":"2025-07-18T17:05:48.179Z","avatar_url":"https://github.com/iskandr.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"Here's toy language for 32-bit float computations in OCaml.\n\nFor example, if you want to compute the n'th harmonic number, you could encode this as:\n    let harmonic : compiled_fn = \n      compile { \n        name =\"harmonic\";\n        inputs = [\"n\"];\n        body = Sum(\"i\", Num 1.0, Var \"n\", Div(Num 1.0, Var \"i\"));\n      }\n\nYour function gets compiled to native code using LLVM. You can then call 'harmonic' like this:\n    run harmonic [10.0] \n\nDon't use this compiler in a space vehicle.  \n\nDo use it to learn about LLVM. \n\nCheers, \nAlex\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Focaml_llvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiskandr%2Focaml_llvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Focaml_llvm/lists"}