I have never written a lexer and parser of my own at more than twice his age. Damn.
Below is an implementation of the Bubblesort algorithm written in Charly. It is part of the standard library which is also written in Charly.
Heh. Why is a bubble sort part of the standard library?!
The author is a 16 years old student, maybe they were not aware of / could’t implement a more efficient algorithm.
[Comment removed by author]
I think it’s definitely possible to learn. I’m 17 now and have had it in my mind since I was younger that bubble sorts are terribly inefficient. Cool to see other people in my age group working on language projects too, though :)
I’m sure they’d appreciate a pull request.