Class CParser


  • public class CParser
    extends Parser<CActionDescription,​Formula>
    This class implements a parser for an Action Description in the Action Description Language C from [Gelfond, Michael and Lifschitz, Vladimir: Action Languages. ETAI: Electronic Transactions on AI, 1998.] The BNF is given by: (starting symbol is DESC)

    DESC ::== ":- signature" "\n" SIGNATURE "\n" ":- laws" "\n" LAWS
    where SIGNATURE is parsed by CSignatureParser and LAWS is parsed by CLawParser.
    Author:
    Sebastian Homann
    • Constructor Detail

      • CParser

        public CParser()