dodaro / cnl2asp

A tool for converting CNL sentences to ASP rules.
https://dodaro.github.io/cnl2asp/
Apache License 2.0
1 stars 0 forks source link

Feature Request: Support for quoted string literals #7

Closed GregGelfond closed 1 month ago

GregGelfond commented 2 months ago

Consider the following declaration:

A cigarette is one of Chesterfields, LuckyStrikes, Kools, OldGold, Parliaments.

It would be nice if I could use quoted strings like this:

A cigarette is one of "Chesterfields", "Lucky Strikes", "Kools", "Old Gold", "Parliaments".

where the compiled ASP would essentially be:

cigarette("Chesterfields"; "Lucky Strikes"; "Kools"; "Old Gold"; "Parliaments").