I would like to use the ply parser on micropython.
Running lex.py in micropython gives me a syntax error. Line 341.
def get_caller_module_dict(levels):
f = sys._getframe(levels)
return { **f.f_globals, **f.f_locals } //<--- sintax error here
Also with circuitpython. No with cpython.
I use cpython 3.8.10, micropython 1.23 and circuitpython 9.2.
Any recommendations you can give me?
Thanks.