clseibold / Lydrige

Lydrige is a simple statically typed interpreted programming language inspired by lisp and C.
https://www.krixano.x10host.com/projects/Lydrige/
MIT License
6 stars 0 forks source link

Better String implementation #6

Open ghost opened 7 years ago

ghost commented 7 years ago

Currently, the string implementation uses c-strings, which are null-terminated. A better implementation is to have strings as an array of characters with a stored length. This would then dismiss the null-termination requirement for strings.

You should also be able to do other operations on strings like join them for example.