module Lit

Defined in:

lit.cr
lit/debug.cr
lit/environment.cr
lit/expr.cr
lit/formatter.cr
lit/interpreter.cr
lit/keywords.cr
lit/lit.cr
lit/parser.cr
lit/repl.cr
lit/runtime_error.cr
lit/scanner.cr
lit/stmt.cr
lit/text.cr
lit/token.cr
lit/token_type.cr
lit/value.cr

Constant Summary

KEYWORDS = {and: TokenType::AND, else: TokenType::ELSE, false: TokenType::FALSE, fn: TokenType::FN, if: TokenType::IF, is: TokenType::EQUAL_EQUAL, let: TokenType::LET, nil: TokenType::NIL, not: TokenType::BANG, or: TokenType::OR, print: TokenType::PRINT, puts: TokenType::PRINT, return: TokenType::RETURN, true: TokenType::TRUE, while: TokenType::WHILE}
VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.run(opts : Array(String) = ARGV) #

[View source]