Sha256: d15ed77c6864c07986b9b6ff44d0bbc8b1fcc273ccd60fd7f28d3e0250d103b0

Contents?: true

Size: 841 Bytes

Versions: 2

Compression:

Stored size: 841 Bytes

Contents

require "hemingway/symbol/symbol_nodes"

module Hemingway
  grammar Symbol

    rule math_symbol
      (
        "\\Gamma" /
        "\\Delta" /
        "\\Theta" /
        "\\Lambda" /
        "\\Xi" /
        "\\Pi" /
        "\\Sigma" /
        "\\Upsilon" /
        "\\Phi" /
        "\\Psi" /
        "\\Omega" /
        "\\alpha" /
        "\\beta" /
        "\\gamma" /
        "\\delta" /
        "\\epsilon" /
        "\\zeta" /
        "\\eta" /
        "\\theta" /
        "\\iota" /
        "\\kappa" /
        "\\lambda" /
        "\\mu" /
        "\\nu" /
        "\\xi" /
        "\\pi" /
        "\\rho" /
        "\\varsigma" /
        "\\sigma" /
        "\\tau" /
        "\\upsilon" /
        "\\phi" /
        "\\chi" /
        "\\psi" /
        "\\omega" /
        "\\rightarrow"
      ) <SymbolNode>
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hemingway-1.0.0 lib/hemingway/symbol/symbol.treetop
hemingway-0.0.3 lib/hemingway/symbol/symbol.treetop