Official (and COMPLETE) (E)BNF for CLIPS Language Grammar

49 views
Skip to first unread message

Pointer2VoidStar

unread,
Jan 21, 2022, 8:03:17 AM1/21/22
to CLIPSESG
I am looking for an official BNF/EBNF for [The CLIPS Programming Language](http://www.clipsrules.net/), so that I can write a parser/interpreter that groks (understands) CLIPS rules.

I have searched online, including the official CLIPS documentation, but I have only managed to find sections of the BNF (not the entire BNF).

Does anyone have a source for the COMPLETE (E)BNF for the grammar?

CLIPS Support

unread,
Jan 21, 2022, 12:46:49 PM1/21/22
to CLIPSESG
The only BNF available is from Appendix G, CLIPS BNF, of the Basic Programming Guide. That covers all of the constructs and function calls that are not special forms. For special forms (functions that have non-standard syntax such as the fact query functions), the BNF is specified in the section describing that function.
Reply all
Reply to author
Forward
0 new messages