Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Forbid uppercased propositions in LDLf  #28

@marfvr

Description

@marfvr

Is your feature request related to a problem? Please describe.
Currently, it is still legal to create an LDLf formula whose atoms have upper-cased characters, differently from LTLf.

from flloat.parser.ltlf import LTLfParser
LTLfParser()("F(a)") # this is OK
LTLfParser()("F(A)") # this raises error
from flloat.parser.ldlf import LDLfParser
LTLfParser()("a") # this is OK
LTLfParser()("A") # this is OK although should raise exception

Describe the solution you'd like
Update LDLf module to forbid uppercased propositions.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions