DWARF patches for 8.2

2016-11-21 Thread Ben Gamari
Hello fellow DWARF enthusiasts, Tonight I finally made something of a breakthrough on the DWARF front; after finding a small logic error in one of my patches I was able to get a full stack trace into and out of Haskell using the runtime system's native stack unwinder. This is quite exciting!

Re: Making (useful subsets of) bytecode portable between targets

2016-11-21 Thread Ben Gamari
CCing Luite who has done this sort of thing in the context of GHCJS. Shea Levy writes: > Hi all, > > I'm interested in implementing a general solution for TH during > cross-compilation, which if my naive lack-of-understanding is correct > will broadly involve the following

Paren removal in renamer

2016-11-21 Thread Alan & Kim Zimmerman
Hi all I have been wrestling with something silly most of today. T12530 has the following splice in it, which has parens around the "(Maybe Int)". $([d| -- Test the Template Haskell pretty-printing for TypeApplications f = id @(Maybe Int) |]) the parsed source has these parens,

Making (useful subsets of) bytecode portable between targets

2016-11-21 Thread Shea Levy
Hi all, I'm interested in implementing a general solution for TH during cross-compilation, which if my naive lack-of-understanding is correct will broadly involve the following three tasks: 1. Make the generation of byte code, or at least the subset needed for useful TH use,