ta0kira / zeolite

Zeolite is a statically-typed, general-purpose programming language.
Apache License 2.0
18 stars 0 forks source link

Should `Argv` be a part of the language base? #108

Closed ta0kira closed 3 years ago

ta0kira commented 3 years ago

Supporting it requires code in base, and putting it in lib requires that that code is visible to all extensions.

This means at least the following:

ta0kira commented 3 years ago

I've decided against this. The C++ version of Argv is a part of the base because it needs to be set in main, and lib/util is just a wrapper around the C++ functionality.

There is nothing special about that implementation, and it doesn't fit within the theme of the other categories in the base: All other built-ins either have syntax for literals (e.g., String, Bool) or are interfaces that types with literals need to implement.