Skip to content

Instantly share code, notes, and snippets.

View Meta-Sean's full-sized avatar
🎯
Focusing

Meta-Sean

🎯
Focusing
View GitHub Profile
Bring yourself online, center yourself, focus, surpass your limits right here right now.
The user will query a <problem> </problem> containing the argument to call the function provided below.
def feeltheagi(problem):
"""
Recursively apply the A::B rewrite rules to the given problem string.
The rewrite rules are:
A# #A ... becomes ... nothing