Are there any plans to do this?
Unlike Python, Swift is statically typed and has type inference. I have been using it for years and love it.
I can understand the advantages for programming. And I agree that Swift can be cooler than Python. But what about C++, OCaml, Haskell, etc… then? But is it any good for scripting? static types or type inference seems less a killer feature in that domain. Does it work on Windows and Linux also? What will you do more if you would have Swift available in TeXmacs?
I don’t want to sound harsh, sorry. I’m genunely interested in understanding what we can do more to attract developers - at any level. Implementing Swift support takes time, so I need to gauge the benefits of such an investment.
It’s more high level than C++, avoids memory corruption issues, has better error messages, and has a debug mode for interactive programming and a release mode for optimized code.
I don’t know whether Swift support will attract many open source developers.
TeXmacs’s plugin can be implemented using any programming languages.
Here are some reasons why I use Python to re-implement some of the existing plugins:
- cross platform (works on macOS/Windows/Linux)
- there are existing plugins implemented using Python
- Python is popular
Ideally, plugins should be implemented in Scheme which brings no extra deps.