Skip to content

README updates #123

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 3 commits into from
Aug 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SourceCode [![Build Status](https://travis-ci.org/lihaoyi/sourcecode.svg?branch=master)](https://travis-ci.org/lihaoyi/sourcecode) [![Join the chat at https://gitter.im/lihaoyi/Ammonite](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lihaoyi/sourcecode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Maven Central](https://img.shields.io/maven-central/v/com.lihaoyi/sourcecode_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.lihaoyi/sourcecode_2.11)
SourceCode [![Join the chat at https://gitter.im/lihaoyi/Ammonite](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lihaoyi/sourcecode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Maven Central](https://img.shields.io/maven-central/v/com.lihaoyi/sourcecode_2.13.svg)](https://maven-badges.herokuapp.com/maven-central/com.lihaoyi/sourcecode_2.13)
==========

```scala
Expand Down Expand Up @@ -38,7 +38,7 @@ To this:
By capturing source information you can use to give your objects and function
meaningful names that tell you where they were defined, automatically without
needing you to manually assign a string-ID to every anonymous function or
anonymous class you define all over your code bas.
anonymous class you define all over your code base.

If you like using Sourcecode, you might also enjoy this book by the author which
teaches you Scala in a similarly simple and straightforward way:
Expand Down Expand Up @@ -79,7 +79,7 @@ The kinds of compilation-time data that `sourcecode` provides are:
you have multiple statements in a `{}` block, `sourcecode.Text` will only
capture the source code for the last expression that gets returned. This
implicit is slightly experimental; be sure to report any bugs you find!
- `sourcecode.Args`: the arguments that where provided to the nearest enclosing
- `sourcecode.Args`: the arguments that were provided to the nearest enclosing
method
- `sourcecode.Name.Machine`, `sourcecode.FullName.Machine` and
`sourcecode.Enclosing.Machine` which are similar to `sourcecode.Name`,
Expand Down Expand Up @@ -520,7 +520,7 @@ foo("baz", 42)(true) // foo(bar=baz, baz=42)(p=true)
Embedding Domain-Specific Languages
-----------------------------------

The Scala programming is a popular choice to embed domain-specific languages:
Scala is a popular language in which to embed domain-specific languages:
that means that you start with some external language, e.g. this
[MathProg] example

Expand Down