Skip to content

Add more primitive types of different sizes. #6

@elucent

Description

@elucent

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.

Metadata

Metadata

Assignees

Labels

planned featurePlanned feature for upcoming language revision.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions