Is it possible to implement internal DSL in a language without macros? Has anyone succeeded in implementing a Ruby-like internal DSL in python?
I am trying to create a simple state machine with a more intuitive syntax like:
start -> Event -> Next ->Action
source
share