I checked source code of qjson library , and it seems to use some .yy files , what was that ?
Can such thing be used for any wanted syntax ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.yy file contains rules to generate Lexical Analyzer code. Whose output is used subsequently by a Parser. Flex is a well-known tool for building Lexical Analyzer code. After that you can use tools like Bison for building Parser code. So yes any syntax which is Context Free can be parsed using above tools.