Re: [Haskell-cafe] C++ parser in Haskell?

2006-04-19 Thread Jake Luck
I would be very interested in this as well. I have looked myself but haven't found anything else. I wrote one myself in Haskell but for a subset of C++ (subset of C but with some extra things like methods). Did you build it using parsec or happy? jake _

[Haskell-cafe] SDL on Mac

2006-01-23 Thread Jake Luck
Anyone else here using the SDL binding on their Macs? (If memory serves me, at one point, I had gotten libSDL to work with 6.2.2). Now using GHC 6.4.1, while SDLstable-0.2.0 built without any problem for me on Linux, hsc2hs fails on the Mac: % runhaskell Setup.lhs build --verbose Reading param

Re: [Haskell-cafe] Haskell and OS X

2005-10-18 Thread Jake Luck
Try Eclipse + eclipsefp, they work great on OS X. http://eclipsefp.sourceforge.net/ I am currently developing a native IDE for OS X, it will support haskell and C. jake ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mail

Re: [Haskell-cafe] Transactional in-memory model

2005-08-21 Thread Jake Luck
I want the API to allow making changes only to the model and then applying them back to the filesystem at once. This is to support UI where the user will make various changes and then hit "Apply" or "Cancel". I am imagining this as a sort of simple transactional behaviour of the in-memory model.

Re: [Haskell-cafe] static typing and interactivity

2005-08-18 Thread Jake Luck
One slight annoyance using Haskell is the inability to load modules with type problems in the interactive environment (i.e. GHCi). When I have a type error, it would be nice to have an interactive way to explore what the compiler thinks about the types involved -- as it is, I have to resort to ad

Re: [Haskell-cafe] How to parsing files

2005-07-20 Thread Jake Luck
I need to parse a file in this format: float float float float float float Each row has 3-columns of floating procision number divided by white space. The number of lines is undefined. I use (lines (readFile "...")) to read the file. Text.ParserCombinators.Parsec sounds perfect, no? _

[Haskell-cafe] lazy Graphics, was - How to variables

2005-07-19 Thread Jake Luck
I need to write functions fast and efective. Math, heuristic, metadata and expert systems are better in haskell. If I could use haskel from C, I would do it. The problem are optimalizations, which are a critical change in algorithm. Other (and me too) won't understand my concepts. The speed and