GHC-related project for undergraduate thesis

2016-08-20 Thread Eugene Akentyev
(forwarded from haskell-cafe) Hello, I am an undergraduate student and would like to do something useful for GHC as undergraduate thesis. This list https://ghc.haskell.org/trac/ghc/wiki/ProjectSuggestions is outdated (last modified 6 years ago) and some projects are already done (?). Do you

Re: Using stringize and string concatenation in ghc preprocessing

2016-08-20 Thread Brandon Allbery
On Sat, Aug 20, 2016 at 2:27 PM, Harendra Kumar wrote: > But "-optP" seems to only append to the flags that GHC already passes and > gcc has no "-no-traditional" option to undo the effect of the > "-traditional" that GHC has already passed. I think "-optP" should

Using stringize and string concatenation in ghc preprocessing

2016-08-20 Thread Harendra Kumar
Hi, To reduce boilerplate code in an FFI implementation file I am trying to use the stringizing and string concatenation features of the C preprocessor. Since ghc passes '-traditional' to the preprocessor which disables these features I thought I can pass my own flags to the preprocessor like