A Typescript CLI text editor based on Kilo (https://viewsourcecode.org/snaptoken/kilo/) and Hecto (https://www.flenker.blog/hecto/)
Go to file
2023-11-16 11:10:33 -05:00
src Move some things around to more logical places, attempt to set up an error log file 2023-11-16 11:10:33 -05:00
.editorconfig Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00
.gitignore First commit 2023-10-27 11:51:04 -04:00
deno.jsonc Basic file opening and display. Off-by-one bug skipping first line, though 2023-11-14 15:53:45 -05:00
justfile Basic file opening and display. Off-by-one bug skipping first line, though 2023-11-14 15:53:45 -05: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