{"id":28724128,"url":"https://github.com/mshockwave/antlr4-cpp","last_synced_at":"2025-06-15T10:09:19.770Z","repository":{"id":16183115,"uuid":"79514387","full_name":"mshockwave/antlr4-cpp","owner":"mshockwave","description":"ANTLR4 C++ Runtime","archived":false,"fork":false,"pushed_at":"2022-05-22T04:25:48.000Z","size":363,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T17:24:52.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/mshockwave.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}},"created_at":"2017-01-20T01:48:59.000Z","updated_at":"2024-03-19T23:05:10.000Z","dependencies_parsed_at":"2022-08-18T08:20:36.033Z","dependency_job_id":null,"html_url":"https://github.com/mshockwave/antlr4-cpp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mshockwave/antlr4-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2Fantlr4-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2Fantlr4-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2Fantlr4-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2Fantlr4-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mshockwave","download_url":"https://codeload.github.com/mshockwave/antlr4-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mshockwave%2Fantlr4-cpp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259957280,"owners_count":22937549,"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-06-15T10:09:18.927Z","updated_at":"2025-06-15T10:09:19.754Z","avatar_url":"https://github.com/mshockwave.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ target for ANTLR 4\n\nThis folder contains the C++ runtime support for ANTLR.  See [the canonical antlr4 repository](https://github.com/antlr/antlr4) for in depth detail about how to use ANTLR 4.\n\n## Authors and major contributors\n\nANTLR 4 is the result of substantial effort of the following people:\n \n* [Terence Parr](http://www.cs.usfca.edu/~parrt/), parrt@cs.usfca.edu\n  ANTLR project lead and supreme dictator for life\n  [University of San Francisco](http://www.usfca.edu/)\n* [Sam Harwell](http://tunnelvisionlabs.com/) \n  Tool co-author, Java and C# target)\n\nThe C++ target has been the work of the following people:\n\n* Dan McLaughlin, dan.mclaughlin@gmail.com (initial port, got code to compile)\n* David Sisson, dsisson@google.com (initial port, made the runtime C++ tests runnable)\n* [Mike Lischke](www.soft-gems.net), mike@lischke-online.de (brought the initial port to a working library, made most runtime tests passing)\n\n## Other contributors\n\n* Marcin Szalowicz, mszalowicz@mailplus.pl (cmake build setup)\n* Tim O'Callaghan, timo@linux.com (additional superbuild cmake pattern script)\n\n## Project Status\n\n* Building on OS X, Windows, and Linux\n* No errors and warnings\n* Library linking\n* Some unit tests in the OSX project, for important base classes with almost 100% code coverage.\n* All memory allocations checked\n* Simple command line demo application working on all supported platforms.\n* All runtime tests pass.\n\n### Build + Usage Notes\n\nThe minimum C++ version to compile the ANTLR C++ runtime with is C++11. The supplied projects can built the runtime either as static or dynamic library, as both 32bit and 64bit arch. The OSX project contains a target for iOS and can also be built using cmake (instead of XCode).\n\nInclude the antlr4-runtime.h umbrella header in your target application to get everything needed to use the library.\n\nIf you are compiling with cmake, the minimum version required is cmake 2.8.\n\n#### Compiling on Windows\nSimply open the VS solution (VS 2013+) and build it.\n\n#### Compiling on OSX\nEither open the included XCode project and build that or use the cmake compilation as described for linux.\n\n#### Compiling on Linux\n- cd \u003cantlr4-dir\u003e/runtime/Cpp (this is where this readme is located)\n- mkdir build \u0026\u0026 mkdir run \u0026\u0026 cd build\n- cmake .. -DANTLR_JAR_LOCATION=full/path/to/antlr4-4.5.4-SNAPSHOT.jar -DWITH_DEMO=True\n- make\n- DESTDIR=\u003cantlr4-dir\u003e/runtime/Cpp/run make install\n\nIf you don't want to build the demo then simply run cmake without parameters.\nThere is another cmake script available in the subfolder cmake/ for those who prefer the superbuild cmake pattern.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshockwave%2Fantlr4-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmshockwave%2Fantlr4-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmshockwave%2Fantlr4-cpp/lists"}