TEdit

March 31, 2023 ยท View on GitHub

Vim like text editor for the game Grey Hack.

Features:

  • Vim commands like search etc

Plugins:

  • CodeEditor
    • Syntax highlighting
    • Custom syntax check
    • Custom interpreter
    • Interpreter comes with debug feature, also support "import_code" now

Demo

TEdit Demo

Debugging

TEdit Debugger Demo

Install

Uses greybel-js for transpiling.

  1. Run: greybel tedit.src . --installer
  2. Copy installer files into GreyHack
  3. Compile installer files to ingame binary (this will automatically create all the files)
  4. Compile tedit.src to ingame binary

Test

Run: greybel-execute test/index.src