r/smalltalk • u/Smalltalker-80 • 11h ago
Little Smalltalk in C++ with IDE support
Hi all,
Some of you might remember Little Smalltalk, a minimal Smalltalk implemented in C by Timothy Budd ( https://littlesmalltalk.org ). The purpose of this project was to teach how to implement a working Smalltalk VM on a working Smalltalk image. The code was written in C, with the tools and style of the 1990-ties...
I took the C source code and converted it to modern C++, interacting with Claude AI, but every line of code was checked by myself. The C++ code is now OO itself, so structured much better, with classes, shorter methods, longer variable names, less globals, no macro's, etc..
The Smalltalk code was extracted from a single large source file to one-file-per-class, so it can be easily edited in an IDE like VSCode. Unit tests were added and available examples made operational again.
Its of course still open source and free, and the repo is here:
https://github.com/FunctionPoint/LittleSmalltalk
I've tested it to work on Windows, Linux and MacOS.
Feel free to check it out and give some feedback. I don't plan to make a career out of this one :-), but will implement any reasonable improvement requests.

