Hello to all, My name is Pascal and I am new here. I would like to use sablecc to build a syntaxical analyser that will tell me if a sentence (a set of terminal term) belongs to my grammar or not. Ex. : I have S -> aSa S-> b I wont to know if aabaa is part of my grammar . Can sablecc give me that kind of info ?
a = 'a'; b = 'b';
Productions s = {recursive} a s a | {leaf} b;
-- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/