Until I've moved properly and got my PC back, I'm stuck working on this tiny fucking Aspire thing with an Intel Atom. It's a good little bugger and I love it but it can't really do much in the way of graphics.
So I've become interested, purely as an intellectual exercise, in a completely dynamically typed language. Yes, there are probably loads, no, I don't expect anyone to write serious code in it, yes, mine is probably shitter than everyone elses.
That out of the way, so far I have the following source and a compiler that can parse it into a symbol tree:
This generates the following symbol tree dump:
Yes, early days but it's a start.
The idea is that vars will carry their type around with them and all operations will be checked at runtime. All good fun.
Started thinking about whether I needed to differentiate between call by ref or call by val and head started hurting so gave up and decided to share my latest stupid project here with the only other people in the world who might understand why I would undertake such a pointless exercise.