Currently TextMate is written in mostly C++ and Objective-C++ (not sure if there’s any pure Objective-C). If one would contribute something larger to TextMate, something that makes sense to put in a new file, can we use something other? The obvious candidate is Swift. The major downside of using Swift is that it doesn’t support interoperability with C++ (but it looks like it might in the future [1]).
As a wildcard, I can mention the D programming language [2]. It’s the only language I know that can interface with both Objective-C and C++. The downside with D would be that the interoperability with Objective-C is lacking some features.
[1] https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.m... https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.md [2] https://dlang.org https://dlang.org/ [3] https://dlang.org/spec/objc_interface.html [4] https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html
What's the purpose?
If it is to enable more functionality and all that, it might be oddly worth considering adopting things from other editors, (as they have adopted much form TextMate (tmbundles and grammars)). JavaScript/TypeScript are obvious choices there, to enable access to more extensions and existing LSPs, they are also implemented in runtimes that are… implemented in C/C++ (and for WebKit and JavaScriptCore Objective-C/Objective-C++) But having things available in Python/PyObjC might be a huge draw. Swift is definitely a good consideration, but Objective-C/Objective-C++/C/C++ are all great tools as well and they honestly integrate better with other languages and runtimes in general.
Ruby is still a great tool, and as such Crystal might be a worthy consideration also.
On Jun 24, 2021, at 15:36, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
Currently TextMate is written in mostly C++ and Objective-C++ (not sure if there’s any pure Objective-C). If one would contribute something larger to TextMate, something that makes sense to put in a new file, can we use something other? The obvious candidate is Swift. The major downside of using Swift is that it doesn’t support interoperability with C++ (but it looks like it might in the future [1]).
As a wildcard, I can mention the D programming language [2]. It’s the only language I know that can interface with both Objective-C and C++. The downside with D would be that the interoperability with Objective-C is lacking some features.
[1] https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.m... https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.md [2] https://dlang.org https://dlang.org/ [3] https://dlang.org/spec/objc_interface.html https://dlang.org/spec/objc_interface.html [4] https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html -- /Jacob Carlborg
Have a look at the V programming language. https://vlang.io https://vlang.io/ . I can attest that it is fast, powerful, and easier to program in than python.
Henry
On 2021-06-24, at 02h36, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
Currently TextMate is written in mostly C++ and Objective-C++ (not sure if there’s any pure Objective-C). If one would contribute something larger to TextMate, something that makes sense to put in a new file, can we use something other? The obvious candidate is Swift. The major downside of using Swift is that it doesn’t support interoperability with C++ (but it looks like it might in the future [1]).
As a wildcard, I can mention the D programming language [2]. It’s the only language I know that can interface with both Objective-C and C++. The downside with D would be that the interoperability with Objective-C is lacking some features.
[1] https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.m... https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.md [2] https://dlang.org https://dlang.org/ [3] https://dlang.org/spec/objc_interface.html https://dlang.org/spec/objc_interface.html [4] https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html -- /Jacob Carlborg
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
V looks really interesting. it would be nice to get tcc compile reliably on Apple Silicon as well in order to get blazingly fast compilation in the meantime.
On Thu, Jun 24, 2021 at 2:45 PM Henry Olders via TextMate textmate@lists.macromates.com wrote:
Have a look at the V programming language. https://vlang.io . I can attest that it is fast, powerful, and easier to program in than python.
Henry
On 2021-06-24, at 02h36, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
Currently TextMate is written in mostly C++ and Objective-C++ (not sure if there’s any pure Objective-C). If one would contribute something larger to TextMate, something that makes sense to put in a new file, can we use something other? The obvious candidate is Swift. The major downside of using Swift is that it doesn’t support interoperability with C++ (but it looks like it might in the future [1]).
As a wildcard, I can mention the D programming language [2]. It’s the only language I know that can interface with both Objective-C and C++. The downside with D would be that the interoperability with Objective-C is lacking some features.
[1] https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.m... [2] https://dlang.org [3] https://dlang.org/spec/objc_interface.html [4] https://dlang.org/spec/cpp_interface.html
-- /Jacob Carlborg
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com
V looks very interesting. Is there a TextMate bundle? I could not find one.
John DeSoi, Ph.D.
On Jun 24, 2021, at 7:45 AM, Henry Olders via TextMate textmate@lists.macromates.com wrote:
Have a look at the V programming language. https://vlang.io . I can attest that it is fast, powerful, and easier to program in than python.
There is no bundle that I’m aware of as of yet.
On 7 Aug 2021, at 19:04, John DeSoi via TextMate textmate@lists.macromates.com wrote:
V looks very interesting. Is there a TextMate bundle? I could not find one.
John DeSoi, Ph.D.
On Jun 24, 2021, at 7:45 AM, Henry Olders via TextMate textmate@lists.macromates.com wrote:
Have a look at the V programming language. https://vlang.io . I can attest that it is fast, powerful, and easier to program in than python.
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com