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

Add more primitive types of different sizes. #6

Closed
elucent opened this issue Oct 16, 2020 · 1 comment
Closed

Add more primitive types of different sizes. #6

elucent opened this issue Oct 16, 2020 · 1 comment
Assignees
Labels
planned feature Planned feature for upcoming language revision.

Comments

@elucent
Copy link
Contributor

elucent commented Oct 16, 2020

Basil currently only supports word-size types, and has a small list of primitives: int, bool, symbol, and string. Since Basil is working towards being a viable systems-programming language, it would probably be best to support a variety of other common primitives, including:

  • 8, 16, and 32-bit signed integer types.

  • 32 and 64-bit floating point numbers.

  • raw pointers.

Type coercion between some of these types would be useful, but not entirely necessary for the 0.2 update. We can revisit it later.

@elucent elucent added the planned feature Planned feature for upcoming language revision. label Oct 16, 2020
@elucent elucent added this to the 0.2 milestone Oct 16, 2020
@elucent elucent self-assigned this Oct 16, 2020
@elucent elucent removed this from the 0.2 milestone Oct 4, 2021
@elucent
Copy link
Contributor Author

elucent commented Oct 4, 2021

Splitting this into several successor issues:

@elucent elucent closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planned feature Planned feature for upcoming language revision.
Projects
None yet
Development

No branches or pull requests

1 participant