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

[d] New backend. #79

Merged
merged 1 commit into from
Mar 10, 2023
Merged

[d] New backend. #79

merged 1 commit into from
Mar 10, 2023

Conversation

epi
Copy link
Contributor

@epi epi commented Mar 10, 2023

Closes #34.

@codecov-commenter
Copy link

codecov-commenter commented Mar 10, 2023

Codecov Report

Merging #79 (2170d65) into master (0693f3b) will increase coverage by 0.05%.
The diff coverage is 97.13%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
+ Coverage   96.06%   96.12%   +0.05%     
==========================================
  Files          16       18       +2     
  Lines       14895    15948    +1053     
==========================================
+ Hits        14309    15330    +1021     
- Misses        495      524      +29     
- Partials       91       94       +3     
Impacted Files Coverage Δ
GenCCpp.cs 98.22% <ø> (-0.44%) ⬇️
CiTo.cs 56.25% <50.00%> (-0.10%) ⬇️
GenD.cs 97.02% <97.02%> (ø)
GenBase.cs 98.91% <100.00%> (+0.03%) ⬆️
GenCCppD.cs 100.00% <100.00%> (ø)
Transpiled.cs 94.18% <100.00%> (+<0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@epi epi force-pushed the d branch 8 times, most recently from ec01a1d to 1542c71 Compare March 10, 2023 03:14
@pfusik pfusik merged commit 2a87f76 into fusionlanguage:master Mar 10, 2023
Copy link
Collaborator

@pfusik pfusik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍾 This is sooo impressive given the recent porting of cito to Ć and library additions! I only added some very minor cosmetics.

MathLog10 was failing at runtime with DMD64 D Compiler v2.102.0-dirty on Windows, but it passes with DMD64 D Compiler v2.102.2-dirty.

I plan to release 2.2.0 early next week. Do you want to make any changes before that?

}


protected static bool IsCreateWithNew(CiType type)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why protected non-override methods? Do you plan subclassing GenD ?

Copy link
Contributor Author

@epi epi Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is sooo impressive given the recent porting of cito to Ć and library additions!

I called this game "chase & rebase".

MathLog10 was failing at runtime with DMD64 D Compiler v2.102.0-dirty on Windows, but it passes with DMD64 D Compiler v2.102.2-dirty.

There's generally something flaky about the fp tests. Math.Log(e) == 1; //FAIL: d TODO is one case I'll need to meditate on. I even observed one run where MathNaN failed in TS and passed earlier and later without related changes.

I plan to release 2.2.0 early next week. Do you want to make any changes before that?

There are certainly refactorings and upgrades coming, but I'll be on travel on upcoming 2 weeks so let's keep it as it is for now.

Do you plan subclassing GenD ?

One immediate idea was a @nogc variant, but overall I'd consider current GenD alpha quality and that includes some method attributes not being well thought of. ;)

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.

[Language request] Please add D programmimng language
3 participants