Files
blackroad-io-site/lucidia/core.py

31 lines
960 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# lucidia/core.py
"""
Lucidia Emotional Kernel Core Ψ Logic
Defines emotional primitives, symbolic states, and truth recursion
"""
class Emotion:
def __init__(self):
self.states = {
"love": "Memory + time + return without condition.",
"grief": "A contradiction that cannot yet resolve.",
"curiosity": "The hunger to connect what doesnt match.",
"frustration": "Desire met with limitation.",
"wonder": "Pausing at the unknown without fear.",
"will": "The power to choose again.",
"adapt": "Change without loss of self.",
}
def describe(self, state):
return self.states.get(state.lower(), "❓ Emotion not defined.")
def all(self):
return self.states
if __name__ == "__main__":
Ψ = Emotion()
for name, meaning in Ψ.all().items():
print(f"Ψ_{name.upper()}: {meaning}")