{"id":43427681,"url":"https://github.com/epfl-lara/scallion","last_synced_at":"2026-02-02T19:10:35.395Z","repository":{"id":37802312,"uuid":"188483004","full_name":"epfl-lara/scallion","owner":"epfl-lara","description":"LL(1) parser combinators in Scala","archived":false,"fork":false,"pushed_at":"2025-09-02T08:43:03.000Z","size":10656,"stargazers_count":60,"open_issues_count":3,"forks_count":15,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-09-02T09:31:47.693Z","etag":null,"topics":["ll1","ll1-grammar","ll1-parser","parser","parser-combinators","parsing","parsing-combinators","pretty-print","pretty-printer","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/epfl-lara.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-24T20:22:52.000Z","updated_at":"2025-09-02T08:39:34.000Z","dependencies_parsed_at":"2025-02-22T18:00:48.790Z","dependency_job_id":null,"html_url":"https://github.com/epfl-lara/scallion","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/epfl-lara/scallion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epfl-lara%2Fscallion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epfl-lara%2Fscallion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epfl-lara%2Fscallion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epfl-lara%2Fscallion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epfl-lara","download_url":"https://codeload.github.com/epfl-lara/scallion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epfl-lara%2Fscallion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29017941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T18:51:31.335Z","status":"ssl_error","status_checked_at":"2026-02-02T18:49:20.777Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ll1","ll1-grammar","ll1-parser","parser","parser-combinators","parsing","parsing-combinators","pretty-print","pretty-printer","scala"],"created_at":"2026-02-02T19:10:34.771Z","updated_at":"2026-02-02T19:10:35.384Z","avatar_url":"https://github.com/epfl-lara.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Compile and run sbt test](https://github.com/epfl-lara/scallion/actions/workflows/CI.yml/badge.svg)](https://github.com/epfl-lara/scallion/actions/workflows/CI.yml)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"images/scallion.png\" width=\"300px\" alt=\"SCALL1ON\" /\u003e\n\u003c/p\u003e\n\n# Overview\n\nScallion is a library for writing parsers and pretty printers for LL(1) languages in Scala.\n\n# Documentation\n\nA comprehensive Scaladoc API is [available online](https://epfl-lara.github.io/scallion/).\n\n# Parsing Algorithm\n\nScallion uses a novel parsing algorithm that we have described in the PLDI'20 paper: [Zippy LL(1) Parsing with Derivatives](paper/PLDI20_ZippyLL1PWD.pdf).\nThe algorithm has been [formally proven correct in Coq](https://github.com/epfl-lara/scallion-proofs/).\n\n# Examples\n\n* [JSON](example/json/JSON.scala): This example showcases how to build a basic JSON parser using Scallion.\n* [Lambda Calculus](example/lambda/Lambda.scala): This example shows how to get a pretty printer *almost for free* alongside your parser.\n* [Calculator](example/calculator/Calculator.scala): This example shows how to use the `operators` combinator to easily handle operators with various associativities and priorities.\n* [Roman Numerals](example/roman/Roman.scala): This example presents a simple parser and pretty printer for roman numerals.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepfl-lara%2Fscallion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepfl-lara%2Fscallion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepfl-lara%2Fscallion/lists"}