Sha256: 75890778b0f97de8816a301dcbd24458f681f3147b3ac5c23329841881d3486e

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module Mojikun
  class Lexer
    def initialize(source)
      @source = source
    end

    # omg easiest lexer ever
    def call
      @source.split(//)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mojikun-1.0.1 lib/mojikun/lexer.rb
mojikun-1.0.0 lib/mojikun/lexer.rb