The world's smallest, fully functional text editor—fun, useful and interesting!
This is the world's smallest, fully functional text editor! Written in x86 assembly language and compiled with flat assembler, the executable is only a few kilobytes in size!
The program can load, save and edit text files just like Notepad. More features might be added later (e.g. syntax highlighting, program preferences etc.) if it can be done without affecting the size of the executable.
Using the included make-script (which uses fasm for assembly and linking), the executable file size is 3072 bytes.
The editor is intentionally kept very simple, but there are a few keyboard shortcuts that you need to know.
Key combination | Command |
---|---|
Ctrl + O | Open... |
Ctrl + S | Save |
Ctrl + Shift + S | Save as... |
git clone https://github.com/philiparvidsson/Worlds-Smallest-Text-Editor
python make.py
python make.py run
To clone, build and run the program, enter the following into your terminal:
git clone https://github.com/philiparvidsson/Worlds-Smallest-Text-Editor && cd Worlds-Smallest-Text-Editor && python make.py && python make.py run