Emacs Lisp is deeply embedded everywhere in Emacs. For example, a character can carry some 'display' properties that contain Lisp code, and the display engine will actually run the code [1]. The same cannot be said for Web engines. Of course, the usefulness of this is quite debatable -- the display of Web elements can be managed by CSS just fine.
Comments
I think it's a good idea. It won't be as extensible as Emacs, though, because Emacs is lisp almost all the way down.
Can you please help me understand more? What blocks it to be generally extensible?
Emacs Lisp is deeply embedded everywhere in Emacs. For example, a character can carry some 'display' properties that contain Lisp code, and the display engine will actually run the code [1]. The same cannot be said for Web engines. Of course, the usefulness of this is quite debatable -- the display of Web elements can be managed by CSS just fine.
[1] https://www.gnu.org/software/emacs/manual/html_node/elisp/Di...