class Cryslisp::Lexer

Defined in:

lexer.cr

Constant Summary

REGEX_MAP = {/^\(/ => :LPAREN, /^\)/ => :RPAREN, /^\d+/ => :NUMBER, /^"[^"]*"/ => :STRING, /^[^\(\)\s]+/ => :SYMBOL}

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : String) #

[View source]

Instance Method Detail

def tokenize : Array(Symbol) #

[View source]