A Typescript CLI text editor based on Kilo (https://viewsourcecode.org/snaptoken/kilo/) and Hecto (https://www.flenker.blog/hecto/)
Go to file
2024-06-26 15:45:33 -04:00
src Minor refactoring, add some more comments and tests 2024-06-26 15:45:33 -04:00
.editorconfig Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00
.gitignore Update gitignore and generated file cleanup 2023-11-22 17:20:16 -05:00
bunfig.toml Refactor tests to be consistent for both runtimes 2023-11-16 20:57:21 -05:00
coverage.sh Update gitignore and generated file cleanup 2023-11-22 17:20:16 -05:00
deno.jsonc Basic file opening and display. Off-by-one bug skipping first line, though 2023-11-14 15:53:45 -05:00
Jenkinsfile Tweak Jenkins setup 2023-11-22 12:00:24 -05:00
justfile Do basic highlighting of search results, finish stop #151 of the kilo tutorial 2024-06-21 14:14:10 -04:00
package.json Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05:00
README.md Move some things around to more logical places, attempt to set up an error log file 2023-11-16 11:10:33 -05:00
tsconfig.json Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05:00

Scroll

Making a text editor in Typescript based on Kilo (Script + Kilo = Scroll). This runs on Bun (v1.0 or later) and Deno (v1.37 or later).

To simplify running, I'm using Just.

  • Bun: just bun-run [filename]
  • Deno: just deno-run [filename]

Development Notes

  • Runtime differences are adapted into a common interface
  • Runtime implementations are in the src/deno and src/bun folders
  • The main implementation is in src/common