quarkiverse / quarkus-bon-jova-rockstar

An implementation of Rockstar as a JVM language
https://codewithrockstar.com/
3 stars 2 forks source link

Add support for splitting strings #71

Closed holly-cummins closed 7 months ago

holly-cummins commented 7 months ago

I've added support for splitting strings, but not for writing back the split string to the original variable.

It turns out Arrays.toList() does not use the same ArrayList as the rest of the Java language, so I've had to switch from using ArrayList methods in Array to using the interface methods.

I also noticed that your lies cannot be used as a variable because the lies is detected as a boolean, so I've added a disabled test for that.