MeTTa Language Glossary

Explore key terms and concepts in the MeTTa programming language

Atom

Core Concept

The fundamental unit of knowledge in MeTTa, representing data, code, or relationships. Atoms are the building blocks of the Atomspace.

Related Terms

AtomspaceGrounded Atom

Atomspace

Core Concept

A hypergraph database that stores and manages atoms. It serves as the foundation for knowledge representation and reasoning in MeTTa.

Related Terms

AtomHypergraph

Collapse

Operation

A MeTTa operation that collects all possible results from a nondeterministic computation into a single tuple.

!(collapse (ancestor John $who))

Grounded Atom

Type

An atom that is connected to external code or data, allowing MeTTa to interface with other programming languages and systems.

Related Terms

Grounded Function

Hyperon

Framework

The next-generation cognitive architecture that includes MeTTa as its core language, focusing on AGI development.

Related Terms

MeTTaAtomspace

MeTTa

Language

Meta Type Talk, the core programming language of OpenCog Hyperon, designed for symbolic AI and cognitive architecture.

Related Terms

HyperonAtomspace

Pattern Matching

Operation

The process of comparing a pattern against expressions to find matches, possibly with variable bindings.

Related Terms

Unification

Rule

Concept

A pattern-based definition that specifies how to transform or match expressions in MeTTa, typically using the '=' operator.

(= (factorial 0) 1)

Type Inference

Feature

The automatic detection of the type of an expression in MeTTa, reducing the need for explicit type annotations.

;; Type annotation: (: add (-> Number Number Number))

Type System

Concept

MeTTa's mechanism for classifying and constraining terms, supporting both static and dynamic typing.

Related Terms

Type Inference

Unification

Operation

The process of making two expressions identical by finding appropriate substitutions for their variables.

Related Terms

Pattern MatchingVariable

Variable

Syntax

A placeholder (prefixed with $) that can match any term in pattern matching or represent unknown values in rules.

$x, $name, $result

Can't find what you're looking for?

Suggest a new term