Calypso
Calypso copied to clipboard
LDC fork to experiment direct interfacing with C++
```ps1 C:\Users\rayga\Projects\Calypso\build\bin\test>"../ldc2.exe" basics.d -cpp-args /std:c++11 warning: argument unused during compilation: '/std:c++11' warning: argument unused during compilation: '/std:c++11' Global is external, but doesn't have external or weak linkage! { [2 x...
I'm having trouble while compiling Calypso from scratch. I did what follows: * `git clone --recursive https://github.com/Syniurge/Calypso` * download llvm 9.0 headers with my package manager (pacman) * `cd Calypso;...
I have two headers: ```C++ // foo_a.h #pragma once #include "foo_b.h" ``` ```C++ // foo_b.h #pragma once static int FOO = 10; ``` Notice how `foo_a.h` includes `foo_b.h`. If I...
This change allows 's 'function' class to get closer to compiling. Usage: import (C++) std._ : cppfunc = function; Then we can almost instantiate cppfunc when combined with the member...
```d import std.stdio : writefln; pragma(cppmap, ""); import(C++) *; void main() { ℂcpp.std.vector!int list; list.push_back(1); list.push_back(2); list.push_back(3); list.push_back(4); foreach(value; list) writefln("value: %s", value); } ``` `rangefor.d(13): Error: no property popFront...
```d pragma(cppmap, ""); import(C++) Qt, *; struct Test {} void main() { QList!Test tests; } ``` ``` binary /usr/bin/ldc2 version 1.18.0-git-26fadd1-dirty (DMD v2.088.0, LLVM 9.0.0) config /etc/ldc2.conf (x86_64-pc-linux-gnu) calypso driver...
If not, I propose a Stack Exchange chatroom is created for Calypso.
Hi. I haven't looked into D before, because I didn't realize it had such a good compatibility with C++. But recently I came across [binderoo](https://github.com/GooberMan/binderoo), and discovered that D is...
Please provide binaries of the compiler for windows x86_64 and other archs if possible.
I've tried to build Calypso from source on Windows, branch clang-7 seems to be most active. But it fails at linking stage: ``` [150/210] Generating bin/ldc2.exe FAILED: bin/ldc2.exe CMakeFiles\ldc2.exe-f606174.bat ab20fc539e1058d6...