{"id":19564341,"url":"https://github.com/antlr/symtab","last_synced_at":"2025-07-21T16:33:09.176Z","repository":{"id":28768662,"uuid":"32291042","full_name":"antlr/symtab","owner":"antlr","description":"Generic symbol table for lexically/statically scoped languages","archived":false,"fork":false,"pushed_at":"2017-03-01T19:23:48.000Z","size":188,"stargazers_count":51,"open_issues_count":3,"forks_count":16,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-07T10:17:20.409Z","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/antlr.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}},"created_at":"2015-03-16T00:00:08.000Z","updated_at":"2025-03-30T00:41:44.000Z","dependencies_parsed_at":"2022-09-05T01:30:42.492Z","dependency_job_id":null,"html_url":"https://github.com/antlr/symtab","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/antlr/symtab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fsymtab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fsymtab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fsymtab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fsymtab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antlr","download_url":"https://codeload.github.com/antlr/symtab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antlr%2Fsymtab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266334543,"owners_count":23913002,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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-11T05:21:34.311Z","updated_at":"2025-07-21T16:33:09.139Z","avatar_url":"https://github.com/antlr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# symtab\n\nA generic symbol table for lexically/statically scoped languages. The library is slightly dependent on ANTLR parse tree types, ParserRuleContext, but you could strip these out if you want to use it without ANTLR and don't want the dependency.\n\nUses Java 8 (a little).\n\nGrab the [latest jar, javadoc](http://repo1.maven.org/maven2/org/antlr/symtab).\n\nMaven users should use \tgroup id `org.antlr` and artifact id `symtab`.\n\nHere is the class hiearchy:\n\n\u003cimg src=doc/symtab.png width=900\u003e\n\nOr, zooming in on the aggregate symbols:\n\n\u003cimg src=doc/struct.png width=400\u003e\n\n## Building / installing\n\nIt's just a bunch of Java code so you can compile it like any other pile of code in a development environment. **It requires Java 8**. \n\nThe easiest method is to use maven:\n\n```bash\n$ cd symtab\n$ javac -version\njavac 1.8.0_31\n$ mvn package\n...\n[INFO] Building jar: /Users/parrt/antlr/code/symtab/target/symtab-1.0.3-SNAPSHOT.jar\n...\n```\n\nOr you can `mvn install` to have it placed into your `~/.m2` maven cache.\n\n## Example\n\n[Simple example from my prog lang course](https://github.com/parrt/cs652/tree/master/lectures/code/symtab)\n\n## Releasing version\n\n```bash\nmvn deploy\nmvn release:prepare\nmvn release:perform\n```\n\nIt will start out by asking you the version number and other stuff then update `pom.xml`.\n\nThen go to [sonatype staing repo mgr](https://oss.sonatype.org/#stagingRepositories)\n\nHandy command to wack snapshots:\n\n```bash\n$ curl -v -u user:password -X DELETE https://oss.sonatype.org/content/repositories/snapshots/org/antlr/symtab\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fsymtab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantlr%2Fsymtab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantlr%2Fsymtab/lists"}