<div dir="auto"><div>There is a system written in Lisp called Tmycin ( <a href="https://www.cs.utexas.edu/users/novak/tmycin.html">https://www.cs.utexas.edu/users/novak/tmycin.html</a>) that does something similar to what you seem to be describing. There should also be a Lisp interpreter in CPAN (for example <br><a href="https://metacpan.org/pod/Language::LispPerl">https://metacpan.org/pod/Language::LispPerl</a>).</div><div dir="auto"><br></div><div dir="auto">All this should be a good starting point even if you decide that it does not meet your needs. This type of exploration helps you to be able to tighten up your real requirements and spend less time on areas that would be nice to have but will not contribute to solving your 'at hand' issue. It should become a habit.</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Feb 6, 2021, 8:53 AM Richard Reina <<a href="mailto:gatorreina@gmail.com">gatorreina@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am trying to write code that would guide a user through a series of questions and depending on their answers given ask them different questions. I can of course do this with procedural code but it has occured to me that it might begin to get messy especially when exceptions mount. For example, if the answer to the third question is no, then skip to question 8. So I am looking for a way to structure such code to make it cleaner and perhaps easier to maintain, Does anyone know of any examples of similar projects that I can reference?<div><br></div><div>Thanks,</div><div><br></div><div>Richard </div></div>
_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org" target="_blank" rel="noreferrer">Chicago-talk@pm.org</a><br>
<a href="https://mail.pm.org/mailman/listinfo/chicago-talk" rel="noreferrer noreferrer" target="_blank">https://mail.pm.org/mailman/listinfo/chicago-talk</a><br>
</blockquote></div></div></div>