Skip to content

Abigiya-M/metta-textmate-linguist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeTTa TextMate Grammar

TextMate grammar for the MeTTa programming language, packaged for use with GitHub Linguist.

About MeTTa

MeTTa (Meta Type Talk) is a programming language developed by SingularityNET / OpenCog Hyperon for cognitive computing and artificial general intelligence research.

Scope

  • Scope name: source.metta
  • File extension: .metta

Features

Highlights the following MeTTa constructs:

  • Comments (;)
  • Strings ("...")
  • Numbers (integers and floats)
  • Variables ($x, $head)
  • Operators: = (definition), : (type annotation), -> (arrow type), ! (evaluation)
  • Core forms: match, let, let*, if, case, import!, include, bind!, pragma!
  • Built-in functions: get-type, collapse, superpose, assertEqual, car-atom, cdr-atom, etc.
  • Built-in types: Type, Atom, Symbol, Expression, Number, Bool, String
  • Booleans: True, False
  • Space references: &self, &space

License

MIT — see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors