perlang-org / perlang

The Perlang Programming Language
https://perlang.org
MIT License
16 stars 1 forks source link

(many) Remove `char_at()` kludge #493

Closed perlun closed 2 months ago

perlun commented 2 months ago

This was a workaround to the fact that unwrapping a std::shared_ptr seemed awkward at the time. However, doing it like this is actually quite straightforward and feels like a great cleanup. It also means we don't have to pollute the public API in ASCIIString, which is a great improvement.