Skip to content

Commit 4f9ae30

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents b95f821 + 5e3277c commit 4f9ae30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3230
-632
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ python:
55

66
sudo: on
77

8+
before_install:
9+
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
10+
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
11+
- sudo apt-get update -qq
12+
813
install:
914
- ./interpreter/meta/travis/install-ocaml.sh
1015
- sudo pip install sphinx==1.7.9
11-
- sudo apt-get install texlive-full
16+
- sudo apt-get install texlive-full yarn
1217
- git clone https://github.com/tabatkins/bikeshed.git
1318
- pip install --editable $PWD/bikeshed
1419
- bikeshed update

document/core/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ bikeshed:
147147
mkdir -p $(BUILDDIR)/bikeshed_mathjax/
148148
bikeshed spec index.bs $(BUILDDIR)/bikeshed_mathjax/index.html
149149
mkdir -p $(BUILDDIR)/html/bikeshed/
150-
(cd util/katex/ && npm install --only=prod)
150+
(cd util/katex/ && yarn && yarn build && npm install --only=prod)
151151
python util/mathjax2katex.py $(BUILDDIR)/bikeshed_mathjax/index.html \
152152
>$(BUILDDIR)/html/bikeshed/index.html
153153
mkdir -p $(BUILDDIR)/html/bikeshed/katex/dist/

document/core/appendix/algorithm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@ Other instructions are checked in a similar manner.
202202
203203
.. note::
204204
It is an invariant under the current WebAssembly instruction set that an operand of :code:`Unknown` type is never duplicated on the stack.
205-
This would change if the language were extended with stack operators like :code:`dup`.
205+
This would change if the language were extended with stack instructions like :code:`dup`.
206206
Under such an extension, the above algorithm would need to be refined by replacing the :code:`Unknown` type with proper *type variables* to ensure that all uses are consistent.

document/core/appendix/custom.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ Each subsection consists of a
4343
\production{name section} & \Bnamesec &::=&
4444
\Bsection_0(\Bnamedata) \\
4545
\production{name data} & \Bnamedata &::=&
46-
n{:}\Bname~~\Bnamesubsection^\ast & (\iff n = \text{name}) \\
46+
n{:}\Bname & (\iff n = \text{name}) \\ &&&
47+
\Bmodulenamesubsec^? \\ &&&
48+
\Bfuncnamesubsec^? \\ &&&
49+
\Blocalnamesubsec^? \\
4750
\production{name subsection} & \Bnamesubsection_N(\B{B}) &::=&
4851
N{:}\Bbyte~~\X{size}{:}\Bu32~~\B{B}
4952
& (\iff \X{size} = ||\B{B}||) \\
@@ -59,6 +62,8 @@ Id Subsection
5962
2 :ref:`local names <binary-localnamesec>`
6063
== ===========================================
6164

65+
Each subsection may occur at most once, and in order of increasing id.
66+
6267

6368
.. index:: ! name map, index, index space
6469
.. _binary-indirectnamemap:

0 commit comments

Comments
 (0)