{"id":21044136,"url":"https://github.com/dotpipe/cngn","last_synced_at":"2026-02-04T03:03:15.790Z","repository":{"id":56064127,"uuid":"314277966","full_name":"dotpipe/CNGN","owner":"dotpipe","description":"Computational Machine Language Engine","archived":false,"fork":false,"pushed_at":"2024-09-15T01:08:24.000Z","size":634,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T16:21:34.827Z","etag":null,"topics":["binary","compiler","php-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dotpipe.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":"2020-11-19T14:46:43.000Z","updated_at":"2024-09-15T01:08:27.000Z","dependencies_parsed_at":"2023-01-31T09:31:36.568Z","dependency_job_id":null,"html_url":"https://github.com/dotpipe/CNGN","commit_stats":null,"previous_names":["irondocks/cngn","dotpipe/cngn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotpipe%2FCNGN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotpipe%2FCNGN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotpipe%2FCNGN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotpipe%2FCNGN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotpipe","download_url":"https://codeload.github.com/dotpipe/CNGN/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254388284,"owners_count":22063018,"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":["binary","compiler","php-framework"],"created_at":"2024-11-19T14:15:40.662Z","updated_at":"2026-02-04T03:03:15.715Z","avatar_url":"https://github.com/dotpipe.png","language":"PHP","readme":"# CNGN\nComputational Machine Language Engine\n\nFor a ridiculously cool look at binary coding reinvented, give this a peep. It's you, math and strings :)\n\nLooking for other languages to be done this way. Just add a pull request!\n\n$x = new CNGN(5);\n\n// Use stringParse to dynamically insert data into strings\n\n$string = \"inadeio {x0} {x1} {x2} {x3} {x4}\";\n\n$x-\u003eload_vars([25, 2, 3, 4, 60]);\n\n$string = $x-\u003estringParse($string, $x-\u003evars);\n\necho $string . \"\u003cbr /\u003e\";\n\n$x-\u003eadd_vars(3);\n\n$x-\u003eset_f_of('1 - 3 + {x0}');\n\n$x-\u003eset_g_of('1 + {x0} + 20');\n\n$seq = [6, 10, 35, 30, 10, 4, 5];\n\n$x-\u003eregister_fn_x(2);\n\n$seq = [\"{x2} + {x6}\", 22, \"{x1} + 3\", 30, [10, 11, -2], 4, 5, \"101010\"];\n\n$x-\u003eload_vars($seq);\n\n//               don't sweat this, 011001 is the code for 'return *';\n\n$x-\u003eload_fn_x([\"{x0}\", \"{x5} {c011001,0} - {x2} +  {x3} + 5 + {x1}\"]);\n\necho json_encode($x-\u003efn_x);\n\n$t = $x-\u003emathParse($x-\u003efn_x[1], $x-\u003evars);\n\n$t = -28\n\n$f = [[45, -2, 16], [23, 5, 16]];\n\n$t = $x-\u003emathParse($x-\u003efn_x[1], $f);\n\n$t = -28\n\n$t = $x-\u003eintegrand($f[0]);\n\n$x-\u003eload_fn_x([\"{c011110,1}{c011110,5}{c011110,0}\",\"{c111011,7}\"]);\n\n\nJust use your imagination and the criteria to come up with the answer you require!\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotpipe%2Fcngn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotpipe%2Fcngn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotpipe%2Fcngn/lists"}