{"id":20836766,"url":"https://github.com/tommay/clock-in-erlang","last_synced_at":"2026-04-16T14:39:26.772Z","repository":{"id":27760277,"uuid":"31248465","full_name":"tommay/clock-in-erlang","owner":"tommay","description":"Rewrite of my \"clock equations\" program in Erlang.  I'm getting better!","archived":false,"fork":false,"pushed_at":"2015-09-12T03:26:39.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T09:35:30.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tommay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-24T07:00:10.000Z","updated_at":"2015-02-26T21:10:31.000Z","dependencies_parsed_at":"2022-09-08T12:01:05.354Z","dependency_job_id":null,"html_url":"https://github.com/tommay/clock-in-erlang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tommay/clock-in-erlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommay%2Fclock-in-erlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommay%2Fclock-in-erlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommay%2Fclock-in-erlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommay%2Fclock-in-erlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tommay","download_url":"https://codeload.github.com/tommay/clock-in-erlang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommay%2Fclock-in-erlang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28003986,"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-12-24T02:00:07.193Z","response_time":83,"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":[],"created_at":"2024-11-18T00:31:56.708Z","updated_at":"2025-12-24T15:12:58.742Z","avatar_url":"https://github.com/tommay.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"clock_equations\n===============\n\nFigure out the simple equations that can be made from the time on a digital clock\n\nMy 9-year old daughter Chloe and I like to look at the digital clock\nsometimes and make equations out of the numbers.  For example,\n12:02 could be 1*2+0 = 2, and 12:03 could be 1+2 = 0+3.\n\nI thought it would be fun to code up a program to find all the \"clock\nequations\".  So I did.  First in Ruby, now in Erlang.\n\nThere are two parts: generating the equations, and evaluating their\ntruth value.\n\nGenerating the equations is done in clock.erl.\n\nThe equations' truth values are determined using an expression\nevaluator (pratt_evaluator.erl) built on a generic Pratt parser\n(pratt_parser.erl).  That was the fun part!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommay%2Fclock-in-erlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftommay%2Fclock-in-erlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommay%2Fclock-in-erlang/lists"}