<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:dc="http://purl.org/dc/terms/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:spdx="http://spdx.org/rdf/terms#">

  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="sites/all/themes/cpstandard/favicon.ico" type="image/vnd.microsoft.icon" />

    <title>ANTLR Software Rights Notice | Software Package Data Exchange (SPDX)</title>

    <link rel="shortcut icon" href="sites/all/themes/cpstandard/favicon.ico" type="image/vnd.microsoft.icon" />
    <link type="text/css" rel="stylesheet" media="all" href="sites/all/themes/cpstandard/css/style.css" />
    <link type="text/css" rel="stylesheet" media="all" href="sites/all/themes/cpstandard/css/colors.css" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" />
    <!-- GOOGLE FONTS -->
    <link href='//fonts.googleapis.com/css?family=Roboto:400,400italic,300,300italic,100italic,100,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css' />

    <style type="text/css">

      .page {
        color: #58595b;
      }

      #header {
        border-bottom: 3px solid #4597cb;
        padding-bottom: 50px;
      }

      .breadcrumb {
        margin-top: 25px;
      }

      #content-header h1 {
        color: #58595b;
      }

      .page h2, h3, h4, h5 {
        color: #00416b;
      }

      .page h1 {
      font-size: 2em;
      }

      .page h2 {
      font-size: 1.5em;
      }

      a, a:visited, a:hover {
        color: #00416b;
      }

      #footer-copyright {
        margin-top: 25px;
      }

      .replaceable-license-text {
      color: #CC0000;
      }

      .replaceable-license-text p var {
      color: #CC0000;
      }

      .optional-license-text {
      color: #0000cc;
      }

      .optional-license-text p var {
      color: #0000cc;
      }
      ul, ol, li {
      margin: 10px 0 10px 0;
	  }
    </style>

  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-3676394-2']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

  </script>

  </head>

  <body typeof="spdx:License">

  <div id="lf-header" class="collaborative-projects">
    <div class="gray-diagonal">
      <div class="container">
        <a id="collaborative-projects-logo" href="http://collabprojects.linuxfoundation.org">Linux Foundation Collaborative Projects</a>
      </div>
    </div>
  </div>

  <div id="header">
    <div id="header-inner">
      <a href="/" title="Home" rel="home" id="logo">
        <img src="https://spdx.org/sites/cpstandard/files/logo_spdx_250.png" alt="Home" />
      </a>

      <div id="name-and-slogan">
        <div id="site-name">
          <h1><a href="/" title="Home" rel="home">Software Package Data Exchange (SPDX)</a></h1>
        </div>
      </div>

    </div>
  </div> <!-- /header -->

  <div id="highlighted">
      <div class="region region-highlighted">
      </div>
  </div>

    <div id="page" class="page">

      <div class="breadcrumb"><a href="/">Home</a> » <a href="/licenses">Licenses</a></div>

      <h1 property="dc:title">ANTLR Software Rights Notice</h1>
      <div style="display:none;"><code property="spdx:deprecated">false</code></div>
      <h2>Full name</h2>
          <p style="margin-left: 20px;"><code property="spdx:name">ANTLR Software Rights Notice</code></p>

      <h2>Short identifier</h2>
          <p style="margin-left: 20px;"><code property="spdx:licenseId">ANTLR-PD</code></p>

      <h2>Other web pages for this license</h2>
          <div style="margin-left: 20px;">
            <ul>
             <li>
               <a href="http://www.antlr2.org/license.html" rel="rdfs:seeAlso" isValid=true isLive=true isWayBackLink=false match=true timestamp=2026-09-16T17:02:25Z>http://www.antlr2.org/license.html</a>
               <!--Tentative way of displaying information <p>isValid: true, isLive: true, isWayBackLink: false, match: true, timestamp: 2026-09-16T17:02:25Z</p> -->
             </li>
           </ul>
          </div>

      <div property="spdx:isOsiApproved" style="display: none;">false</div>

      <h2 id="notes">Notes</h2>
          <p style="margin-left: 20px;">ANTLR used this public domain notice through version 2.7 and then switched to a BSD license for version 3.0 and later.</p>

      <h2 id="licenseText">Text</h2>
      
      <blockquote cite="https://spdx.github.io/spdx-spec/v2.3/license-matching-guidelines-and-templates/">
          <div style="border: 2px solid grey; padding: 8px">
		      Text in italicized blue is omittable (see <a href="https://spdx.github.io/spdx-spec/v2.3/license-matching-guidelines-and-templates/#b35-guideline-omittable-text">Matching Guidelines B.3.5</a>).
		      License or exception text will match to the text for the specified identifier if it either includes or excludes this omittable text.
			  <br/>
			  <br/>
			  Text in red is replaceable (see <a href="https://spdx.github.io/spdx-spec/v2.3/license-matching-guidelines-and-templates/#b34-guideline-replaceable-text">Matching Guidelines B.3.4</a>).
			  License or exception text will match to the text for the specified identifier if it includes a permitted variant of this replaceable text.
			  The permitted variants can be found in the corresponding regular expression as shown in title text visible by hovering over the red text.
	      </div>
	  </blockquote>

      <div property="spdx:licenseText" class="license-text">
      
      <div class="optional-license-text"> 
         <p><var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR 2 License|Software Rights"> ANTLR 2 License</span></var></p>

      </div>

      <p>We reserve no <var class="replaceable-license-text"><span title="can be replaced with the pattern legal|LEGAL"> legal</span></var> rights to the <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR--it|PCCTS--it"> ANTLR--it</span></var> is <var class="optional-license-text"> fully </var>in the public domain. An individual or company may
         do whatever they wish with source code distributed with <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var> or the code generated by <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var>,
         including the incorporation of <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var>, or its output, into commerical software.</p>

      <p>We encourage users to develop software with <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var>. However, we do ask that credit is given to us for
         developing <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var>. By &quot;credit&quot;, we mean that if you<var class="optional-license-text">  use ANTLR or</var> incorporate
         <var class="replaceable-license-text"><span title="can be replaced with the pattern any|our"> any</span></var> source code into one of your programs (commercial product, research project, or otherwise)
         that you acknowledge this fact somewhere in the documentation, research report, etc... If you like
         <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var> and have developed a nice tool with the output, please mention that you developed it using
         <var class="replaceable-license-text"><span title="can be replaced with the pattern ANTLR|PCCTS"> ANTLR</span></var>. In addition, we ask that <var class="replaceable-license-text"><span title="can be replaced with the pattern the|this"> the</span></var>
         <var class="replaceable-license-text"><span title="can be replaced with the pattern headers|header"> headers</span></var> remain intact in our source code. As long as these guidelines are kept, we expect to continue
         enhancing this system and expect to make other tools available as they are completed.</p>

    
      </div>

      <h2  id="licenseHeader">Standard License Header</h2>
      <div property="spdx:standardLicenseHeader" class="license-text">
        <p style="font-style: italic">There is no standard license header for the license</p>
        
      </div>
      <div property="spdx:standardLicenseTemplate" style="display: none;">
      &lt;&lt;beginOptional&gt;&gt;&lt;&lt;var;name&#61;&quot;Title&quot;;original&#61;&quot;ANTLR 2 License&quot;;match&#61;&quot;ANTLR 2 License|Software Rights&quot;&gt;&gt;&#10;&#10;&lt;&lt;endOptional&gt;&gt;&#10;We reserve no &lt;&lt;var;name&#61;&quot;legal&quot;;original&#61;&quot;legal&quot;;match&#61;&quot;legal|LEGAL&quot;&gt;&gt; rights to the &lt;&lt;var;name&#61;&quot;ANTLR1&quot;;original&#61;&quot;ANTLR--it&quot;;match&#61;&quot;ANTLR--it|PCCTS--it&quot;&gt;&gt; is&lt;&lt;beginOptional&gt;&gt; fully&lt;&lt;endOptional&gt;&gt; in the public domain. An individual or company may do whatever they wish with source code distributed with &lt;&lt;var;name&#61;&quot;ANTLR2&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; or the code generated by &lt;&lt;var;name&#61;&quot;ANTLR3&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; , including the incorporation of &lt;&lt;var;name&#61;&quot;ANTLR4&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; , or its output, into commerical software.&#10;&#10;We encourage users to develop software with &lt;&lt;var;name&#61;&quot;ANTLR5&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; . However, we do ask that credit is given to us for developing &lt;&lt;var;name&#61;&quot;ANTLR6&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; . By &quot;credit&quot;, we mean that if you&lt;&lt;beginOptional&gt;&gt; use ANTLR or&lt;&lt;endOptional&gt;&gt; incorporate &lt;&lt;var;name&#61;&quot;source&quot;;original&#61;&quot;any&quot;;match&#61;&quot;any|our&quot;&gt;&gt; source code into one of your programs (commercial product, research project, or otherwise) that you acknowledge this fact somewhere in the documentation, research report, etc... If you like &lt;&lt;var;name&#61;&quot;ANTLR7&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; and have developed a nice tool with the output, please mention that you developed it using &lt;&lt;var;name&#61;&quot;ANTLR8&quot;;original&#61;&quot;ANTLR&quot;;match&#61;&quot;ANTLR|PCCTS&quot;&gt;&gt; . In addition, we ask that &lt;&lt;var;name&#61;&quot;article&quot;;original&#61;&quot;the&quot;;match&#61;&quot;the|this&quot;&gt;&gt; &lt;&lt;var;name&#61;&quot;headers&quot;;original&#61;&quot;headers&quot;;match&#61;&quot;headers|header&quot;&gt;&gt; remain intact in our source code. As long as these guidelines are kept, we expect to continue enhancing this system and expect to make other tools available as they are completed.&#10;&#10;
      </div>

    </div> <!-- /page -->

    <div class="collaborative-projects">
      <div class="gray-diagonal">
        <div class="container">
          <div id="footer-copyright">
            <p>&#169; 2018          SPDX Workgroup a Linux Foundation Project. All Rights Reserved.        </p>
            <p>Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered <a href="http://www.linuxfoundation.org/programs/legal/trademark" title="Linux Mark Institute">trademark</a> of Linus Torvalds.</p>
            <p>Please see our <a href="http://www.linuxfoundation.org/privacy">privacy policy</a> and <a href="http://www.linuxfoundation.org/terms">terms of use</a>.</p>
          </div>
        </div>
      </div>
    </div>

    <div id="top-page-link">
      <a href="#"><i class="fa fa-arrow-circle-up"></i><span>top of page</span></a>
    </div>

  </body>
</html>
