视觉 Haskell 2008/2010

发布于 2024-08-28 04:05:05 字数 111 浏览 6 评论 0原文

Visual Haskell for Visual Studio 2008/2010 是否存在?或者有哪些替代方案可以尝试?

编辑:我有很多选择,但现在似乎没有 Visual Haskell。

Does Visual Haskell for Visual Studio 2008/2010 exist? Or what are the alternatives to try it?

EDIT: I've got a lot of alternatives but it seems that there is no Visual Haskell right now.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

可爱暴击 2024-09-04 04:05:05

Leksah 我听过很多关于 Leksah 的好消息。它是一个用 Haskell 编写的 Haskell IDE。我从未使用过它,所以我无法承诺任何事情。然而,它正在积极开发中,并且有些人确实在使用它,所以它不会太糟糕。

我知道您可能已经厌倦了听到这些,但花一两天时间熟悉 Emacs 或 Vim 确实值得(我偏向 Emacs)。在 Emacs 中设置一个可用的 Haskell 并不难,因为它有一个非常好的模式可用。学习像 Emacs 这样的编辑器最好的一点是,一旦你熟悉了它,它就总是在那里。您可以使用它以所有您喜欢的语言编写代码。我很高兴我学会了使用 Emacs,这样我就不必为我使用的几乎每种语言使用不同的 IDE,而且我不必总是依赖 IDE,特别是考虑到某些语言不需要使用不同的 IDE。甚至没有 IDE。无论如何,较新的。

Leksah is something I've heard a lot of good things about. It's a Haskell IDE written in Haskell. I've never used it, so I can't promise anything. However, it is in active development and some people do use it, so it can't be too bad.

I know you're probably already tired of hearing this, but it would really be worthwhile to invest a day or two getting familiar with Emacs or Vim (I'm biased toward Emacs). It's not very hard to get a working Haskell set up in Emacs, as there is a very good mode for it available. The best thing about learning an editor like Emacs is that once you're familiar with it, it's always there. You can use it to write code in all of your favorite languages. I'm happy I learned to use Emacs just so I don't have to use a different IDE for nearly every language I use, and I don't always have to depend on an IDE, especially considering the fact that some languages don't even have IDEs. Newer ones, anyways.

野味少女 2024-09-04 04:05:05

2005 年末,一名在微软实习过的俄罗斯学生“几乎完成”了 Visual Studio 对 Haskell 的支持。此后不久,这名学生就消失了,该项目也从未完成。 GHC Central 定期进行关于尝试将其恢复的对话,但我认为还有太多其他事情正在发生:重点关注并行性、新后端、新优化器、LLVM 后端,也许有一天会出现一个新的代码生成器。

也许随着 Haskell Prime 最终稳定在“Haskell 2010”,当报告出来时,有人会愿意为 PLT 做前端方案,或者荷兰的某人可能会为 Helium

In late 2005, Visual Studio support for Haskell was "almost finished" by a Russian student who had interned at Microsoft. Shortly thereafter, the student dropped out of sight, and the project was never finished. There have been periodic conversations at GHC Central about trying to bring it back, but I think there is just too much else going on: big focus on parallelism, new back end, new optimizer, LLVM back end, maybe a new code generator one day.

Maybe with Haskell Prime finally stable at "Haskell 2010", when the report comes out someone will be willing to do a front end for PLT Scheme, or maybe someone in the Netherlands will do an IDE for Helium.

酒几许 2024-09-04 04:05:05

不确定这是否符合您的替代标准(寻找语言或 IDE?),但是 F# 是一种完全 Microsoft 支持(并且支持 VS2008/2010)的 .NET 函数式语言。它更像 ML,而不是 Haskell,但它肯定比 VB 更接近 Haskell :)

Not sure if this meets your criteria for what is considered an alternative (looking for a language or an IDE?), but F# is a fully-Microsoft-supported (and VS2008/2010 supported) functional language for .NET. It's more ML-like than Haskell-like, but it's certainly closer to Haskell than, say VB :)

梦里°也失望 2024-09-04 04:05:05

看起来有一个新的 Visual Haskell 实现正在开发中

Looks like there is a new Visual Haskell implementation in the works.

虫児飞 2024-09-04 04:05:05

据我所知,目前没有发布或公开活动的项目将现有的 Visual Haskell 更新到新版本。

Visual Haskell 的代码是用 Haskell 编写的,并通过 COM 与 Visual Studio 对话。现在的问题是,即使您更新 com 包装器以与新的 Visual Studio 兼容,您仍然会陷入使用 ghc 6.6 的困境,因为它依赖于编译器的内部结构来工作,其中一些结构已经被今后从 6.8 中删除。

因此,这部分的任何努力都需要完全重写插件。

现在好消息是我正忙着为 Visual Studio 2010(抱歉没有 2008)编写一个版本,但据说我可以将它作为独立的隔离 shell 发布给那些没有 vs 2010 的人(需要更仔细地检查许可证)。

我还采取了不同的方法,希望它将来更易于维护。例如,不是在 Haskell 中编写与 Visual Studio 的交互,而是使用 C#,不是硬编码到编译器,而是使用新的 API 等。

我只有周末才有时间处理它,所以我预计(没有承诺)我会第一个版本大约在七月发布。

To the best of my knowledge there is no currently published or publicly active project to update the existing visual haskell to newer versions.

The code for visual haskell is written in Haskell and talks via COM to visual studio. Now the problem is, that even if you update the com wrappers to be compatible with the new visual studios you'd still be stuck using a ghc 6.6 simply because it relied on internal structures of the compiler to work, some of which have already been removed from 6.8 going forward.

So any effort on this part will require a complete rewrite of plugin.

Now the good new is I am busy writing a version for visual studio 2010 (sorry no 2008) but supposedly I could release it as a standalone isolated shell for those who don't have vs 2010 (need to check the license more closely).

I'm also taking a different approach in the hope that it'll be more maintainable in the future. e.g. Not writing the interaction with visual studio in Haskell but using C#, not hardcode to the compiler but use the new API etc.

I only have time to work on it in the weekends, So I project (no promises) that I'll have a first version out around july.

π浅易 2024-09-04 04:05:05

Haskell 有一个 Eclipse 插件。它依赖于 Scion 的一个稍微不同的版本(!),但似乎有效。然而,我只尝试过用它来完成非常简单的任务。祝你好运!
http://eclipsefp.sourceforge.net/

There is an Eclipse plug-in for Haskell. It depends on a slightly divergent version of Scion (!) but seems to work. However, I've only tried very simple tasks with it. Good luck!
http://eclipsefp.sourceforge.net/

治碍 2024-09-04 04:05:05

还有一个用于 IntelliJ IDEA 的 Haskell 插件正在开发中:http://code.google.com /p/ideah/wiki/InstallConfig

There's also a Haskell plugin for IntelliJ IDEA in the works: http://code.google.com/p/ideah/wiki/InstallConfig

迟月 2024-09-04 04:05:05

嗯,自 VS .NET 2005 以来,似乎确实没有任何二进制文件......也许 #haskell 知道它发生了什么?

Hmm, there certainly don't seem to be binaries for anything since VS .NET 2005... maybe #haskell knows something about what happened to it?

梦回梦里 2024-09-04 04:05:05

您可以创建一个 makefile 项目并指定自定义构建命令行。但是,代码着色和自动语句完成将不起作用。

You could create a makefile project and specify a custom build command line. However, code coloring and automatic statement completion won't work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文