Dealing with "Strings"

7 views
Skip to first unread message

amshahan

unread,
May 1, 2014, 3:39:18 PM5/1/14
to cs...@googlegroups.com
So I'm having an issue with dealing with the explicit strings in LISP that are in the stagetext, such as (say "Take this shortsword action, skeleton!"). It turns out that when it's getting tokenized, it splits up the phrase into its multiple words and tries to evaluate them all individually. This has been a problem when needing to handle the phrase as a whole. I've tried a couple of things that seemed to work at first, but then I'm still finding this issue popping up somewhere.

Does anybody have advice on how to handle these strings?

Thanks,
--Austin

Benjamin Waechter

unread,
May 1, 2014, 4:09:02 PM5/1/14
to cs...@googlegroups.com

I have some code that uses ruler expressions to fix that issue, ill send it to you in 5 minutes

--
You received this message because you are subscribed to the Google Groups "cs310" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cs310+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Austin Shahan

unread,
May 1, 2014, 4:10:38 PM5/1/14
to cs...@googlegroups.com

I thought about using regular expressions, but didn't actually figure out how to use regular expressions in python.

Benjamin Waechter

unread,
May 1, 2014, 4:11:44 PM5/1/14
to cs...@googlegroups.com

*regular

On May 1, 2014 3:39 PM, "amshahan" <amsh...@mix.wvu.edu> wrote:
--
Reply all
Reply to author
Forward
0 new messages