Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit b4f1d81

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 85e6e7a + d22a765 commit b4f1d81

File tree

113 files changed

+6693
-32807
lines changed

Some content is hidden

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

113 files changed

+6693
-32807
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "document/core/util/katex"]
22
path = document/core/util/katex
3-
url = https://github.com/Khan/KaTeX.git
3+
url = https://github.com/KaTeX/KaTeX.git

document/core/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +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)
150151
python util/mathjax2katex.py $(BUILDDIR)/bikeshed_mathjax/index.html \
151152
>$(BUILDDIR)/html/bikeshed/index.html
152153
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)