{"id":19140746,"url":"https://github.com/tijn/coolj","last_synced_at":"2026-06-12T23:31:19.540Z","repository":{"id":1122677,"uuid":"995477","full_name":"tijn/coolj","owner":"tijn","description":"an LL-parser builder for Ruby","archived":false,"fork":false,"pushed_at":"2010-10-25T22:22:04.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T15:12:12.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/tijn.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2010-10-17T21:16:05.000Z","updated_at":"2013-10-26T14:04:23.000Z","dependencies_parsed_at":"2022-08-16T12:05:23.490Z","dependency_job_id":null,"html_url":"https://github.com/tijn/coolj","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/tijn%2Fcoolj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fcoolj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fcoolj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fcoolj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tijn","download_url":"https://codeload.github.com/tijn/coolj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240222499,"owners_count":19767458,"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":"2024-11-09T07:18:38.378Z","updated_at":"2026-06-10T00:30:17.501Z","avatar_url":"https://github.com/tijn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"coolj\n=====\n\na simple LL-parser builder\n\n\nThis library should eventually replace topdown (this other parser builder I once wrote). It should be simpler and faster.\n\nSince I mainly intend to use this library to base specialised parsers upon for reading all sorts of data formats, and because writing a BNF-parser is not really complex I think it is a good idea to take some shortcuts (to keep things simple and fast):\n\n  - I am not defining an AST\n  - I don't have a separate lexer and parser, in a way the lexer could be said to exist in the first two or three case/when-blocks of the parser\n  - the amount of whitespace between tokens can be significant, just be sensible in writing your BNF and it won't bite you (really!)\n  - the idea is that your BNF is compiled (read: translated) to Ruby code. Small parser-methods are defined on your class (easy to override or hook into) that together form a parser for a complete grammar.\n\n  \nThat's it for now, more later. Good luck, have fun, use the source and send me your patches! (please)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fcoolj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftijn%2Fcoolj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fcoolj/lists"}