Sha256: e4ffa4c09fbf6977cd2522afda2df42f5b8ca0e860186278fc305a6e4ecef94b

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 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"
      ) <SymbolNode>
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hemingway-0.0.2 lib/hemingway/symbol/symbol.treetop