help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grammar for propositional logic


From: Martin McDermott
Subject: grammar for propositional logic
Date: Wed, 1 Sep 2010 01:01:57 -0400

I'm trying to write a simple grammar for propositional logic for a project
of mine, with support for AND, OR, XOR, NOT. Nothing fancy, only I cant seem
to come up with a correct grammar. My simple test cases all give me syntax
errors.

Anyone mind taking a look at it?

Thanks
Marty

Attachment: syntaxAnalyzer.y
Description: Binary data

Attachment: y.output
Description: Binary data

Attachment: test_file
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]