ahvonenj / perfect-tower

Home Page:https://ahvonenj.github.io/perfect-tower/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perfect Tower Script Editor

See it in action at https://d0sboots.github.io/perfect-tower!

This is a fork of the original editor. However, I've added several features that the maintainer didn't want, or were too large of a change to include upstream:

  • Use of Web Workers to compile code, which greatly improves loading time and editor responsiveness.
  • Support for lua() and len() macro functions. lua(), in particular, allows you to do arbitrarily-complex preprocessing inside your code, eliminating the need for out-of-band data processing scripts.
  • Added the :import directive to allow sharing common macros between multiple scripts.

I've also committed several major improvements upstream. If these are sufficient for your needs, consider using the base editor (https://kyromyr.github.io/perfect-tower), which will likely be more actively maintained:

  • Support for macro functions. Not quite as powerful as lua(), but they can do a whole lot more than basic macros, letting you build complicated text-replacement schemes.
  • Backslash-continued lines. A line ending with a backslash will be considered a single line, so you don't have to keep scrolling right!

About

https://ahvonenj.github.io/perfect-tower/


Languages

Language:JavaScript 77.1%Language:Lua 15.9%Language:HTML 4.2%Language:CSS 2.8%Language:Batchfile 0.0%