Re: [Haskell-cafe] haskell parser for java bytecode?

2005-07-03 Thread Jonathan Cast
[EMAIL PROTECTED] wrote:
 Kimberley Burchett writes: 
 
  I'm  interested in  using  haskell  to do  static  analysis of  java
  bytecode. To my surprise, I wasn't able to find any existing haskell
  libraries for parsing java .class files.
 
 Now  I am  surprised.  Why  for goodness'  sake, people  interested in
 Haskell *should* worry about parsing of Java bytecode chunks?

It depends on  your reason for interest.  A  better question: why should
people interested in  Java be interested in using  Haskell to manipulate
it?

Because  Haskell is  (IMHO)  the best  pure  data manipulation  language
around  (pure data,  not pure  manipulation).  Really,  all code-walkers
should be written in Haskell.

Jon Cast
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] haskell parser for java bytecode?

2005-07-03 Thread karczma
Jonathan Cast writes: 


[EMAIL PROTECTED] wrote:



... Why  for goodness'  sake, people  interested in
Haskell *should* worry about parsing of Java bytecode chunks?


It depends on  your reason for interest.  A  better question: why should
people interested in  Java be interested in using  Haskell to manipulate
it? 


Because  Haskell is  (IMHO)  the best  pure  data manipulation  language
around  (pure data,  not pure  manipulation).  Really,  all code-walkers
should be written in Haskell.


If you say so...
It is nice to be so categorical.
But not all people would dare...
Already source parsers in Haskell are not so straightforward. Monadic are
very nice. People teach compilation in such a way, (I did it myself but
I didn't care about efficiency). Swierstra et al. did a great job, but the
result is not easy to master. 


So, in general, although I am on your side concerning the usage of Haskell,
I must say that I hate the philosophy Eine Kirche, eine Sprache... 


If the context - as here - is often very stateful, we, the True
Functional Believers have no chance to convince people to use functional
languages, if they are used to other style of programming. That's why I
was surprised that somebody got surprised. There is no need to convince
people reading this list. Try to convince others... 

Jerzy Karczmarczuk 



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] haskell parser for java bytecode?

2005-06-29 Thread Kimberley Burchett
I'm interested in using haskell to do static analysis of java bytecode. 
To my surprise, I wasn't able to find any existing haskell libraries for 
parsing java .class files.  Is anyone aware of such a library?


I've already started writing my own implementation, which I intend to make 
available as a reusable library once it's ready, but if someone else has 
already done the work then I'd love to avoid having to repeat it.


Kimberley Burchett
http://www.kimbly.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] haskell parser for java bytecode?

2005-06-29 Thread karczma
Kimberley Burchett writes: 

I'm interested in using haskell to do static analysis of java bytecode. To 
my surprise, I wasn't able to find any existing haskell libraries for 
parsing java .class files.  


Now I am surprised.
Why for goodness' sake, people interested in Haskell *should* worry
about parsing of Java bytecode chunks? 

Jerzy Karczmarczuk 


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] haskell parser for java bytecode?

2005-06-29 Thread ajb
G'day all.

Quoting [EMAIL PROTECTED]:

 Now I am surprised.
 Why for goodness' sake, people interested in Haskell *should* worry
 about parsing of Java bytecode chunks?

Upgrading legacy code, of course.

Cheers,
Andrew Bromage

  legacy: adj.
  Perjorative term used to describe any technology that you
  consider inferior but for political reasons do not wish to
  describe as such.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe