I am considering using petitparser for Dart (https://pub.dartlang.org/packages/petitparser) in my project. I want to use it to process Lisp code stored as Strings.
For example, given data like this:
(setq age 20)
(setq livesin "Mississippi")
And a String
that contains a Lisp expression like this:
'(and (< age 21) (string= livesin "Iowa"))'
How can I get a result?
Secondly, do you this is a good approach, and a proper use of petitparser?
Note that I am a Lisp newbie.