December 20, 2010
Parsing OCL utilizing SableCC
After nearly a month of DIY OCL parsing I decided to throw it all away and start anew using SableCC 3.2. There is an OCL 1.5 grammar for SableCC 2.0, which did not work with version 3.2. After some tweaks I was able to get the grammar to work.
Switching to SableCC was a very good idea even tho the documentation on version 3.2 is scarce. The OCL parsing works well.
Read more