basilTeam / basil

Fast and flexible language exploring partial evaluation, context-sensitive parsing, and metaprogramming. Compiles JIT or AOT to native code.
BSD 3-Clause "New" or "Revised" License
124 stars 11 forks source link

Add more primitive types of different sizes. #6

Closed elucent closed 3 years ago

elucent commented 3 years ago

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:

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 commented 3 years ago

Splitting this into several successor issues: