For a project, I need to build grammar file (.g4 file) for OpenHAB. I am wondering if there is some work done on similar thing by anyone here in the community, if yes please share or guide me through your findings.
So far, as per my understanding, for truly capturing OpenHAB working in an AST(Abstract Syntax Tree) we need to user both .rules and .items files.