On Wednesday, 19 February 2020 at 08:47:04 UTC, Petar Kirov
[ZombineDev] wrote:
On Wednesday, 19 February 2020 at 08:14:34 UTC, AlphaPurned
wrote:
The first is std.json. It is broke. Doesn't work with tuples.
The change above fixes it by treating tuple as an array(same
code). It works fine.
On Wednesday, 19 February 2020 at 07:09:02 UTC, April wrote:
What's the current state of MIPS compiling for bare metal?
For LDC, bare metal should hardly be a problem; most
druntime/Phobos tests apparently pass, see
https://github.com/ldc-developers/ldc/issues/2995.
On Wednesday, 19 February 2020 at 07:09:02 UTC, April wrote:
What's the current state of MIPS compiling for bare metal?
Especially the R4300i processor.
I've had some success with running D code on Nintendo 64
emulators, which emulate a R4300i processor. I'm compiling with:
ldc2 -march=mips
On Wednesday, 19 February 2020 at 08:14:34 UTC, AlphaPurned wrote:
The first is std.json. It is broke. Doesn't work with tuples.
The change above fixes it by treating tuple as an array(same
code). It works fine.
Can you post a minimal, but complete program that shows the
problems with
On Wednesday, 19 February 2020 at 07:09:02 UTC, April wrote:
What's the current state of MIPS compiling for bare metal?
Especially the R4300i processor. I see MIPS on both GDC and LDC
"partial support/bare metal" lists but them being somewhat
vague about it I'm not quite sure which it means
On Wednesday, 19 February 2020 at 07:49:36 UTC, Namal wrote:
oooh... I used
str = std.readln();
to get my string and there must have been some other sign, line
break or whitespace or something at the end :(
Now I understand it, thx
That makes sense. readln includes the newline:
$ echo
On Tuesday, 18 February 2020 at 22:00:25 UTC, Petar Kirov
[ZombineDev] wrote:
On Tuesday, 18 February 2020 at 18:05:43 UTC, AlphaPurned wrote:
json has two issues, it doesn't work with tuple:
(isArray!T)
goes to
(isArray!T || (T.stringof.length > 4 && T.stringof[0..5] ==
"Tuple"))
and