{"id":20129485,"url":"https://github.com/dra1ex/feel","last_synced_at":"2025-07-31T17:10:11.454Z","repository":{"id":11886143,"uuid":"14447958","full_name":"DrA1ex/FEEL","owner":"DrA1ex","description":"Fast Expression Evaluator Library (C++, .NET)","archived":false,"fork":false,"pushed_at":"2016-06-16T10:05:54.000Z","size":84,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T02:26:59.906Z","etag":null,"topics":["c-plus-plus","c-sharp","compilation","evaluation","expression","expression-evaluator","expressionengine","math"],"latest_commit_sha":null,"homepage":"","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/DrA1ex.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":"2013-11-16T14:04:34.000Z","updated_at":"2021-10-28T08:26:23.000Z","dependencies_parsed_at":"2022-08-28T18:01:01.841Z","dependency_job_id":null,"html_url":"https://github.com/DrA1ex/FEEL","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DrA1ex/FEEL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2FFEEL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2FFEEL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2FFEEL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2FFEEL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrA1ex","download_url":"https://codeload.github.com/DrA1ex/FEEL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrA1ex%2FFEEL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268075116,"owners_count":24191666,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c-plus-plus","c-sharp","compilation","evaluation","expression","expression-evaluator","expressionengine","math"],"created_at":"2024-11-13T20:34:35.262Z","updated_at":"2025-07-31T17:10:11.424Z","avatar_url":"https://github.com/DrA1ex.png","language":"C++","readme":"Fast Expression Evaluator Library (c++, .net)\n====\n\nYet another Expression Evaluator, but with **compilation** into **native code**\nWith this library you can evaluate math expressions fast and easily.\n\nGet Started:\n---\n    var expression = new ExpressionEvaluator(\"sqrt(r^2 - x^2)\");\n\n    expression.SetVariableValue(\"r\", 10);\n    expression.SetVariableValue(\"x\", 5);\n\n    Console.WriteLine(expression.Execute());\n\nAlso you can see [Tests](https://github.com/DrA1ex/FEEL/tree/master/ExpressionEvaluator.Test), simple demo [project](https://github.com/DrA1ex/FEEL/blob/master/ExpressionCalculatorDemo/Program.cs), [benchmark](https://github.com/DrA1ex/FEEL/blob/master/ExpressionEvaluatorNetBenchmark/Program.cs), or advanced example [Curves Demo](https://github.com/DrA1ex/FEEL.CurveDemo).\n\nInstallation:\n---\nFor all platforms:\n\nFEEL require Visual C++ 2015 Redistributable. You can download it from here: https://www.microsoft.com/download/details.aspx?id=48145\n\nFor .NET version:\n\n    Install-Package Feel.Net\n\nFor C++:\nSee [releases](https://github.com/DrA1ex/FEEL/releases) section\n\nFeatures:\n---\n\n1. Easy extensible (you can add more operations if you want)\n2. Fast (expression **compiling** into **native code**)\n3. Powerful (you can use variables and change it without side effects)\n\n\nAt this point Expression Evaluator supports only Windows platform. \n\nCompile isn't perfect now, but more faster, than generic solution.\n\nSome benchmarks:\n---\n\n```\nExpression:     \"(cos(x)^0.5*cos(200*x)+abs(x)^0.5-0.7)*(4-x^2)^0.01\"\nStart value:    -1.5\nEnd value:      1.5\nSteps:          1000000 (1m)\n\n.NET Benchmark results:\nLibrary name            Avg. time\nFEEL (this library):    343.42 ms\nCiloci.Flee:            376.78 ms (9.72 % slower)\nNCalc:                  3280.52 ms (855.26 % slower)\n\nC# compiled code:       194.35 ms (43.41 % faster)\n\nC++ Benchmark results:\nLibrary name            Avg. time\nFEEL (this library):    223.8 ms\n\nC++ compiled code:      123.2 ms (81.3941% faster)\n```\n\nLicense:\n---\nThe MIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdra1ex%2Ffeel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdra1ex%2Ffeel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdra1ex%2Ffeel/lists"}