View on GitHub


a C library

Ancient Versions of slib

Here I keep the older versions of slib (which I wrote really really long ago). It’s normal to see many typos in those files, since I was in primary school back then. If there are encoding issues, try to open with GB2312 or GBK. Also, all CRLF line endings were replaced to LF by git.

Semantic versioning started at v2.2.0, the versioning scheme before that is unknown, that is, for the first few revisions, I did’t name any release, then sometimes I used “12” to prefix some versions. (I really cannot understand myself!)

The versions and corresponding sources are:

The ones inside Uncompilable are not correct C sources.

For a while, I really wanted to have a calculator function, and tried hard to incorporate what I’d found online into my codebase. Of course it hardly worked: I didn’t know that there cannot be a function inside other functions. But this progress indeed helped me to understand how functions work. Those copied portions are not a part of today’s codebase for sure.

Those days I didn’t know about git, so I “develop”ed with notepad++, CFree (an IDE, can still be found on their website), and iEditor (an editor for iOS), and transmitted the files with email and net disk.

For the history of this project, see at the root directory.