Alex Ott <[email protected]> writes: > Re > > Svein Ove Aas at "Fri, 2 Jul 2010 15:36:06 +0200" wrote: > SOA> On Fri, Jul 2, 2010 at 3:23 PM, Deniz Dogan <[email protected]> > wrote: > >> Why do you want to rewrite the indenter in Haskell? If haskell-mode > >> has any external dependencies such as that one, it will most likely > >> never make it into Emacs. > >> > SOA> In no particular order: > > SOA> - For any given line, there are typically several possible > SOA> indentations. We can cycle between these, but it's better to minimize > SOA> them. > > SOA> - I want the parser to be as accurate as possible. This essentially > SOA> means reimplementing haskell-src-exts, unless I *use* > SOA> haskell-src-exts. > > May be you can use semantic to make a parser? Semantic is already included > into emacs, and I hope, that it will make life easier. Plus we'll > automatically get lot of other functionality - name completion, navigation, > etc.
My understanding is that semantic is more aimed at C-like languages (I seem to recall reading a discussion a while back about someone trying to use semantic to parse Python or something like that and failing), and as such wouldn't work too well for Haskell. -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskellmode-emacs mailing list [email protected] http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
