Conversation
|
Nice! I'll have a look through this later today. |
|
🎆 |
|
Really looking forward to rewriting the C++11 backend on this baseline. Do you guys feel comfortable enough with what's here to recommend me working off of it? I do of course anticipate changes, but I'd also like to be able to provide feedback (for C++'s needs) at the right time. |
|
I think so, but then I would say that as it's my work so far ;) We've not really discussed where it's at yet, but I'm mostly happy with the I'd really like to know how it works out for your case and if there are changes we need to make. At the moment it was mostly built with JS/Lua/JVM capabilities in mind, but only because that's what I'm most familiar with. I'll rebase when I get a minute tonight so it's not lagging behind |
|
Great, thanks. I'll at least start having a closer look, then. I'm currently reviewing (and possibly rethinking) how typeclasses are represented in C++, so this might in turn have an influence on that. |
|
Typeclasses are desugared into regular data constructors now, so hopefully you won't need a special representation for them at all. That currently happens in the |
|
@andyarvanitis Ok, this is in a more up-to-date state now. |
|
Thanks! |
Remove some JS dependencies related to foreign declarations from core
…flag. Uses the --verbose-errors flag to hide some "Reading ..." errors.
psc-publish: Don't print "Warnings:" unless there are warnings
Resolves #1097. "Reading ..." error output is only shown when passed …
core-imp + latest master + external-ffi-files
|
Maybe we should shift this to 0.9 too. |
|
This is the PR, right? The issue is in 0.9 already 😄 |
|
Doh 😄 I just looked at the milestone and this popped up. |
Resolves #711, I finally got around to making this work on the train this morning.
There are still things to do, but I thought I'd get it on the radar now it can run the test suite.
CoreImpmodules should still contain declarations rather thanStatements - more suitable for a wider range of targets, and everything at that level already is avarorfunctionanywayCoreFn -> CoreImpat the momentOpconstructor rather thanIdentto getthisthrough to the JS without it being turned into$$thisOptimizeras possible to work onCoreImp__unusedProbably some other stuff too that I'm not thinking of right now.