{"id":27195491,"url":"https://github.com/wild-queue/acsl","last_synced_at":"2025-07-21T09:03:04.945Z","repository":{"id":175572907,"uuid":"654113098","full_name":"Wild-Queue/acsl","owner":"Wild-Queue","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-30T08:31:30.000Z","size":48225,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T19:50:30.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/Wild-Queue.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":"2023-06-15T12:15:07.000Z","updated_at":"2023-07-30T08:31:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d4f0206-b550-4de2-9570-d6b0628446e5","html_url":"https://github.com/Wild-Queue/acsl","commit_stats":null,"previous_names":["wild-queue/acsl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wild-Queue/acsl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wild-Queue%2Facsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wild-Queue%2Facsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wild-Queue%2Facsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wild-Queue%2Facsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wild-Queue","download_url":"https://codeload.github.com/Wild-Queue/acsl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wild-Queue%2Facsl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266270369,"owners_count":23902731,"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-04-09T19:46:29.899Z","updated_at":"2025-07-21T09:03:04.940Z","avatar_url":"https://github.com/Wild-Queue.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACSL\n\n## Full bnfc grammar\n\nLocated in the file full_bnfc_parser.cf\n\nThis grammar combines the rules of partial grammars. Presented as an alternative way of parsing.\n\nTo build:\n\n```sh\nmake build-full-parser\n```\n\nTo run:\n\n```sh\nmake run-full-parser\n```\n\nTo clean:\n\n```sh\nmake clean-full-parser\n```\n\n## Partial bnfc grammar\n\nLocated in the file partial_bnfc_parser.cf\n\nThis grammar contains a subset of the full grammar files. This grammar contains rules for parsing code written in C.\n\nTo build:\n\n```sh\nmake build-c-parser\n```\n\nTo run:\n\n```sh\nmake run-c-parser\n```\n\nTo clean:\n\n```sh\nmake clean-c-parser\n```\n\n\nLocated in the file partial_bnfc_acsl_parser.cf\n\nThis grammar contains a subset of the full grammar files. This grammar contains rules for parsing code written in ACSL.\n\nTo build:\n\n```sh\nmake build-acsl-parser\n```\n\nTo run:\n\n```sh\nmake run-acsl-parser\n```\n\nTo clean:\n\n```sh\nmake clean-acsl-parser\n```\n\n## C language features\n\n### Main constructs\n\n- [x] Function Declaration\n- [x] Variable Declaration\n- [x] Function Definition\n- [ ] External Declarations\n- [ ] Assembly Embeddings\n- [ ] Abstract Declaration\n- [ ] Static Declaration\n\n### Statement constructions\n\n- [x] if statement\n- [x] switch statement\n- [x] do while statement\n- [x] while statement\n- [x] case statement\n- [x] default statement\n- [x] return statement\n- [x] goto statement\n- [x] break/continue/return statement\n- [ ] Assembly embeddings\n- [x] try-except-finally statement\n\n### Other\n- [ ] Builtin expression\n- [ ] Generic expression\n- [ ] WString Literals expression\n- [ ] Threads\n- [ ] Pragmas\n- [ ] Struct/Union/Enum pre-attributes\n\n## Verification features\n\n- [x] Requires\n- [x] Assigns\n- [x] Ensures\n- [x] Loop invariant\n- [x] Loop Assigns\n- [x] Loop Variant\n- [x] Loop Allocation\n- [ ] Loop Pragma\n- [ ] Ext code annot ?\n- [ ] Ext contract ?\n- [ ] Ext global ?\n- [ ] Ext global block ?\n\n\n\n## References\n\nThe grammar is inspired by the frama-c open repository available at:  \nhttps://git.frama-c.com/pub/frama-c \n\nIn particular, the grammar files were used: \n\nhttps://git.frama-c.com/pub/frama-c/-/blob/master/src/kernel_internals/parsing/cparser.mly\n\nhttps://git.frama-c.com/pub/frama-c/-/blob/master/src/kernel_internals/parsing/logic_parser.mly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwild-queue%2Facsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwild-queue%2Facsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwild-queue%2Facsl/lists"}