Skip to content
Snippets Groups Projects
Select Git revision
  • e9be3d19f4d559d21f865b99a5f837b26d1699cb
  • 3.9 default
  • develop
  • 6.0
  • 5.0
  • 4.0
  • scrutinizer-patch-4
  • scrutinizer-patch-3
  • scrutinizer-patch-2
  • scrutinizer-patch-1
  • 3.7
  • 3.8
  • 3.6
  • 3.9_backported
  • 3.8_backported
  • 3.7_backported
  • 3.5
  • 3.6_backported
  • 3.5_backported
  • 3.4
  • 3.3_backported
  • 6.0.4
  • 6.0.3
  • 5.0.7
  • 6.0.2
  • 6.0.1
  • 5.0.6
  • 6.0.0
  • 5.0.5
  • 6.0.0-rc
  • 5.0.4
  • 6.0.0-beta
  • 5.0.3
  • 4.0.6
  • 5.0.2
  • 5.0.1
  • 4.0.5
  • 5.0.0
  • 4.0.4
  • 5.0.0-rc2
  • 5.0.0-rc1
41 results

sendings.lang

Blame
  • index.html 990 B
    <!doctype html>
    <html lang="en">
    
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Expression Simplifier</title>
      <script defer="true" src="libraries/jquery/jquery.min.js"></script>
      <script defer="true" type="module" src="js/index.js"></script>
    </head>
    
    <body>
      <div>
        Boolean variables: <code>x</code> and <code>y</code>
      </div>
      <div>
        <label>Expression to simplify:
          <input id="unsimplified" type="text" autocomplete="off" value="">
        </label>
      </div>
      <div>
        <label>Maximum number of operators:
          <input id="operators" type="number" autocomplete="off" min="0" value="1" max="4">
        </label>
      </div>
      <div>
        <label>Simplified:
          <code><output id="simplified"></output></code>
        </label>
      </div>
      <hr>
      <div>
        Examples:
        <ul>
          <li><code>(x && y) !== (x || y)</code></li>
          <li><code>(!x && !y) || (x && !y) || (x && y)</code></li>
        </ul>
      </div>
    </body>
    
    </html>