{"id":26483687,"url":"https://github.com/raymondjavaxx/yuka","last_synced_at":"2025-06-30T22:05:56.731Z","repository":{"id":137291360,"uuid":"2486747","full_name":"raymondjavaxx/yuka","owner":"raymondjavaxx","description":"simple and lightweight expression evaluator","archived":false,"fork":false,"pushed_at":"2013-12-26T05:44:22.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T04:57:37.229Z","etag":null,"topics":["bytecode","expression-evaluator","expression-parser"],"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/raymondjavaxx.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":"2011-09-30T03:22:44.000Z","updated_at":"2020-08-03T22:58:46.000Z","dependencies_parsed_at":"2023-03-12T00:45:19.401Z","dependency_job_id":null,"html_url":"https://github.com/raymondjavaxx/yuka","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raymondjavaxx/yuka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raymondjavaxx%2Fyuka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raymondjavaxx%2Fyuka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raymondjavaxx%2Fyuka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raymondjavaxx%2Fyuka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raymondjavaxx","download_url":"https://codeload.github.com/raymondjavaxx/yuka/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raymondjavaxx%2Fyuka/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262857263,"owners_count":23375490,"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":["bytecode","expression-evaluator","expression-parser"],"created_at":"2025-03-20T04:57:39.165Z","updated_at":"2025-06-30T22:05:56.652Z","avatar_url":"https://github.com/raymondjavaxx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yuka\n====\n\nYuka is a lightweight expression evaluator writen in C++. \n\nHow To Use It\n-------------\n\nJust create an instance of `yuka::Compiler` and use it for compiling your expression into Yuka bytecode. The bytecode can later be fed to an instance of `yuka::VM` for evaluation.\n\n\t#include \"yuka/yuka.h\"\n\t...\n\tchar expression[] = \"(5^2)+3*5\";\n\tyuka::Compiler *compiler = new yuka::Compiler();\n\tyuka::ByteCode *bc = compiler-\u003ecompile(expression, strlen(expression));\n\n\tyuka::VM *vm = new yuka::VM;\n\tyuka::Value result = vm-\u003erun(bc);\n\tcout \u003c\u003c result.int_value \u003c\u003c endl; // 40\n\nTODO:\n-----\n\n* Add support for constants (and variables?)\n* Function support\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraymondjavaxx%2Fyuka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraymondjavaxx%2Fyuka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraymondjavaxx%2Fyuka/lists"}