{"id":19297256,"url":"https://github.com/TIHan/Ferop","last_synced_at":"2025-04-22T08:31:29.083Z","repository":{"id":15535323,"uuid":"18269992","full_name":"TIHan/Ferop","owner":"TIHan","description":"Ferop is a .NET library that allows inline C/C++ to compile and run on Windows/Linux/OSX. (beta, not production ready)","archived":false,"fork":false,"pushed_at":"2019-12-06T20:38:49.000Z","size":22029,"stargazers_count":35,"open_issues_count":5,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-04T11:39:05.409Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TIHan.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}},"created_at":"2014-03-30T18:02:25.000Z","updated_at":"2022-12-05T16:53:55.000Z","dependencies_parsed_at":"2022-09-21T14:10:48.879Z","dependency_job_id":null,"html_url":"https://github.com/TIHan/Ferop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIHan%2FFerop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIHan%2FFerop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIHan%2FFerop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIHan%2FFerop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIHan","download_url":"https://codeload.github.com/TIHan/Ferop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206190,"owners_count":21392208,"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:49.564Z","updated_at":"2025-04-22T08:31:24.074Z","avatar_url":"https://github.com/TIHan.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"![ferop_icon](https://github.com/TIHan/Ferop/blob/master/ferop_icon.png?raw=true)\n=\n\n\u003ch3\u003eFerop is not maintained but still exists as a reference to the idea of having inline C/C++ code inside of .NET\u003c/h3\u003e\n\nFerop is a .NET library that allows inline C/C++ to compile and run on Windows/Linux/OSX.\n\niOS and Android support is planned.\n\nQuick Start\n-\n\n\u003ch3\u003eF#\u003c/h3\u003e\n\n```fsharp\nopen Ferop\n\n[\u003cFerop\u003e]\n[\u003cHeader(\"\"\"#include \u003cstdio.h\u003e\"\"\")\u003e]\nmodule Native =\n    [\u003cImport; MI(MIO.NoInlining)\u003e]\n    let printHelloWorld() : unit = C \"\"\"printf(\"Hello World!\\n\");\"\"\"\n\n[\u003cEntryPoint\u003e]\nlet main args =\n    Native.printHelloWorld()\n    0\n```\n\n\u003ch3\u003eC#\u003c/h3\u003e\n\n```csharp\nnamespace Native\n{\n    using Ferop;\n\n    [Ferop]\n    [Header(\"#include \u003cstdio.h\u003e\")]\n    class Native\n    {\n        [Import]\n        public static void PrintHelloWorld()\n        {\n            Ferop.C (@\"printf(\"\"Hello World!\\n\"\");\");\n        }\n\n        static void Main(string[] args)\n        {\n            PrintHelloWorld();\n            System.Console.Read();\n        }\n    }\n}\n```\n\n\u003ch3\u003eVB\u003c/h3\u003e\n\n```vb\nImports Ferop\n\n\u003cFerop\u003e\n\u003cHeader(\"#include \u003cstdio.h\u003e\")\u003e\nModule Native\n\n    \u003cImport\u003e\n    Public Sub PrintHelloWorld()\n        Call Ferop.C(\"printf(\"\"Hello World!\\n\"\");\")\n    End Sub\n\n    Sub Main()\n        Call PrintHelloWorld()\n        Console.ReadLine()\n    End Sub\n\nEnd Module\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTIHan%2FFerop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTIHan%2FFerop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTIHan%2FFerop/lists"}