https://github.com/0xhanyuu/hotmilk
rudimentary esoteric linux-based text editor
https://github.com/0xhanyuu/hotmilk
c shell text-editor
Last synced: 3 months ago
JSON representation
rudimentary esoteric linux-based text editor
- Host: GitHub
- URL: https://github.com/0xhanyuu/hotmilk
- Owner: 0xhanyuu
- License: bsd-3-clause
- Created: 2024-08-15T15:46:55.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-05T17:30:51.000Z (about 1 year ago)
- Last Synced: 2025-05-05T18:37:51.495Z (about 1 year ago)
- Topics: c, shell, text-editor
- Language: C
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hotmilk
A rudimentary, esoteric text editor with an 'append-only' model, where escape sequences are typed manually in order to reflect the corresponding changes in the output file.
Supported escape sequences:
- `\t` - tab
- `\n` - newline
- `\b` - backspace
Some hotmilk-specific control sequences are / were (intended to be) implemented in this text editor in order to be able to interface the output file, such as:
- `^s` - save (to existing file)
- `^x` - exit
## Example:
A line such as:
> #include \n\nint main()\n{\n\tprintf("%s\\n", "Hello, World!");\n\t\n\treturn 0;\n}^s^x
\- would output the following in the output file:
```c
#include
int main()
{
printf("%s\n", "Hello, World!");
return 0;
}
```
## Note:
This project is unfinished, lacks certain features and was made to be a proof of concept.