{"id":24488528,"url":"https://github.com/codx-dev/truthful","last_synced_at":"2025-06-20T15:41:41.843Z","repository":{"id":64893174,"uuid":"579241240","full_name":"codx-dev/truthful","owner":"codx-dev","description":"A logical expression parser, optimizer and evaluator.","archived":false,"fork":false,"pushed_at":"2022-12-17T23:45:35.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T22:34:34.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codx-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-17T03:09:28.000Z","updated_at":"2022-12-17T03:10:59.000Z","dependencies_parsed_at":"2023-01-29T18:16:02.628Z","dependency_job_id":null,"html_url":"https://github.com/codx-dev/truthful","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codx-dev/truthful","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codx-dev%2Ftruthful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codx-dev%2Ftruthful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codx-dev%2Ftruthful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codx-dev%2Ftruthful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codx-dev","download_url":"https://codeload.github.com/codx-dev/truthful/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codx-dev%2Ftruthful/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260973652,"owners_count":23091157,"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":[],"created_at":"2025-01-21T16:19:56.582Z","updated_at":"2025-06-20T15:41:36.831Z","avatar_url":"https://github.com/codx-dev.png","language":"Rust","readme":"# Truthful\n\n[![crates.io](https://img.shields.io/crates/v/truthful?label=latest)](https://crates.io/crates/truthful)\n[![Documentation](https://docs.rs/truthful/badge.svg)](https://docs.rs/truthful/)\n[![License](https://img.shields.io/crates/l/truthful.svg)]()\n\nA logical expression parser, optimizer and evaluator.\n\n```shell\n$ cargo run\nwelcome! enter ? for help\n\u003e a or (a and b)\nevaluating \"a\"\n a  eval\n 0   0\n 1   1\n\u003e !a v b\nevaluating (!\"a\" v \"b\")\n a  b  eval\n 0  0   1\n 0  1   1\n 1  0   0\n 1  1   1\n\u003e q\nbye!\n```\n\n# TODO\n\n* Grammar operator precedence.\n* Actual optimization (the current one is a bunch of NAND + DeMorgan naive transformations).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodx-dev%2Ftruthful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodx-dev%2Ftruthful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodx-dev%2Ftruthful/lists"}