Solap-grammar is a project mainly written in ..., it's free.
A grammar for Sequential OLAP (SOLAP) queries