You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copper is a Java-based integrated scanner and parser generator developed by the Minnesota Extensible Language Tools (MELT) research group at the University of Minnesota with assistance from the National Science Foundation, IBM, the McKnight Foundation, and Adventium Labs. It serves as the parsing back-end of Silver, another MELT tool.
Copper employs the LALR(1) parsing algorithm in conjunction with a modified scanning algorithm, context-aware scanning, which uses parsing context to resolve lexical ambiguities. This allows for more declarative parser specifications, especially of embedded and extensible languages.
It also provides an analysis for use with extensible languages. The pass/fail analysis is applied independently to each language extension, and any combination of passing extensions is guaranteed to compile without parse-table conflicts. This lets any end-user pick and choose extensions in the same manner as libraries.
Downloads and documentation
This site offers the following downloads:
JARs for Copper versions 0.6.0 and greater (see CHANGELOG.md for detailed Copper version information).
Schwerdfeger, A. and Van Wyk, E. Verifiable Composition of Deterministic Grammars. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). ACM Press, June 2009.