Right context notation [DCG]

on this site , I found a part that explains how to build a right-handed contextual notation using DCG

A β†’ Ξ΅ | a A

Head, [T_1,...,T_n] --> Body.

someone will help me understand this method using an example and illustrate its advantages for analyzing context-free grammar

+4
source share
2 answers

This notation is called semicontext . See, for example, this answer . With it, you have more energy than context-free grammars. This is actually type 0 already.

+3
source

Semicontext DCG Primer:

+2

All Articles