Skip to content
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

Merged
merged 15 commits into from Jan 6, 2023

Conversation

MrcSnm
Copy link
Contributor

@MrcSnm MrcSnm commented Jan 6, 2023

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

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
@MrcSnm MrcSnm changed the title Aa Aa + Initializers + cast + string switch Jan 6, 2023
@MrcSnm MrcSnm changed the title Aa + Initializers + cast + string switch Aa + Initializers + cast + string switch + utf decoding Jan 6, 2023
var txt = document.createTextNode(str);
var fd = document.getElementById("stdout");
fd.appendChild(txt);
console.log.apply(null, arguments);
Copy link
Owner

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

Copy link
Contributor Author

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

Copy link
Owner

@adamdruppe adamdruppe left a 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
Copy link
Owner

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?!?!?!!?!?!?!?!!?!?!!?!?!!?!!?

@adamdruppe adamdruppe merged commit c07d61d into adamdruppe:master Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants