{"id":13750527,"url":"https://github.com/msvincognito/logic-tables.jl","last_synced_at":"2025-05-09T15:32:04.498Z","repository":{"id":80268223,"uuid":"224912550","full_name":"msvincognito/logic-tables.jl","owner":"msvincognito","description":"Utility to create truth tables out of simple expressions","archived":false,"fork":false,"pushed_at":"2019-11-30T21:19:04.000Z","size":13,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-22T13:31:25.791Z","etag":null,"topics":["julia","truth-tables"],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/msvincognito.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-29T19:36:06.000Z","updated_at":"2024-08-03T08:01:45.848Z","dependencies_parsed_at":null,"dependency_job_id":"ad47b2b8-cfe2-4336-8047-24f0df26f0f5","html_url":"https://github.com/msvincognito/logic-tables.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msvincognito%2Flogic-tables.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msvincognito%2Flogic-tables.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msvincognito%2Flogic-tables.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msvincognito%2Flogic-tables.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msvincognito","download_url":"https://codeload.github.com/msvincognito/logic-tables.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253275619,"owners_count":21882340,"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":["julia","truth-tables"],"created_at":"2024-08-03T08:00:37.386Z","updated_at":"2025-05-09T15:32:04.246Z","avatar_url":"https://github.com/msvincognito.png","language":"Julia","funding_links":[],"categories":["Bachelor"],"sub_categories":["Logic"],"readme":"# logic-tables.jl\nA tiny [Julia](https://julialang.org/) utility to create truth tables out of simple\npropositional logic expressions, inspired by the Logic course.\n\nReally just made to brag about Julia's handling of unicode characters in code as\noperators.\n\n## How to run it?\n\nInstall [newest version of Julia](https://julialang.org/downloads/) for your operating system.\n\nNote that it is recommended to install it on MacOS using Homebrew: `brew cask install julia`, since it automatically enables the `julia` command. It might be required to open the Julia.app app in the Finder and allow it to be executed, since the developers are not confirmed by Apple.\n\nTo run, execute the `julia logic-tables.jl \"expression (optional)\" \"output_name(optional)\"` command in your command line.\n\nBoth expressuion and output_name are set as optional, since if no expression is provided, the utility will ask user for input and automatically save it in a file called \"table\". The table there is ready to use in your Latex file.\n\nTo use the LaTeX table, insert the following in the headers:\n ```\n \\usepackage{amstext} % for \\text macro\n \\usepackage{array}   % for \\newcolumntype macr\n \\newcolumntype{L}{\u003e{$}l\u003c{$}} % math-mode version of \"l\" column type\n ```\n\n## Expressions\n\nThe following syntax is accepted:\n - not a, ¬a\n - a and b, a \u0026\u0026 b, a ∧ b\n - a or b, a || b, a ∨ b\n - if a then b, a implies b, a -\u003eb, a → b\n - a iff b, a \u003c-\u003e b, a ↔ b\n\n## Examples\n `julia logic-tables.jl \"if (a and b) then (c implies not a)\"`\n\n  `julia logic-tables.jl \"not (a -\u003e b) or (b \u003c-\u003e a)\" \"output_table.tex\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsvincognito%2Flogic-tables.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsvincognito%2Flogic-tables.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsvincognito%2Flogic-tables.jl/lists"}