Skip to content

Dotty 0.4.0-RC1 Blog Post #3176

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

Merged
merged 1 commit into from
Oct 16, 2017
Merged

Conversation

allanrenucci
Copy link
Contributor

No description provided.

@allanrenucci
Copy link
Contributor Author

@felixmulder Do you want to write something about the new REPL?
@smarter Do you want to write something about Scala 2.12 support?

@felixmulder
Copy link
Contributor

felixmulder commented Sep 26, 2017

@allanrenucci - sure. Also, I've been thinking of some improvements:

  • If a state is thrown away, and a new state used in its stead. That should be enough to reset the REPL. So, some mutability in ReplDriver init as well as Rendering should be moved into the session CC (I'm sure @OlivierBlanvillain would agree)
  • Evaluation should be better encapsulated, it'd be so nice if we could get away without the classloading that sort of exists outside of our model

A difference between the two implementations that we've fixed:

scala> implicit val x: String = "wrong"
scala> implicit val y: String = "right"
scala> implicitly[String]
val res0: String = "right"

So, I guess that should be mentioned. Otherwise I'm not sure what more to add :)

@allanrenucci
Copy link
Contributor Author

@smarter @felixmulder Any update on this?

@allanrenucci
Copy link
Contributor Author

So, I guess that should be mentioned. Otherwise I'm not sure what more to add :)

Autocomplete?

@smarter
Copy link
Member

smarter commented Oct 1, 2017

Still on my TODO list to write something, but I guess it's not too urgent if we're delaying the release by a week :).

@smarter
Copy link
Member

smarter commented Oct 10, 2017

I just added a bunch of stuff, please proofread/improve as you see fit :).

Since our first release, it has been possible to use Scala 2 libraries in a
Dotty project as explained in the
[dotty-example-project](https://github.com/smarter/dotty-example-project#getting-your-project-to-compile-with-dotty).
Previously, we supported libraries compiled Scala 2.11, but starting with this
Copy link
Contributor

Choose a reason for hiding this comment

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

compiled --> compiled by

@allanrenucci
Copy link
Contributor Author

@heathermiller Could you please have a look? I'll open a PR to scala-lang if we are happy with this version.



## Trying out Dotty
### Scastie
Copy link
Member

Choose a reason for hiding this comment

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

Maybe you should link to an already-configured Dotty snippet? Else the default is Scala 2.12.x...

Copy link
Member

Choose a reason for hiding this comment

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

Oh, oops, you already do that. I should've looked at the URL for this link. 🙈

According to `git shortlog -sn --no-merges 0.3.0-RC1..0.4.0-RC1` these are:

```
TODO
Copy link
Member

Choose a reason for hiding this comment

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

I presume the PR to scala-lang will include this? ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Waiting for a couple more PRs to get in before I tag the release. Will definitely be in the scala-lang PR =)

TODO
```

If you want to get your hands dirty with any of this, now is a good moment to get involved!
Copy link
Member

Choose a reason for hiding this comment

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

If you want to get your hands dirty with any of this, now is a good moment to get involved!

I would instead say:

If you want to get your hands dirty and contribute to Dotty, now is a good time to get involved!

```

If you want to get your hands dirty with any of this, now is a good moment to get involved!
You can have a look at our [Getting Started page](http://dotty.epfl.ch/docs/contributing/getting-started.html),
Copy link
Member

Choose a reason for hiding this comment

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

You can have a look at our Getting Started page

I would say:

You can have a look at our Getting Started page for new contributors


If you want to get your hands dirty with any of this, now is a good moment to get involved!
You can have a look at our [Getting Started page](http://dotty.epfl.ch/docs/contributing/getting-started.html),
our [Awesome Error Messages](http://scala-lang.org/blog/2016/10/14/dotty-errors.html) or some of
Copy link
Member

Choose a reason for hiding this comment

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

our Awesome Error Messages

I would say:

the Awesome Error Messages project

We are looking forward to having you join the team of contributors.

## Library authors: Join our community build
Dotty now has a set of libraries that are built against every nightly snapshot.
Copy link
Member

Choose a reason for hiding this comment

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

Dotty now has a set of libraries that are built against every nightly snapshot.

I would say:

Dotty now has a set of widely-used community libraries that are built against every nightly Dotty snapshot.

Copy link
Member

@heathermiller heathermiller left a comment

Choose a reason for hiding this comment

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

Looks almost perfect to me, @allanrenucci! I'd just suggest a few minor rewordings and of course the list of contributors, but else it looks ready to be PR'ed to scala-lang!

@allanrenucci
Copy link
Contributor Author

Thanks @heathermiller for your review!

@allanrenucci allanrenucci merged commit 97ac294 into scala:master Oct 16, 2017
@allanrenucci allanrenucci deleted the blogpost branch October 17, 2017 07:04
@allanrenucci allanrenucci mentioned this pull request Oct 20, 2017
2 tasks
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.

5 participants