[GHC] #368: Provide a Java Backend
GHC
trac at galois.com
Fri Oct 20 08:37:29 EDT 2006
#368: Provide a Java Backend
-----------------------------+----------------------------------------------
Reporter: rainbowang | Owner: nobody
Type: feature request | Status: assigned
Priority: normal | Milestone: _|_
Component: Compiler | Version: None
Severity: minor | Resolution: None
Keywords: | Difficulty: Project (> 1 week)
Testcase: N/A | Architecture: Unknown
Os: Unknown |
-----------------------------+----------------------------------------------
Changes (by igloo):
* architecture: => Unknown
* difficulty: => Project (> 1 week)
* component: None => Compiler
* milestone: => _|_
* testcase: => N/A
* os: => Unknown
Old description:
> {{{
> I hope the GHC provide a JVM backend.
>
> also:
> 1. GHC compile hs to bytecode(name as klass) like what
> javac
> and klass can be packed as kjar(like jar in java)
>
> 2. an KVM interpret the klass bytecode and translate it
> to java .class, then execute it on JVM. the KVM can be
> write in haskell also.
>
> now, a pure java based GHC and KVM can be used on JVM like
> 1. ghc.kjar contains the ghc compiler
> 2. happy.kjar contains the happy compiler
> 3. kvm.kjar contains the KVM
> 4. kvm.jar contains the bootstrap kvm that can be run
> on JVM.
>
> }}}
New description:
{{{
I hope the GHC provide a JVM backend.
also:
1. GHC compile hs to bytecode(name as klass) like what
javac
and klass can be packed as kjar(like jar in java)
2. an KVM interpret the klass bytecode and translate it
to java .class, then execute it on JVM. the KVM can be
write in haskell also.
now, a pure java based GHC and KVM can be used on JVM like
1. ghc.kjar contains the ghc compiler
2. happy.kjar contains the happy compiler
3. kvm.kjar contains the KVM
4. kvm.jar contains the bootstrap kvm that can be run
on JVM.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/368>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list