New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aa + Initializers + cast + string switch + utf decoding #9
Conversation
Array initializer fixed: float[] f = new float[2]; assert(float[0] is float.init) Struct Array initializer fixed. Interface cast asset message now showing the message Added missing properties for delegate and const. Added version for CarelessAllocation which will enable every allocation that should require a GC. inline_concat version.
Simple test file for the runtime
dstrcmp will be internal to __switch for the time being
arsd-webassembly/std/stdio.d
Outdated
var txt = document.createTextNode(str); | ||
var fd = document.getElementById("stdout"); | ||
fd.appendChild(txt); | ||
console.log.apply(null, arguments); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg you broke my writeln lolololol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh srry gonna revert it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
death to python
servewasm.py
Outdated
@@ -0,0 +1,17 @@ | |||
#!/usr/bin/env python3 | |||
|
|||
import http.server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WTF why is there python trash in the D repo?!?!?!!?!?!?!?!!?!?!!?!?!!?!!?
Associative array implementation is working
Array initializer fixed:
float[] f = new float[2]; assert(float[0] is float.init) Struct Array initializer fixed.
Interface cast
assert message now showing the message
Added missing properties for delegate and const.
Added version for CarelessAllocation which will enable every allocation that should require a GC. inline_concat version.
Added utf foreach(dchar ch) decoding