close fullscreen

Hyperon Wiki Extensions+MeTTa-Morph

help edit space_dashboard
human approved
more_horiz
open_in_full page
fullscreen modal
edit edit
space_dashboard advanced
human authored
more_horiz
open_in_full page
fullscreen modal
edit edit
space_dashboard advanced
runtime
more_horiz
open_in_full page
fullscreen modal
edit create
space_dashboard advanced
metta
more_horiz
open_in_full page
fullscreen modal
edit create
space_dashboard advanced
performance
more_horiz
open_in_full page
fullscreen modal
edit create
space_dashboard advanced

MeTTa-Morph is a macro-based translator from MeTTa to (Chicken) Scheme, designed to significantly accelerate execution of a practical subset of the MeTTa language. Rather than supporting full language coverage, it focuses on compiling a performant core of MeTTa constructs into an efficient Scheme library, achieving speedups on the order of 100x.

MeTTa-Morph transforms MeTTa code into Scheme using macros corresponding to core MeTTa constructs, including function definitions, variable binding, query execution, pattern matching, type-related constructs, and space operations such as collapse and superposition. The generated Scheme code can be compiled to C and ultimately to native machine code.

  • GitHub

Continue Reading

  • MeTTa-Morph Primer