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

[language-*]: Manual Spec Decaf (Part 1) #632

Merged
merged 18 commits into from
Jul 21, 2023

Conversation

confused-Techie
Copy link
Member

@confused-Techie confused-Techie commented Jul 9, 2023

This PR begins to decaf the language specs.

Due to the sheer amount of them, it was a bit unrealistic to fit this all in one PR, so this PR tackles only a few of them, with the hopes that the rest can be touched in subsequent PRs.

Really the only work done for manual decaf here, was to remove implicit returns, since the syntax of tests is usually rather straightforward and generally doesn't end up with as much jank as source files.

The languages decafed in this PR are:

  • language-c [1]
  • language-clojure
  • language-coffee-script
  • language-csharp
  • language-css [1]
  • language-gfm
  • language-git
  • language-go

[1]: Seems CoffeeScript 1.x was better at keeping multiline tabs intact, meanwhile CoffeeScript 2.x tooling looses it. Manually adding back in the tabs when compared to CoffeeScript 1.x tooling output seems to have resolved the issue, while keeping the better decaf intact

@confused-Techie
Copy link
Member Author

Since all tests are passing here, and these changes should result in zero changed logic or behavior, I'll go ahead and merge in a few days.

Just giving the chance for anyone to speak out about changes not yet in an active PR for any of these tests, as I'd rather not make life harder for the folks working with our languages

@confused-Techie
Copy link
Member Author

As promised, I think we are good to merge here.

I'll go ahead and change the target branch and ensure tests are happy and things are conflict free before merging.

But as this is 2 weeks old with zero changes to logic or functionality, I'll merge it

@confused-Techie confused-Techie changed the base branch from language--/machine-decaf to master July 20, 2023 04:44
@confused-Techie confused-Techie merged commit 3fdf991 into master Jul 21, 2023
@confused-Techie confused-Techie deleted the language--/manual-decaf branch July 21, 2023 01:25
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.

1 participant