Pretty cool stuff:
LoseThos is for programming as entertainment. It empowers programmers with kernel privilege because it’s fun. It allows full access to everything because it’s fun. It has no bureaucracy because it’s fun. It’s the way it is by choice because it’s fun. LoseThos is in no way a Windows or Linux wannabe — that would be pointless. LoseThos is not trying to win a prize for low resource usage or run on pathetic hardware. Low line count is a goal, though. It’s 100,000 lines of code including a 64-bit compiler, tools and a graphics library. It’s strictly 64-bit and could be configured to function with 32 Meg or less RAM, but who cares! Where do you get a x86_64 machine with less than 32 Meg RAM? With no multimedia, it’s hard to run out of memory on a modern home computer.
LoseThos was designed from scratch with a clean slate and has no compatibility with anything else. Source code is ASCII plus binary graphics data. It has a new language roughly based C/C++. It’s more than C and less than C++ so, maybe, it’s C+. I took every opportunity to improve things once I made a clean break with the past. That’s another reason LoseThos has value — it is innovative.
I started with a command line like this:
I added default parameters from C++:
I said, “parentheses are stupid.”
Now, I have a language which looks a little like pascal. It also doesn’t have a main() routine — any statement outside a function executes immediately, in order. The command line feeds straight into the compiler (not an interpreter) and it doesn’t have that bullshit errno crap for return values — command line commands are regular C+ functions.