Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: Design Goals #3

Open
kirsle opened this issue Nov 16, 2016 · 0 comments
Open

Discussion: Design Goals #3

kirsle opened this issue Nov 16, 2016 · 0 comments

Comments

@kirsle
Copy link
Member

kirsle commented Nov 16, 2016

Related to #1, list some of the important design considerations that should go into the new language. I'll give some examples to start with.


  • Unicode as a first-class citizen. The new language should accept that user messages will oftentimes contain foreign symbols and special characters and it should be able to handle these gracefully. When possible, the user's untainted original message should be available at all stages of the reply process. They should be able to tell the bot their e-mail address and have that string make it all the way through to a custom object macro without losing any meaningful characters along the way.
  • Flexible wildcard matching patterns: support syntaxes like *2 to catch "exactly two words" or *~4 to catch "up to four words" and so-on.
  • Support out-of-band data transfers in both directions: the bot author could attach an arbitrary key/value store along with the message request and the bot should be able to return similar with its reply.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant