Skip to content

Commit 83bf47e

Browse files
authored
Update README.md
1 parent 3eec403 commit 83bf47e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,40 @@ indentation for Typescript syntax, without any external dependencies.
1313
Output from `tsc` and `tslint` is also handled seamlessly through
1414
`compilation-mode`.
1515

16+
## A short note on development HALT
17+
18+
As the both the JavaScript and TypeScript languages have evolved to become ever more complex, so has the
19+
Elisp codebase for `typescript-mode` trying to correctly handle them.
20+
21+
We''ve been at the point for quite some time where it has become increasingly obvious that the current code-base
22+
simply cannot continue growing. It will be slow. It will be complex. It will be buggy. It will be head-ache inducing
23+
to wrap our heads around it, and ... I guess we're already there.
24+
25+
Apart from occasional PRs getting merged, the current `typescript-mode` code isn't being developed because almost nobody
26+
wants to work code of this complexity.
27+
28+
*Essentially all major development of `typescript-mode` has come to a halt.*
29+
30+
## Seeing the forest for trees
31+
32+
Lots of Emacs major-modes are facing the same problem. I'm sure there's similar issues for other editors too.
33+
34+
This means lots of developers are working on solving this problem once and for all, and what they've decided on
35+
is relying on a standardized set of external parsers using the [tree-sitter](https://tree-sitter.github.io/tree-sitter/) library.
36+
37+
New major modes are being developed as we speak to support TypeScript (and other languages) within Emacs based on Emacs' upcoming
38+
native tree-sitter support.
39+
40+
The code will be much faster, it will be simpler to work with and everyone should be happy. Well almost. Since tree-sitter support
41+
relies on a new major feature being added to core Emacs, it also means that these new major modes won't be backward compatible with
42+
older Emacs-versions.
43+
44+
For that reason we are not *replacing* this major mode with the new and improved one, but keeping it around to make sure older Emacs-versions
45+
does at least have an option for working with Typescript, even though it may not be optimal or track recent changes to the TypeScript-language.
46+
47+
But once new Emacs ships with tree-sitter support, you are adviced to upgrade to the newer modes for better TypeScript-support, rather
48+
than keeping this old version around.
49+
1650
# Installation
1751

1852
`typescript.el` can be installed from source directly using your

0 commit comments

Comments
 (0)