02-08-2021, 07:31 AM
Hi,
The grammar for (is Path ...)
is
(is Path <siteType> (<moves.player> | <roleType>) [length:<int> | maxLimit:<int>] [closed:boolean])
We noticed last week that the grammar in the LLR was not updated since before the first release ;) It would be updated for the next one.
However to always look the current grammar of a specific version of Ludii you can print it (in a terminal and in the status tab) with the menu button Game --> Generate Grammar.
Concerning the ludeme you are trying to use (is Path ...). That's one of the (rare) ludeme I never touched and was written by one of our internship. In taking a quick look, I saw that ludeme is used only for the graph theory games of that same internship, so if you encounter any problem with it, let me know but the fix can potentially be longer than the others.
In looking the arguments, I would say the easy way for you to check any size is to put a really important size in the maxLimit argument size.
Regards,
Eric
The grammar for (is Path ...)
is
(is Path <siteType> (<moves.player> | <roleType>) [length:<int> | maxLimit:<int>] [closed:boolean])
We noticed last week that the grammar in the LLR was not updated since before the first release ;) It would be updated for the next one.
However to always look the current grammar of a specific version of Ludii you can print it (in a terminal and in the status tab) with the menu button Game --> Generate Grammar.
Concerning the ludeme you are trying to use (is Path ...). That's one of the (rare) ludeme I never touched and was written by one of our internship. In taking a quick look, I saw that ludeme is used only for the graph theory games of that same internship, so if you encounter any problem with it, let me know but the fix can potentially be longer than the others.
In looking the arguments, I would say the easy way for you to check any size is to put a really important size in the maxLimit argument size.
Regards,
Eric