Hadeed Ahmad
ca287f3dff
I had stopped working on this and was happy for the most part, semester at university had started so I got busy with that work. Until for some reason I tried making a small C hello-world just for fun. And... nothing works? It inserts non printable characters sometimes, and saves random things. Seems to be riddled with bugs. I don't have a lot of time at the presnet, but I hope to clean it up one day, it's a project I enjoyed working on and I don't want to leave it in a broken state.
30 lines
732 B
Markdown
30 lines
732 B
Markdown
# kilo
|
|
|
|
My implementation of the [kilo text editor][1], which I wrote by following
|
|
[this tutorial][2]. The current state is horribly bugged, regrettably so.
|
|
|
|
## How to build
|
|
|
|
As simple as it can be, there are no external dependencies.
|
|
|
|
You can either use the provided Makefile:
|
|
``` sh
|
|
make kilo
|
|
```
|
|
|
|
Or if you don't have make, just compile and link all the source files together,
|
|
specifying the include directory:
|
|
``` sh
|
|
gcc -I include src/*.c -o kilo
|
|
```
|
|
|
|
## My additions
|
|
- Split it up into multiple files and tried to follow good design and
|
|
organization practices.
|
|
|
|
## References
|
|
- [antirez/kilo][1]
|
|
- [Build Your Own Text Editor][2]
|
|
|
|
[1]: https://github.com/antirez/kilo
|
|
[2]: https://viewsourcecode.org/snaptoken/kilo/index.html
|