{"id":17031410,"url":"https://github.com/breandan/sbp","last_synced_at":"2025-03-22T20:44:24.706Z","repository":{"id":62342883,"uuid":"559777934","full_name":"breandan/sbp","owner":"breandan","description":"Mirror of http://git.megacz.com/sbp.git","archived":false,"fork":false,"pushed_at":"2022-10-31T04:18:54.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T00:42:03.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/breandan.png","metadata":{"files":{"readme":"README","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}},"created_at":"2022-10-31T04:16:09.000Z","updated_at":"2022-10-31T04:18:58.000Z","dependencies_parsed_at":"2022-10-31T04:45:35.855Z","dependency_job_id":null,"html_url":"https://github.com/breandan/sbp","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/breandan%2Fsbp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breandan%2Fsbp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breandan%2Fsbp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breandan%2Fsbp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breandan","download_url":"https://codeload.github.com/breandan/sbp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020314,"owners_count":20548156,"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-10-14T08:24:03.850Z","updated_at":"2025-03-22T20:44:24.677Z","avatar_url":"https://github.com/breandan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================================================================\nScannerless Boolean Parser\n\nAdam Megacz \u003cmegacz@cs.berkeley.edu\u003e\nupdated 27-May-2007\n\n______________________________________________________________________________\nRequirements\n\n  Java 1.5.0\n\n  The core grammar structures will always require generics (and thus\n  Java 1.5 to compile and probably at least that version in order to\n  run, although there are some hacks out there that might make it\n  possible to execute the compiled bytecode on Java 1.2+).\n\n  Being able to run a \"precompiled\" parser for a fixed grammar on any\n  jdk1.1+ JVM is a very high priority for the near future.\n\n\n______________________________________________________________________________\nMakefile targets\n\n  make edu.berkeley.sbp.jar   -- compile the code\n  make test                   -- run regression tests\n  make javadoc                -- generate javadoc in doc/api/\n  make boot                   -- bootstrap the metagrammar by compiling tests/meta.g\n                                 into src/edu/berkeley/sbp/misc/MetaGrammar.java\n\n______________________________________________________________________________\nBrowsing the code\n\n  Rule #1: the JavaDoc is your friend\n  Rule #2: the JavaDoc IS YOUR FRIEND\n\n  I've put substantially more effort into the public methods and their\n  corresponding javadoc comments than anything else.  The generated\n  javadoc is by far your best bet at getting up to speed quickly.\n  Specifically, read the \"long form\" package comment for\n  edu.berkeley.sbp, which gets placed at the bottom of this:\n\n     doc/api/edu/berkeley/sbp/package-summary.html\n\n  README                       -- this file\n  TODO                         -- stuff to do in the future\n  src/\n      edu/\n          berkeley/\n                   sbp/        -- core API: grammar, trees, and forests\n                       misc    -- regression testing and sample code\n                       util    -- some nifty data structures not specific to parsing\n                       meta    -- code relating to the metagrammar (meta.g)\n                       chr     -- code for parsing character streams (you want this)\n  doc/\n      jargon.txt               -- read this!\n      api/                     -- generated javadocs go here\n  tests/\n        meta.g                 -- the tentative metagrammar, written in itself\n        testcase.g             -- the grammar for testcases (extends meta.g)\n        regression.tc          -- some test cases (formatted according to testcase.g)\n\n\n______________________________________________________________________________\nUsing the code\n\n  The public methods in edu.berkeley.sbp.* are considered very stable;\n  they are highly unlikely to change in future releases.  Everything\n  else should be considered at-your-own-risk, especially non-public\n  (ie package/private/protected methods).\n\n  Currently I would not recommend extending any of the subclasses of\n  Element.\n\n  What I call the \"tentative metagrammar\" (meta.g) is definately going\n  to change at least somewhat in the near future, although I doubt it\n  would be anything drastic enough to require more than a few minutes\n  to update a grammar description.\n\n\n______________________________________________________________________________\nHaskell Integration\n\n  If you're using LambdaVM (the Java backend for GHC), you'll be able\n  to use SBP in your Haskell code.  See src/SBP.lhs for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreandan%2Fsbp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreandan%2Fsbp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreandan%2Fsbp/lists"}