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

Support for Short #49

Open
jcmartin opened this issue Aug 9, 2019 · 0 comments
Open

Support for Short #49

jcmartin opened this issue Aug 9, 2019 · 0 comments

Comments

@jcmartin
Copy link

jcmartin commented Aug 9, 2019

x86 supports 16-bit literals and registers. However, Stanza currently has no native support for 16-bit. The canonical C term for this is short. I propose that Stanza adds a new type Short for 16-bit integers.

The main use case I have for this is support Unicode, specifically UTF-16. UTF-16 is often needed for parsing modern websites. A possible consequence is that Stanza may choose to borrow Unicode for many syntax symbols such as -> and :>, allowing the programmer to use Unicode in his or her program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant