trueagi-io/PeTTa ? reverse-engineered prompt

Reverse engineered prompt

Build me a working MeTTa interpreter in Prolog that I can run from the command line and use on example .metta files.

I want it to feel like a small but real language tool, so I can point it at an input file and have it execute MeTTa code, with the example in examples/ working out of the box. Please make the setup simple with a clear way to run it, and include whatever is needed for SWI Prolog and the Python interop it depends on.

If you can, also support the optional extras mentioned in the README, like building the MORK and FAISS based atom space support when the needed libraries are present, but keep the basic install and run path working first.

Please check the current docs or wiki if you need to fill in any missing details, and make sure the project builds and the provided test or run scripts behave sensibly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab