Permalink
Commits on Mar 29, 2014
  1. Merge pull request #3663 from adriaanm/spec

    More cleanup for the spec. Ported over @som-snytt's PRs.
    adriaanm committed Mar 29, 2014
  2. SI-6054 Modern eta-expansion examples that almost run

    This wasn't so easy after all. The clever one is to show
    that `Option.fold(=>Z)` preserves the by-nameness of the zero value,
    which may or may not be in the spec yet.
    
    The addition to 6.26.5 was (I think) rejected as implementation-specific;
    it should use the wording from 6.6 about "preserving by-nameness" or "by-namity"
    (the latter has the advantage of sounding both more technical and somewhat inane).
    som-snytt committed with adriaanm Mar 29, 2014
  3. SI-6069 Preserve by-name during eta-expansion

    This wording attempts to describe the behavior change in SI-5610
    while remaining non-committal about the mechanism.
    
    It refers to the section on function applications and attempts to
    use similar language.
    som-snytt committed with adriaanm Mar 29, 2014
  4. Number files like chapters. Consolidate toc & preface.

    Aside from the consolidation of title & preface in index.md,
    this commit was produced as follows:
    
    ```
    cd spec/
    
    g mv 03-lexical-syntax.md                      01-lexical-syntax.md
    g mv 04-identifiers-names-and-scopes.md        02-identifiers-names-and-scopes.md
    g mv 05-types.md                               03-types.md
    g mv 06-basic-declarations-and-definitions.md  04-basic-declarations-and-definitions.md
    g mv 07-classes-and-objects.md                 05-classes-and-objects.md
    g mv 08-expressions.md                         06-expressions.md
    g mv 09-implicit-parameters-and-views.md       07-implicit-parameters-and-views.md
    g mv 10-pattern-matching.md                    08-pattern-matching.md
    g mv 11-top-level-definitions.md               09-top-level-definitions.md
    g mv 12-xml-expressions-and-patterns.md        10-xml-expressions-and-patterns.md
    g mv 13-user-defined-annotations.md            11-user-defined-annotations.md
    g mv 14-the-scala-standard-library.md          12-the-scala-standard-library.md
    g mv 15-syntax-summary.md                      13-syntax-summary.md
    g mv 16-references.md                          14-references.md
    
    perl -pi -e 's/03-lexical-syntax/01-lexical-syntax/g' *.md
    perl -pi -e 's/04-identifiers-names-and-scopes/02-identifiers-names-and-scopes/g' *.md
    perl -pi -e 's/05-types/03-types/g' *.md
    perl -pi -e 's/06-basic-declarations-and-definitions/04-basic-declarations-and-definitions/g' *.md
    perl -pi -e 's/07-classes-and-objects/05-classes-and-objects/g' *.md
    perl -pi -e 's/08-expressions/06-expressions/g' *.md
    perl -pi -e 's/09-implicit-parameters-and-views/07-implicit-parameters-and-views/g' *.md
    perl -pi -e 's/10-pattern-matching/08-pattern-matching/g' *.md
    perl -pi -e 's/11-top-level-definitions/09-top-level-definitions/g' *.md
    perl -pi -e 's/12-xml-expressions-and-patterns/10-xml-expressions-and-patterns/g' *.md
    perl -pi -e 's/13-user-defined-annotations/11-user-defined-annotations/g' *.md
    perl -pi -e 's/14-the-scala-standard-library/12-the-scala-standard-library/g' *.md
    perl -pi -e 's/15-syntax-summary/13-syntax-summary/g' *.md
    perl -pi -e 's/16-references/14-references/g' *.md
    ```
    adriaanm committed Mar 28, 2014
Commits on Mar 28, 2014
  1. Minor cleanup in aisle README

    adriaanm committed Mar 28, 2014
  2. Merge pull request #3661 from adriaanm/plugin-not-in-scala-library

    Remove scala-continuations-plugin from scala-library-all
    committed Mar 28, 2014
  3. Remove scala-continuations-plugin from scala-library-all

    The continuations plugin should instead be a dependency of scala-dist,
    as scala-library-all should be a drop-in replacement for scala-library,
    and as such should not (indirectly) depend on plugins/the compiler.
    adriaanm committed Mar 28, 2014
  4. Merge pull request #3662 from scala/spec

    Import markdown spec under spec/
    adriaanm committed Mar 28, 2014
  5. Merge pull request #3657 from xeno-by/ticket/8388

    SI-8388 consistently match type trees by originals
    committed Mar 28, 2014
  6. Start ssh-agent

    adriaanm committed Mar 28, 2014
  7. Disable strict host checking

    adriaanm committed Mar 28, 2014
  8. Import markdown spec under spec/

    The bulk of the effort was done in:
    https://github.com/iainmcgin/scala-ref-markdown/
    
    I just ported it to redcarpet 3.1, added a jekyll build to run on Travis,
    and fixed some long-standing spec bugs.
    
    As described in spec/README.md, for now we're only generating
    an html page per each chapter with a rudimentary toc index.
    We'll focus on presenting this more nicely first, and then
    look into a pdf / single-page html version.
    adriaanm committed Mar 27, 2014
Commits on Mar 27, 2014
  1. Merge pull request #3656 from densh/si/8387-8350

    SI-8350 SI-8387 tweak handling of new trees
    committed Mar 27, 2014
  2. Merge pull request #3659 from xeno-by/topic/uncurry-ctors

    SI-8451 makes uncurry more forgiving
    committed Mar 27, 2014
  3. Jekyll generated html in spec/ directory

    To avoid confusion, removing artifacts for
    currently unsupported targets (pdf/single-page html).
    
    I'd like to bring those back, but in the mean time let's avoid distractions.
    
    Add Travis build.
    adriaanm committed Mar 27, 2014
  4. SI-8451 quasiquotes now handle quirks of secondary constructors

    Apparently even though the rhs of a secondary constructor looks like an expr,
    it always gets wrapped in a block by the parser. This works just fine with
    the typer, but crashes in uncurry. This commit brings quasiquotes in line with the parser.
    xeno-by committed Mar 27, 2014
  5. Fix #6: automatic section numbering.

    Add chapter number to YAML, which is replace in numbering.css.
    Use CSS counters for chapters, sections, subsections | examples.
    Examples are detected by looking at the H3 element's id,
    which redcarpet derives from the heading's title.
    It must start with "Example:", and the whole title is suppressed
    by a little javascript, so we can make Examples look like in the pdf.
    
    For example, `### Example:` becomes `Example 3.2.10`,
    if it's the 10th example in Section 3.2.
    adriaanm committed Mar 27, 2014
Commits on Mar 26, 2014
  1. require redcarpet 3.1 for user-friendly anchors

    with_toc_data was updated in vmg/redcarpet#186
    to generate pretty ID attributes for Hn headers, which is what we use
    for cross-linking
    adriaanm committed Mar 26, 2014
  2. liquid requires SSA?

    adriaanm committed Mar 26, 2014
  3. sort pages in index

    adriaanm committed Mar 26, 2014
  4. base url

    adriaanm committed Mar 26, 2014
  5. formatting

    adriaanm committed Mar 26, 2014
  6. TODO: number headings using css

    adriaanm committed Mar 26, 2014
  7. mathjax escape dollar

    adriaanm committed Mar 26, 2014
Commits on Mar 25, 2014
  1. TODO: binding example

    adriaanm committed Mar 25, 2014
  2. fix indentation for footnotes

    adriaanm committed Mar 25, 2014
  3. allow math in code

    adriaanm committed Mar 25, 2014
  4. redcarpet

    adriaanm committed Mar 25, 2014
  5. formatting

    adriaanm committed Mar 25, 2014
  6. Jekyll 2 config for redcarpet 3.1.1

    To mimic github flavored markdown for local viewing.
    Note that this requires a development version of jekyll.
    adriaanm committed Mar 25, 2014