This is Programmable Calculator based on FORTH language ideas.
It's tested with fpc 3.2.2 and Lazarus 3.0, 3.2, 3.6, 4.0 for both 32- and 64-bit on Windows 8.1, 10, 11.
I would be glad if someone has the time and desire to compile and test it on other platforms.
My goals were to create a compact program using only the standard Lazarus components and learn how to use:
- UTF8 strings;
- stacks and queues;
- recursive algorithms;
- simple hash;
- messages for data exchange between units;
- context menus;
- events log;
- hints;
- themes and fonts;
- secrets of TSynEdit;
- TPageControl in Windows so that tabs have CLOSE and ADD buttons;
- i18n for multilingual localization;
- associations of *.forth files with the program.
To get a quick start from the context menu open 0.forth from the sample_files folder.
For Windows users: If you want to win in the StarTrek game, open star_trek.forth from the super_star_trek_en or super_star_trek_ru folders.
I am grateful to the ideas, tips and tricks of this forum and the Lazarus team for helping me achieve these goals.
Thanks