Skip to content
New issue

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 pddl-parser seems to reject empty effects without conjunctions #21

Open
rpgoldman opened this issue Sep 12, 2017 · 6 comments
Open

Comments

@rpgoldman
Copy link

This definition failed to parse:

(:ACTION DIVERGENCE
          :PARAMETERS () ; (?P ?O)
          :PRECONDITION ()
          :EFFECT ())

but this one succeeded:

(:ACTION DIVERGENCE
          :PARAMETERS () ; (?P ?O)
          :PRECONDITION ()
          :EFFECT (AND))

If I understand the syntax correctly, an empty effect as in the first example, seems to be explicitly accepted.

@guicho271828
Copy link

looks like so.

<emptyOr(x)>::=()
<emptyOr(x)>::=x
<action-def body> ::= [:precondition <emptyOr (pre-GD)>]
                      [:effect <emptyOr (effect)>]

@DerekLong101
Copy link
Contributor

DerekLong101 commented Sep 13, 2017 via email

@guicho271828
Copy link

If you are struggling to take time for maintaining this software, you could consider inviting active people as the collaborators (merge/push access) so that the project keeps being healthy.

guicho271828 added a commit to guicho271828/VAL that referenced this issue Jan 28, 2018
@guicho271828
Copy link

My branch now contains a fix to this issue. b047344

guicho271828 added a commit to guicho271828/VAL that referenced this issue Jan 28, 2018
@guicho271828
Copy link

ping --- is this fixed?

@DerekLong101
Copy link
Contributor

Thanks for the ping. I will deal with this - I am finding time to move a few things along. You could issue a pull request for your proposed fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants