[Haskell-cafe] ghc-api Static Semantics?

2012-01-23 Thread Christopher Brown
Hi, I was wondering if anyone could tell me if it's possible to get an AST from the ghc-api decorated with static-semantics? In particular, I am interested in use and bind locations for all names in the AST together with the module they are bound, etc. Looking through the online docs, there do

Re: [Haskell-cafe] ghc-api Static Semantics?

2012-01-24 Thread Christopher Brown
ither. > No, but it would be much easier if the information was already there, of course! :) Thanks for your response! Chris. > Hope this helps, > Ozgur > > On 23 January 2012 17:33, Christopher Brown wrote: > Hi, > > I was wondering if anyone could tell me if it's

[Haskell-cafe] C++ Parser?

2012-01-24 Thread Christopher Brown
Hi, I have stumbled across language-c on hackage and I was wondering if anyone is aware if there exists a full C++ parser written in Haskell? Many thanks, Chris. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/

Re: [Haskell-cafe] ghc-api Static Semantics?

2012-01-24 Thread Christopher Brown
>> > > Have you looked at ghc-syb-utils, which gives a neat way to print an AST? > > http://hackage.haskell.org/packages/archive/ghc-syb-utils/0.2.1.0/doc/html/GHC-SYB-Utils.html > Yes I found that yesterday! Chris. > -- > JP Moresmau > http://jpmoresmau.blogspot.com/ > > _

Re: [Haskell-cafe] C++ Parser?

2012-01-24 Thread Christopher Brown
t to start writing one myself, hence I was asking if anyone new about an already existing implementation. Rose looks interesting, I'll check that out, thanks! Chris. On 24 Jan 2012, at 14:40, Jason Dagit wrote: > On Tue, Jan 24, 2012 at 2:06 AM, Christopher Brown > wrote:

Re: [Haskell-cafe] C++ Parser?

2012-01-24 Thread Christopher Brown
. On 24 Jan 2012, at 15:16, Jason Dagit wrote: > On Tue, Jan 24, 2012 at 6:54 AM, Christopher Brown > wrote: >> Hi Everyone, >> >> Thanks for everyone's kind responses: very helpful so far! >> >> I fully appreciate and understand how difficult writing a C++

Re: [Haskell-cafe] ghc-api Static Semantics?

2012-01-26 Thread Christopher Brown
hat I want. It does look a bit of a mess. Just trying to do simple things like parsing a file and showing its output proved to be much more complicated than it really needed to be. > > Let me know if you decide to take on this project. > We have decided to take it on. :

Re: [Haskell-cafe] "show" for functional types

2006-04-01 Thread Christopher Brown
). Cheers, Chris. Christopher Brown PhD Student, University of Kent. http://www.cs.kent.ac.uk/people/rpg/cmb21/ [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Strafunski

2006-04-03 Thread Christopher Brown
plains that it can't find instances for Term - but I can't derive from Term. Does anyone have any ideas how I can get Strafunski working with GHC 6.5? Thanks. Chris. Christopher Brown PhD Student, University of Kent. http://www.cs.kent.ac.uk

[Haskell-cafe] Re: Strafunski

2006-04-03 Thread Christopher Brown
Christian, Did you try the switch -fallow-overlapping-instances when compiling? Yes, but it doesn't seem to make much difference. Cheers, Chris. Cheers Christian Christopher Brown PhD Student, University of Kent. http://www.cs.kent.ac.uk/people/rpg/cmb21/ [EMAIL PROT

Re: [Haskell-cafe] Strafunski

2006-04-03 Thread Christopher Brown
PROTECTED] mobile +351-91-6253618 | http://www.di.uminho.pt/~joost.visser On Apr 3, 2006, at 3:41 PM, Christopher Brown wrote: Hi, I am trying to use Strafunski with GHC 6.5 and was wondering if someone could help me. I have all the instances for Term and Typeable defined for my data types, but when I try

Re: [Haskell-cafe] Editors for Haskell

2006-05-25 Thread Christopher Brown
Hi Walt, For Mac OS X I would strongly recommend using Sub Etha Edit. Its a very simple editor to use, and offers a lot of power and flexibility. It also has a Haskell highlighting mode. You can find it at: http://www.codingmonkeys.de/subethaedit/ Chris. On 25 May 2006, at 16:02, Walter

Re: [Haskell-cafe] FFI question

2006-02-09 Thread Christopher Brown
you for the atention. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe Christopher Brown Ph.D. Student University of Kent. UK. http://www.cs.kent.ac.uk/people/rpg/cmb21/index.html ___