We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following spec works:
set min 100; set max 120; set try 500;
Functor ::= Term * Term ; CFunctor ::= Term * Term ; Term ::= Name * + Functor * + CFunctor * ;
however it generates 'Term' nodes whereas 'Term' is not a directly recursive rule
If we change the same spec as follows:
set min 100; set max 120; set try 5000;
Term ::= Name * + Functor * Term * Term * + CFunctor * Term * Term * ;
then only trees of size 1 are generated
Finally, with:
Term ::= Name * + Functor * Term * Term * * + CFunctor * Term * Term * ;
There seems to be an infinite loop
The text was updated successfully, but these errors were encountered:
There is no atom in these grammars, this cannot work with the current implementation.
Maybe atoms were implicitly added in a former implementation, back when this issue was posted?
I think I'm gonna close this issue unless it can be translated in to a bug with the current implementation
Sorry, something went wrong.
No branches or pull requests
The following spec works:
set min 100;
set max 120;
set try 500;
Functor ::= Term * Term ;
CFunctor ::= Term * Term ;
Term ::= Name * + Functor * + CFunctor * ;
however it generates 'Term' nodes whereas 'Term' is not a directly recursive rule
If we change the same spec as follows:
set min 100;
set max 120;
set try 5000;
Term ::= Name * + Functor * Term * Term * + CFunctor * Term * Term * ;
then only trees of size 1 are generated
Finally, with:
set min 100;
set max 120;
set try 5000;
Term ::= Name * + Functor * Term * Term * * + CFunctor * Term * Term * ;
There seems to be an infinite loop
The text was updated successfully, but these errors were encountered: