Universal-Variability-Language/uvl-parser

Public parse methods for constraints

Closed this issue · 1 comments

Would it be possible to get a public method to parse a single Constraint object from a String?
The previous parser allowed to add constraints simply as String if you checked for correct UVL constraint syntax beforehand.
Now with the need to use the Constraint hierarchy objects it would be nice to be able to parse constraint Strings individually.
It would seem very redundant to make my own UVL-constraint parser, since the functionality is already a sub-functionality of this repo.

Any plans in that direction?

successfully tested for our use case 👍