Module: Hilbert

Defined in:
lib/hilbert.rb,
lib/hilbert/iq.rb,
lib/hilbert/api.rb,
lib/hilbert/exec.rb,
lib/hilbert/lexer.rb,
lib/hilbert/world.rb,
lib/hilbert/parser.rb,
lib/hilbert/version.rb,
lib/hilbert/lexer/base.rb,
lib/hilbert/world/base.rb,
lib/hilbert/parser/base.rb,
lib/hilbert/api/func_api.rb,
lib/hilbert/api/list_api.rb,
lib/hilbert/lexer/tokens.rb,
lib/hilbert/api/limit_api.rb,
lib/hilbert/api/sigma_api.rb,
lib/hilbert/api/matrix_api.rb,
lib/hilbert/api/vector_api.rb,
lib/hilbert/api/integral_api.rb,
lib/hilbert/lexer/main_lexer.rb,
lib/hilbert/lexer/world_lexer.rb,
lib/hilbert/parser/func_parser.rb,
lib/hilbert/parser/list_parser.rb,
lib/hilbert/lexer/formula_lexer.rb,
lib/hilbert/parser/limit_parser.rb,
lib/hilbert/parser/sigma_parser.rb,
lib/hilbert/parser/world_parser.rb,
lib/hilbert/parser/matrix_parser.rb,
lib/hilbert/parser/vector_parser.rb,
lib/hilbert/parser/formula_parser.rb,
lib/hilbert/parser/integral_parser.rb,
lib/hilbert/world/propositional_logic.rb

Defined Under Namespace

Modules: Api, Exec, Iq, Lexer, Parser, World

Constant Summary collapse

VERSION =
'0.0.2700420'

Class Method Summary collapse

Class Method Details

.compile(str) ⇒ Object



21
22
23
24
# File 'lib/hilbert.rb', line 21

def compile(str)
  lexed = Lexer.execute(str)
  Kconv.tosjis(Parser.execute(lexed))
end