{"id":24756710,"url":"https://github.com/izumra/funcgen","last_synced_at":"2025-09-01T03:35:43.354Z","repository":{"id":274195373,"uuid":"922150461","full_name":"Izumra/FuncGen","owner":"Izumra","description":"Function generator for Swift programming language writin on pure Go","archived":false,"fork":false,"pushed_at":"2025-01-25T15:36:50.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T16:24:25.134Z","etag":null,"topics":["generator-function","generator-functions","go","instruction","script","swift"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Izumra.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-25T13:04:32.000Z","updated_at":"2025-01-25T15:36:53.000Z","dependencies_parsed_at":"2025-01-25T16:34:45.520Z","dependency_job_id":null,"html_url":"https://github.com/Izumra/FuncGen","commit_stats":null,"previous_names":["izumra/funcgen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Izumra%2FFuncGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Izumra%2FFuncGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Izumra%2FFuncGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Izumra%2FFuncGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Izumra","download_url":"https://codeload.github.com/Izumra/FuncGen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245070798,"owners_count":20556179,"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":["generator-function","generator-functions","go","instruction","script","swift"],"created_at":"2025-01-28T14:20:07.065Z","updated_at":"2025-03-23T07:29:40.506Z","avatar_url":"https://github.com/Izumra.png","language":"Go","readme":"# FuncGen :sloth:\nFunction generator for Swift programming language writin on pure Go\n## Description\nThis project may be useful for rowers which rovs on whichever galley for fast generating simple stump functions on the **Swift** programming language and inserting it for making up uniquess at the code \n## Usage\nYou can use it whatever you want. For generating functions manually by using cli with specified flags which definition provided below. Or you can use my package by importing it and use in your solutions.\n### Examples :otter:\n\u003e [!NOTE]\n\u003e These examples was generated with standart values of CLI flags\n\u003cdetails\u003e\n\u003csummary\u003e\u003cbold\u003eExample 1\u003c/bold\u003e\u003c/summary\u003e\n\n```\n func HialeahMonkeyStack ()  -\u003e Void {\n        var onHers: Int8? = -105\n        var outsideIn = Int8(62)\n        var nothingFairly: Int8 {\n                get {\n                        return Int8(95)\n                }\n                set {\n                        print(nothingFairly)\n                }\n        }\n        var instanceOf: Int8? = -69\n        var tripBeyond: Int8 = -56\n        var crewNormally = Int8(72)\n        var alwaysOut: Int8? = -10\n        var purseAfterwards: () -\u003e Int8 = {\n                return Int8(49)\n        }\n        var couldWhen: Int8\n        couldWhen = 99\n        nothingFairly = Int8(65) + nothingFairly\n        if (alwaysOut != nil) {\n                alwaysOut = Int8(5)\n        }\n        alwaysOut = 94\n        nothingFairly = (Int8(-110) \u003c\u003c Int8(-110))\n        while alwaysOut! \u003e (-56) {\n                for i: Int8 in (-115)...27 {\n                        outsideIn = 45\n                        switch nothingFairly {\n                        default:\n                                crewNormally = 37\n                                couldWhen = 55\n\n                        }\n\n                }\n                if ((Int8(116) \u003c onHers!) || (Int8(116) \u003e= Int8(78))) {\n                        alwaysOut = -122\n\n                }\n                else if ((Int8(-117) \u003e Int8(99))) {\n                        alwaysOut = (alwaysOut ?? Int8(34))\n\n                }\n                else{\n\n                }\n\n        }\n        for p: Int8 in (-110)...(-92) {\n                nothingFairly = 81\n                if (instanceOf != nil) {\n                        instanceOf = Int8(-21) * Int8(19) + instanceOf! / instanceOf!\n                }\n                outsideIn = 9\n                outsideIn = Int8(-78) - Int8(-93)\n                instanceOf = -50\n\n        }\n        alwaysOut = -122\n\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cbold\u003eExample 2\u003c/bold\u003e\u003c/summary\u003e\n\n```\n func SanFranciscoArmadilloSmell (_ besidesWhose: Int8?, _ downThere: Int8?) -\u003e Void {\n        var teamMoney: () -\u003e Int8 = {\n                return Int8(4)\n        }\n        var themselvesSpotted = Int8(-24)\n        var withoutFrantic: () -\u003e Int8 = {\n                return Int8(69)\n        }\n        var fewTheirs = Int8(112)\n        if ((themselvesSpotted \u003c themselvesSpotted) || (themselvesSpotted \u003e= themselvesSpotted) \u0026\u0026 (themselvesSpotted \u003c themselvesSpotted)) {\n                themselvesSpotted = Int8(-92) + themselvesSpotted / Int8(-3) + themselvesSpotted\n                themselvesSpotted = (Int8(16) \u003c\u003c themselvesSpotted) \u003e\u003e themselvesSpotted\n                fewTheirs = Int8(122) - fewTheirs * fewTheirs / Int8(17) + Int8(58)\n\n        }\n        else{\n                themselvesSpotted = -20\n                fewTheirs = 58\n                fewTheirs = Int8(-91) * Int8(74) + fewTheirs * Int8(17) / Int8(99)\n                fewTheirs = Int8(-50)\n                for s: Int8 in 2...31 {\n                        if ((Int8(-41) \u003c Int8(-31))) {\n                                themselvesSpotted = themselvesSpotted * Int8(-95)\n\n                        }\n                        else{\n                                fewTheirs = 104\n\n                        }\n                        if ((fewTheirs \u003e= Int8(97))) {\n\n                        }\n                        else{\n\n                        }\n\n                }\n                if ((Int8(83) \u003e Int8(27))) {\n                        themselvesSpotted = (Int8(-22) \u003e\u003e Int8(-29)) \u003c\u003c Int8(-78)\n\n                }\n                else if ((fewTheirs \u003c Int8(17))) {\n                        themselvesSpotted = themselvesSpotted ^ (themselvesSpotted \u003e\u003e Int8(71))\n\n                }\n                else if ((fewTheirs == fewTheirs) \u0026\u0026 (Int8(25) == Int8(16))) {\n                        fewTheirs = 75\n\n                }\n\n        }\n        fewTheirs = (fewTheirs \u003e\u003e Int8(74))\n        switch fewTheirs {\n        default:\n                while themselvesSpotted \u003c (-12) {\n\n                }\n\n        }\n\n}\n```\n\n\u003c/details\u003e\n\n### CLI :hammer_and_wrench:\nCLI for defferent platform presented in the folder **build**\n\nThere is presented description for each flag that would be needed for working with CLI with specified default values\n```\n$ ./build/linux/swiftgenerator -h\nUsage of ./build/linux/swiftgenerator:\n  -checkSyntax\n        Check generated function syntax or not.\n        -------\n        Проверять синтаксис сгенерированной функции или нет\n  -countFunctions uint\n        Count of the functions that would be generated.\n        -------\n        Количество функций, которые будет сгенерированы (default 1)\n  -countOperationsPerFunc uint\n        Count of operations that would be presented for the different perems in the generated function.\n        -------\n        Количество операций над переменными и элементами коллекций в сгенерированной функции (default 20)\n  -maxConditionsPerFunc uint\n        Max count of conditions with perems that would be presented in the generated function.\n        -------       \n        Максимальное количество сгенерированных условий с переменными в сгенерированной функции (default 5)\n  -maxCyclesPerFunc uint\n        Max count of the cycles that would be presented in the generated function.\n        -------\n        Максимальное количество сгенерированных циклов с переменными и коллекциями в сгенерированной функции (default 3)\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizumra%2Ffuncgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizumra%2Ffuncgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizumra%2Ffuncgen/lists"}