metta — a MeTTa frontend from a 49-line grammar

MeTTa is not an ALGOL-family language. It is s-expression based, its symbols contain characters an identifier may not, and it carries two sigil-prefixed namespaces — $variables and &space-refs — that have no counterpart in SGDL's predefined token classes. It is, in other words, exactly the kind of language a compiler-compiler built for C-like syntax should struggle with.

Download

One archive with everything you need to run this use case: metta.zip (metta.sgr, e2e_test.sh).

Files

file
docs/metta_build_guide.pdf open
e2e_test.sh open
metta.sgr open

Development and evaluation use under your subscription (Terms §5.3); production use of generated components requires a separate agreement — [email protected] (§5.4).