rs-kilo/README.md

15 lines
741 B
Markdown
Raw Normal View History

2019-09-03 16:39:12 -04:00
# Oxidized Kilo
2019-08-26 16:43:58 -04:00
An experimental reimplementation of the [Kilo](https://viewsourcecode.org/snaptoken/kilo/index.html)
2019-09-03 16:39:12 -04:00
tutorial with a Rust implementation.
## Implementation notes:
* The `editor` prefix has been removed from all the editor methods. Since this implementation
uses `impl`s on a shared `Editor` struct, the prefix is redundant
* Any C equivalent functionality based on memory allocating/deallocating, or other manual book-keeping is instead
implemented in a more idiomatic Rust fashion.
2019-09-06 13:24:29 -04:00
* Row structs are referenced by their index in the Editor struct, rather than as a direct reference in method calls.
This generally simplifies dealing with the rules of Rust (borrow checker).
2019-09-03 16:39:12 -04:00
### Known issues:
* The cursor is invisible :(