justinmeiners/lisp-interpreter

How does this handle UTF-8 input?

warmwaffles opened this issue · 4 comments

I'm currently evaluating what I want to use for a scripting language in some game ideas that I have and am curious if this will work well.

No UTF8, just ASCII. Although, I would certainly be open to it, since the string type is self contained. UTF16 might be a better fit. In any case, to do it right, I think I one would really have to dig into the scheme spec.

One feature which is missing, and can be important for games is the ability to sleep execution and resume. If you need that, I would recommend lua.

You could also take a look into a pre-existing solution that works well (in my personal experiences) https://github.com/sheredom/utf8.h

@warmwaffles Great! Thanks for the recommendation. Look's right up my alley.

👍🏻