corrode
corrode copied to clipboard
C to Rust translator
src/Language/Rust/AST.hs:29:36: error: Ambiguous occurrence ‘’ It could refer to either ‘Prelude.’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally...
Hi, I am trying to build corrode on OpenSUSE/Tumbleweed (constantly updated) with these packages installed: ``` corrode@stitny (master *%)$ rpm -qa cabal\* ghc\*|sort cabal-install-3.2.0.0-3.3.x86_64 ghc-array-devel-0.5.4.0-3.1.x86_64 ghc-array-0.5.4.0-3.1.x86_64 ghc-base-devel-4.14.1.0-3.1.x86_64 ghc-base-4.14.1.0-3.1.x86_64 ghc-binary-devel-0.8.8.0-3.1.x86_64 ghc-binary-0.8.8.0-3.1.x86_64...
Hi @jameysharp FIrst off, I think this is an amazing project and a great contribution to community - Thanks 😄 I wanted to try this on some small `c` files...
This is really _far_ from complete, but it starts addressing #22 by filling in everything straightforward. Here are the issues AFAICT - We cannot yet derive `Copy` and `Clone` for...
Hi @jameysharp , I find this project interesting. Would you be willing to include these continuous integration and Docker image improvements? This pull request considers PRs #147, #145 and #161:...
A good deal of people would install cabal and friends just to have corrode, better add another step so they won't be surprised if they dare to paste the commands...
``` lmdb/libraries/liblmdb $ PATH="${CORRODE_BUILD}:${CORRODE_SCRIPTS}:${PATH}" make CC=corrode-cc corrode-cc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb.c corrode-cc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c midl.c Traceback (most...
Being able to add multiple files would be really convenient and a lot simpler
The Language.Rust module would be very useful for other people who are generating Rust from Haskell. In particular, I've been looking at writing a Rust backend to Elm for quite...
__builtin functions currently aren't accepted by corrode On macos: ``` ("/usr/include/math.h": line 205): illegal undefined variable; check whether a real C compiler accepts this: __builtin_fabsf ```