https://github.com/nh2/structural
Structural editing concept implementations
https://github.com/nh2/structural
Last synced: 3 months ago
JSON representation
Structural editing concept implementations
- Host: GitHub
- URL: https://github.com/nh2/structural
- Owner: nh2
- Created: 2011-12-19T04:15:29.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-18T13:56:30.000Z (over 13 years ago)
- Last Synced: 2025-01-13T00:26:18.294Z (5 months ago)
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
It ought to be possible to define a DSL or simple framework upon which
to build a structural editor for a given language.* Nodes.
* Optional nodes.
* Lists of notes, separated by some thing.
* Text input boxes.These, probably with a couple other things, should be sufficient to
define a fairly complete editor for a language.I made a very simple incomplete one just to demo the idea, in the
web/haskell/ directory.The concept should be suited to web, or Emacs, or Vim, or whatever
editor has strong enough extensibility.I strongly encourage anyone reading this to re-implement completely
the web idea, or do it in Emacs, etc. The demo implementation I put in
web/haskell/ is just that, a demo. See video here:
http://www.youtube.com/watch?v=v2ypDcUM06UUPDATE: Looks like only Chrome likes the web/haskell
implementation. Doesn't matter much, but thought I'd mention.