DangerOnTheRanger

Untitled

May 5th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. * plugin-based architecture
  2. * everything is a plugin, even "built-in" functionality
  3. * plugins can have dependencies on other plugins
  4. * plugins can be fetched/updated from the web
  5. * everything that can do anything to the text buffer is an
  6. instance of the Command pattern
  7. * insert/delete/jump/etc.
  8. * this allows undo/redo to be implemented easily and efficiently
  9. * commands can be given arguments
  10. * commands can also be chained together into custom user-defined commands
  11. * generic AST that plugs in to specific languages based off a per-language grammar
  12. * this allows features like autocomplete and jump-to-definition to be written once
  13. and then used across multiple languages without needing to write specifically
  14. for any of those languages
  15. * maybe a separate AST would be needed for markup?
  16. * maybe not, if the generic one wasn't an AST proper as opposed to simply
  17. a database of various tags and definitions
  18. * cross-file autocomplete (think import/#include statements) would
  19. not work with this method (maybe?)
Advertisement
Add Comment
Please, Sign In to add comment