Setting up emacs for haskell [closed] - haskell

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Which emacs extensions do you use and how do you configure it to work productively?
P.S. I use haskell mode with additions of ghc-mod. I like it, but it doesn't support navigation to a symbol and completion doesn't look IDE-like but it's stil usable.

Enable haskell support in auto-complete package - it will complete pragmas, function names, etc. haskell-mode also includes support for hlint & haskell scan - to check source code for "bad" code, etc.
There was work on Haskell support in CEDET, but it wasn't finished :-( Implementing of such support in CEDET will allow to get symbol navigation & code completion "automatically" as CEDET implements this out-of-box...

There is some information at the haskell wiki.

Related

AST with selectors [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for languages / libraries which allows searching over AST for given language using selectors (ie. "/function(int, int)" to find all functions with given signature or "namespace(name=xxx)/method(name=yyy*)" to find all methods starting with yyy in given namespace).
I know there is always possibility to convert AST to XML and use XPath / XQuery, but i'am looking for something built in or easily integrable with a language.
This is practical :https://live.gnome.org/GObjectIntrospection/
as well as the gcc plugin dehydra : https://developer.mozilla.org/en-US/docs/Dehydra
LLVM has a bunch of projects : http://llvm.org/ProjectsWithLLVM/
This is theoretical: http://www.complang.org/colm/ but could be interesting.
See also this thread, on the topic of using the OWL/Semantic web for querying:
http://lists.w3.org/Archives/Public/semantic-web/2012Aug/0077.html
http://cs.nyu.edu/~lharris/content/programquerylangs.html
My focus when I was playing with things like this originally was specifically Java-oriented, also using the Eclipse AST tools. This isn't language-agnostic, and most of the tools I'm aware of aren't either.
It does, however, include some links to projects (I've only played with two of them, and not for quite some time) that may give you ideas, although it's not clear to me what kind of information you want from an answer. ASTs themselves are tied tightly to implementations.

could anyone suggest cross source code reference tool? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've tried to use opengrok, lxr, cxref. no one didn't work properly or unobvious in installation and configuration. Does anyone know some easy to use tool for C/C++? And it's better if the tools knows a lot of languages.
Have you tried basic ctags?
CTags sourceforge page
OpenGrok uses ctags and requires it to be installed properly as a precondition, so it is certainly easier to install. It supports 41 different programming languages and is extremely easy to use. It's a very popular and widely used tool as it's interface is simple commandline. It integrates with vi, emacs, and similar tools.
Otherwise, you may have better luck finding answers if you post specific questions on issues you encounter while installing or using specific packages.
Another option is cscope.

Vim snippets plugin [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I know there is some vim plugins that implements TextMate-like snippets feature. The popular are: snipMate, snippetsEmu, neocomplcache, UltiSnips and xptemplate.
What is the best and why? Consider using this with others plugins like SuperTab, AutoComplPop and pathogen. Have you ever tried those plugins? What do you prefer?
As with many things, you'll find that personal preference wins out at the end of the day. Personally, I prefer snippentsEmu for one reason: it supports dynamic snippets. For example a Python formatting string "foo %s %s" will (can) dynamically add a placeholder for each %s.
snippetsEmu is certainly not perfect - I have come across a few bugs and annoyances - but it works well with superTab. I honestly don't have much experience with the other plug-ins mentioned (although I believe I've tried them all), so I can't really give a fair comparison.

What sort of projects should I use Go for? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
The Go language is a new programming language from Google. It is still in an experimental phase and I am having trouble figuring out how stable it is. What sort of projects would you risk using Go for?
As you said, it is still an experimental programming language so I would only use it for experimental projects, for now. The implementation is still young but more importantly the ecosystem around it is also not very mature. In other words you'll probably have a hard time finding frameworks and libraries to help speed up your development and may end up needing to code a lot more than if you had chosen a more mature language.

Any decent scheme implementation that has *no* threading libs? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am considering which scheme to use.
I would like to use a scheme that has or can be compiled to have no threading support. I have to avoid the layers that threading libs provide. I want an implementation that has no code for interpreter locks, etc. Something that can compile to C is ideal. This will be Unix only. Chicken and Gambit are my first choice with TinyScheme as an alternative strategy.
I want to use this scheme as the replacement for a ruby app that I have now. This is why it has to be a decent scheme, it has to have rich support for strings, hashes, regex, dictionaries, etc.
Any such beast out there?
You might try Chibi Scheme or Larceny. I don't think that either of them have threading. Chibi runs on a VM, Larceny compiles to native code. I expect that Larceny's support for various libraries will be better.

Resources