{"id":18497571,"url":"https://github.com/csb6/wp","last_synced_at":"2026-02-07T11:01:10.898Z","repository":{"id":242169019,"uuid":"808869626","full_name":"csb6/wp","owner":"csb6","description":"Guarded Command Language and Weakest Precondition tools","archived":false,"fork":false,"pushed_at":"2024-06-23T00:59:26.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T14:24:25.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Standard ML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csb6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-01T03:01:54.000Z","updated_at":"2024-06-23T00:59:29.000Z","dependencies_parsed_at":"2024-06-01T04:22:24.288Z","dependency_job_id":"8a6955b4-29a8-457c-826f-8e2e4abdf30f","html_url":"https://github.com/csb6/wp","commit_stats":null,"previous_names":["csb6/wp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/csb6/wp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csb6%2Fwp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csb6%2Fwp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csb6%2Fwp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csb6%2Fwp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csb6","download_url":"https://codeload.github.com/csb6/wp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csb6%2Fwp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29193089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-11-06T13:34:59.328Z","updated_at":"2026-02-07T11:01:10.875Z","avatar_url":"https://github.com/csb6.png","language":"Standard ML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP\n\nParser, interpreter, and tools for working with the [Guarded Command Language](https://en.wikipedia.org/wiki/Guarded_Command_Language) (GCL) described in *A Discipline of Programming* by Edsger Dijkstra and the\ncorresponding [system of predicate transformers](https://en.wikipedia.org/wiki/Predicate_transformer_semantics).\n\n## Build requirements\n\n- [SML of New Jersey](https://www.smlnj.org) (SML/NJ)\n- ML-Lex (distributed alongside SML/NJ)\n- ML-Yacc (distributed alongside SML/NJ)\n\n## Usage\n\n### Parser\n\n`driver.sml` is the main entry point for running the parser. From the shell, run:\n\n    sml gcl/gcl.cm gcl_parser/gcl_parser.cm driver.sml\n\nOnce the SML/NJ REPL launches, GCL files can be parsed by calling the `Driver.parse` function. For example:\n\n    Driver.parse \"examples/skip.gcl\";\n\nThis will parse and typecheck the given GCL source file.\n\n### Weakest precondition tool\n\n`wp.sml` is the main entry point for running the tool. From the shell, run:\n\n    sml gcl/gcl.cm wp.sml\n\nOnce the SML/NJ REPL launches, the functions in `wp.sml` can be called.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsb6%2Fwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsb6%2Fwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsb6%2Fwp/lists"}