{"id":16446460,"url":"https://github.com/fbukevin/set_calculator","last_synced_at":"2026-03-04T13:02:51.998Z","repository":{"id":70827650,"uuid":"11568938","full_name":"fbukevin/set_calculator","owner":"fbukevin","description":"A compiler project to create a set calculator developed with flex and bison and is prepared for code generating by LLVM.","archived":false,"fork":false,"pushed_at":"2013-07-21T22:56:18.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T10:16:41.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/fbukevin.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-07-21T22:43:11.000Z","updated_at":"2014-03-11T12:54:21.000Z","dependencies_parsed_at":"2023-02-21T12:25:51.863Z","dependency_job_id":null,"html_url":"https://github.com/fbukevin/set_calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fbukevin/set_calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbukevin%2Fset_calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbukevin%2Fset_calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbukevin%2Fset_calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbukevin%2Fset_calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbukevin","download_url":"https://codeload.github.com/fbukevin/set_calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbukevin%2Fset_calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30081080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T12:28:08.313Z","status":"ssl_error","status_checked_at":"2026-03-04T12:27:28.210Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-11T09:47:41.263Z","updated_at":"2026-03-04T13:02:51.958Z","avatar_url":"https://github.com/fbukevin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"set_calculator\n==============\n\nA compiler project to create a set calculator developed with flex and bison and is prepared for code generating by LLVM.\n\nThe input should be like this: (#commment)\n\n{'d', 'f'} + {'d'}    #union\n\n{'a', 'b'} - {'b'}    #difference\n\n{'g', 'e'} * {'g'}    #intersection\n\nand the expected out put should be:\n\n{'d', 'f'}\n\n{'a'}\n\n{'g'}\n\nPlease make sure your computer has flex and bison installation to run this project.\n\nCurrent Version Notation\n========================\n\n1. The calc++ example in bison officially provided package is too complex to understand, so I directly modify a simple sample on the internet. \n\n2. Please directly use \"make\" command to compile automatically. If there is an error occurs at the step of \"flex\", you could try \"flex calc.l\" instead of \"flex -o calc.lex.c calc.l\". (This is the problem of the version of bison)\n\n3. After compilation, the output file is \"a.out\". The usage is \"./a.out \u003c input\" which \"input\" is the input file in the compression.\n\n4. I was trying hard to do the project, but I've faced a big problem when running the program. The program can scan the input expression till it looks to a operation (+, -, *). I have no idea why the program is always said that \"syntax error\". In my opinion, it is correct about my grammar to parse the input expression like \"{'a', 'b'} + {'d'}\" ..., and so on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbukevin%2Fset_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbukevin%2Fset_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbukevin%2Fset_calculator/lists"}