Skip to content
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

Merge with WebAssembly/spec branch wasm-3.0 #90

Merged
merged 293 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
af5d6c8
Add a file explaining the motivations of the proposal
yuri91 Feb 23, 2021
88586a0
Add a link to the motivation in the overview
yuri91 Feb 23, 2021
3d086c1
Make the binary format of branch hinting more flexible
yuri91 Mar 8, 2021
c2babd6
Update benchmark to new format
yuri91 Mar 8, 2021
b0913a9
Fix binary grammar definition of the branch hints custom section (#12)
yuri91 Mar 12, 2021
36a0550
Add syntactic requirements to the branchHints section. (#10)
yuri91 Mar 15, 2021
40ea5f5
Update the background with relevant discussions
yuri91 Aug 6, 2021
5ff3f0a
Branch Hinting: rewrite spec based on new code annotation approach
yuri91 Nov 5, 2021
a4a90d1
Branch Hinting: Update benchmarks to new code annotation approach
yuri91 Nov 8, 2021
66609f4
Branch Hinting: fix error in formal notation
yuri91 Nov 10, 2021
f199a4b
Branch Hinting: update the overview
yuri91 Nov 10, 2021
24d8856
Branch Hinting: change section name to metadata.code.branch_hint
yuri91 Feb 7, 2022
20a71a6
Branch Hinting: Add spec text for the branch hint annotations
yuri91 Feb 21, 2022
cb74721
Remove custom annotations section from the README
yuri91 Feb 16, 2022
cbb438f
Branch Hinting: update Overview
yuri91 Feb 16, 2022
64cb3bd
Fix conf for branch hinting proposl
yuri91 Feb 21, 2022
032f458
Branch Hinting: update readme with link to rendered spec
yuri91 Feb 21, 2022
4992a1d
Branch Hinting: update benchmark with new format
yuri91 Feb 23, 2022
d4f5f82
Branch Hinting: change fixed '1' value type from byte to u32
yuri91 Feb 24, 2022
7014ad6
Merge remote-tracking branch 'upstream/main' into main
rossberg May 31, 2022
9db2465
Merge remote-tracking branch 'upstream/main' into main
rossberg Jun 1, 2022
836c9c8
Merge remote-tracking branch 'upstream/main'
rossberg Apr 25, 2023
b2f6894
Attempt to downgrade node.js
rossberg Apr 25, 2023
e3c0b5d
Rrrh...
rossberg Apr 25, 2023
cff2af9
Try to get output
rossberg Apr 25, 2023
603d148
Another attempt to get output
rossberg Apr 25, 2023
09c8953
Avoid duplicate module name in test and improve diagnostics
rossberg Apr 25, 2023
891253c
[interpreter] Handle custom sections and annotations (#17)
yuri91 Apr 25, 2023
b2fa786
[interpreter] Handle custom sections and annotations (#17)
yuri91 Apr 25, 2023
c11c512
Merge remote-tracking branch 'annotations/main' into merge_annot
yuri91 Jun 30, 2023
e09ddc4
[interpreter] add handler for branch hints custom section (#20)
yuri91 Jun 30, 2023
eeb243b
[interpreter] Fix custom section ordering (#20)
yuri91 Sep 6, 2023
755cb78
[interpreter] add new assertions for custom sections (#19)
yuri91 Nov 8, 2023
2bec4b1
Merge remote-tracking branch 'annotations/main'
yuri91 Nov 9, 2023
9abf61e
[test] use the new custom test assertions in BH tests
yuri91 Nov 9, 2023
663c8d5
[js-api][test] Refine DefaultValue for new reference types
takikawa Feb 14, 2024
d9302a8
[spec] Throw consistent exns in "read the imports"
takikawa Feb 15, 2024
88774bd
[spec] minor formatting adjustment
takikawa Feb 15, 2024
e1b39d5
[js-api] Throw consistent exns in "read the imports"
takikawa Feb 15, 2024
2361fee
Merge pull request #524 from takikawa/adjust-spacing-match
rossberg Feb 15, 2024
f8410fb
Update document/core/appendix/embedding.rst
takikawa Feb 15, 2024
dc24262
Address feedback, rename to val_default
takikawa Feb 15, 2024
cae2341
Catch only TypeError in case TWAV throws other exns in the future
takikawa Feb 15, 2024
094a902
Merge branch 'link-error' of github.com:takikawa/gc into link-error
takikawa Feb 15, 2024
d5a49d2
Update document/core/appendix/embedding.rst
rossberg Feb 16, 2024
322e948
Merge pull request #522 from takikawa/default_value
rossberg Feb 16, 2024
6f8e7bc
Merge pull request #523 from takikawa/link-error
rossberg Feb 16, 2024
f09b033
typo
zapashcanon Feb 18, 2024
0ba84fb
Merge pull request #525 from zapashcanon/main
rossberg Feb 18, 2024
16041aa
[test] Test `call_indirect` subtyping more thoroughly
tlively Feb 22, 2024
c2e70ce
Fix an example code for ref.cast in MVP.md
tanishiking Feb 25, 2024
60edc79
Merge pull request #527 from tanishiking/fix-ref-cast-mvp
rossberg Feb 26, 2024
b506385
Merge pull request #526 from WebAssembly/call_indirect-test
rossberg Feb 26, 2024
b03e351
Typos
rossberg Mar 5, 2024
7c26de3
More typos
rossberg Mar 5, 2024
1705935
Fix typing of `ref.i31` in the appendix
fitzgen Mar 6, 2024
aaa6718
Merge pull request #530 from fitzgen/patch-2
rossberg Mar 6, 2024
3dbe24e
Fix catching in throw_ref (#299)
dschuff Mar 16, 2024
606931a
Backport value subsumption
rossberg Mar 17, 2024
ad25ca8
Merge branch 'funcref'
rossberg Mar 17, 2024
b172ec0
Fix typo
rossberg Mar 19, 2024
153ca9a
Add exceptional return to func_invoke in embedding doc (#268)
dschuff Apr 2, 2024
d76b5b3
Constrain custom section annotation placement (#22)
tlively Apr 4, 2024
33f15e6
Add additional i31ref spec tests
fitzgen Apr 4, 2024
18ab40c
Switch to nested operators
fitzgen Apr 8, 2024
ad4dcdb
WIP move branch hinting specification in separate document
yuri91 Feb 26, 2024
f9be8d7
Update CI to build and publish code metadata spec
yuri91 Feb 29, 2024
81d6ff7
[spec] Update katex submodule (#1726)
sideshowbarker Feb 15, 2024
a250510
Fix crossrefs for metadata spec, deduplicate conf and macros
yuri91 Mar 22, 2024
a7fc5bb
Disable the bikeshed build for metadata.code
yuri91 Mar 25, 2024
9d3d01e
metadata.code: rename type->format
yuri91 Mar 25, 2024
4d79f02
metadata/code: Add explicit dependency on core spec latex build for a…
yuri91 Mar 25, 2024
64c6799
metadata/code: Mention dependency on core spec in the introduction
yuri91 Mar 26, 2024
1a2f8bf
metadata/code: fixes to spec document
yuri91 Mar 27, 2024
7158150
metadata/code: remove syntax section and integrate with the binary se…
yuri91 Mar 28, 2024
e19c032
Merge pull request #534 from fitzgen/more-i31ref-spec-tests
rossberg Apr 9, 2024
8d24dbf
branch hinting: reword the byte offset description
yuri91 Apr 9, 2024
82b031a
restore publishing of main branch to gh pages
yuri91 Apr 9, 2024
1211f1a
Merge branch 'upstream'
rossberg Apr 10, 2024
b1fe0ee
Merge branch 'upstream'
rossberg Apr 10, 2024
a76bb8f
Simplify hack
rossberg Apr 10, 2024
534bf80
Fix CI
rossberg Apr 10, 2024
f227556
Merge branch 'upstream'
rossberg Apr 10, 2024
02e9b85
Merge upstream 'annotations/main'
yuri91 Apr 10, 2024
c97651f
Update JS API for exnref (#301)
dschuff Apr 11, 2024
c84a3c6
[Spec] Fix bounds check prose for array.fill and array.copy
tlively Apr 14, 2024
e5af649
Merge pull request #537 from WebAssembly/fix-array-fill-copy-bounds
rossberg Apr 15, 2024
be51b19
Fix wrong type expansion
rossberg Apr 21, 2024
52ebaa9
Merge pull request #113 from WebAssembly/fix.538
rossberg Apr 21, 2024
7514d9a
Tweak type-setting / typos in some rules
rossberg Apr 21, 2024
9ce923e
Fix wrong type expansion
rossberg Apr 21, 2024
8c51e58
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Apr 21, 2024
d510f84
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Apr 21, 2024
cd543fa
Fix typo
rossberg Apr 21, 2024
8dc80be
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Apr 21, 2024
b7a7d76
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Apr 21, 2024
6871e54
More fixes and tests around element segments
rossberg Apr 23, 2024
70ddb4b
Update test/core/elem.wast
rossberg Apr 23, 2024
fa6ff17
Merge pull request #114 from WebAssembly/fix.538.2
rossberg Apr 23, 2024
273c2ac
Merge branch 'funcref'
rossberg Apr 23, 2024
7b731c8
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Apr 23, 2024
f981a51
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Apr 23, 2024
354c2cb
Fix JS type test wrappers
rossberg Apr 23, 2024
f8190d1
Fix JS type test wrappers
rossberg Apr 23, 2024
dc444e3
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Apr 23, 2024
cd8b5c5
Fix i31.wast default table element assertions (#541)
fitzgen Apr 23, 2024
beb8fb5
[test] Remove stray tabs from test files (#1745)
sbc100 Apr 24, 2024
d399b9e
Expose the JavaScript Exception tag and allow importing it (#269)
dschuff Apr 26, 2024
2428473
[spec] Check and fix cross-references (#1746)
rossberg Apr 28, 2024
ec004f6
Merge branch 'upstream'
rossberg Apr 28, 2024
9d2d677
Merge branch 'funcref'
rossberg Apr 28, 2024
d96da54
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Apr 28, 2024
b16745e
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Apr 28, 2024
621d8c0
[test] Add `--failfast` flag to test runner (#1747)
sbc100 Apr 30, 2024
b4dd180
[test] Use `node` over `spidermonkey` by default (#1748)
sbc100 May 2, 2024
7b6af09
Fix "metada" typo
bvisness May 7, 2024
2285497
[test] Add tests for and fix alignment overflow (#1751)
SoniEx2 May 8, 2024
ff86dc2
Allow quoted identifiers (#23)
rossberg May 21, 2024
e0de089
Restructure explainers (#302)
aheejin May 23, 2024
f3ebba3
Revive legacy JS API and restructure legacy spec directory (#303)
aheejin May 24, 2024
4433e3f
Test breaking out of a try (#270)
SoniEx2 May 24, 2024
3b5e9e1
Fix links to legacy spec documents (#304)
aheejin May 25, 2024
54d35c6
call `ref.func` needs to be declared first
oovm May 26, 2024
8475cff
Merge pull request #115 from oovm/patch-1
rossberg May 26, 2024
013cf5d
Test `return_call*`s to callees that return more values than the call…
fitzgen May 29, 2024
9660b28
Merge pull request #116 from fitzgen/test-return-call-more-results
rossberg May 29, 2024
f561006
Fixup out of date reference to rtt.get
TyOverby Jun 3, 2024
871b01d
Merge pull request #545 from TyOverby/patch-1
rossberg Jun 3, 2024
f4a77ff
Merge branch 'main' into wasm-3.0
rossberg Jun 3, 2024
87ae341
[js-api] Move JS API legacy tests into test/legacy (#305)
aheejin Jun 10, 2024
20dc91f
[test] Exporting random globals does not interfere with memories (#1753)
fitzgen Jun 13, 2024
f30dfee
Throw TypeError if new Exception or getArg would expose v128 to JS (#…
dschuff Jun 14, 2024
901a9b0
[js-api] Sync with WPT tests (#306)
aheejin Jun 21, 2024
0b840da
Wrap explainer text to 80 columns (#311)
aheejin Jun 21, 2024
f0282c8
Fix typo in explainer (#312)
aheejin Jun 21, 2024
2f5a7c5
[js-api] Update wasm-module-builder.js for exnref (#314)
aheejin Jun 25, 2024
e2c8d90
[js-api] Re-add old tests to test/js-api/exception (#315)
aheejin Jun 25, 2024
2adc918
Fix typo in execution of array.copy (#546)
sbc100 Jun 26, 2024
4c4ed15
[ci] Remove mirroring to master branch (#1760)
rossberg Jun 26, 2024
2e6b128
[spec] Clarify binary element bitfield meaning (#1761)
zstewar1 Jun 26, 2024
cfb909d
Rename section 4.7 from "Tags" to "Exceptions" (#317)
dschuff Jun 28, 2024
8e8700d
Add missing memory specifier to memory.init execution semantics
sbc100 Jun 28, 2024
2fcf26d
Merge pull request #53 from WebAssembly/memory_init_exec
rossberg Jun 28, 2024
48158db
Typo
rossberg Jul 1, 2024
d73ac32
[spec] Typo in rules for vector load/store_lane (#1763)
raoxiaojia Jul 2, 2024
d6ea0c9
Some more tests
rossberg Jul 3, 2024
f3a075c
Merge branch 'upstream'
rossberg Jul 3, 2024
f056ce2
Merge branch 'main' into wasm-3.0
rossberg Jul 3, 2024
796c528
Merge branch 'funcref'
rossberg Jul 3, 2024
e3f70db
Merge remote-tracking branch 'multimem/main' into wasm-3.0
rossberg Jul 3, 2024
15ef8ac
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Jul 3, 2024
6138d47
Merge remote-tracking branch 'annot/main' into wasm-3.0+annot
rossberg Jul 3, 2024
25a6882
Fallout
rossberg Jul 3, 2024
5837755
[interpreter] Fix crashes on try_table with parameters (#321)
yamt Jul 4, 2024
c5b968f
[js-api] Update basic and identity tests for exnref (#316)
aheejin Jul 4, 2024
4c93161
[js-api] Add tests for WebAssembly.JSTag (#319)
aheejin Jul 4, 2024
ccdbf4f
Update instructions.rst
eduVcJy0UE0cy0zo3BS7XYO3b Jul 5, 2024
c9211ad
Merge pull request #548 from eduVcJy0UE0cy0zo3BS7XYO3b/patch-1
rossberg Jul 5, 2024
caf5877
Fix type in return_call_ref.wast (#549)
tlively Jul 10, 2024
e852978
Add tests that call_ref does not accept funcref (#550)
tlively Jul 11, 2024
24be425
Remove type() method from Tag object (#318)
dschuff Jul 16, 2024
1a26677
Fix xref anchors
rossberg Jul 17, 2024
97848ea
Add Changes
rossberg Jul 17, 2024
d506af5
Merge remote-tracking branch 'annot/main' into wasm-3.0
rossberg Jul 17, 2024
f596cdc
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Jul 17, 2024
39b7487
[js-api] Editorial: fix some bikeshed warnings
Ms2ger Jul 18, 2024
1291af3
[tests/proposals] Fix typos (#1769)
JonasKruckenberg Jul 18, 2024
70dc1cd
Merge branch 'wasm-3.0' into wasm-3.0+exn
rossberg Jul 18, 2024
5159bc4
Merge exception handling
rossberg Jul 18, 2024
db53a30
Fix index meta
rossberg Jul 18, 2024
0696965
Merge remote-tracking branch 'branchhint/main' into wasm-3.0+branchhint
rossberg Jul 19, 2024
0f7a95a
Test catch subtyping
rossberg Jul 22, 2024
43f84a3
Test more catch subtyping
rossberg Jul 22, 2024
ef5b07b
Test link-time tag typing
rossberg Jul 22, 2024
863b647
Split out exceptions
rossberg Jul 22, 2024
3fb483d
Rename
rossberg Jul 22, 2024
1b99eaa
Merge remote-tracking branch 'exn/main' into wasm-3.0
rossberg Jul 23, 2024
babba57
Fix binary encoding of tag types
rossberg Jul 23, 2024
7a96b37
[spec] Fix execution semantics prose of `ARRAY.NEW_DATA`
f52985 Jul 24, 2024
7b5bebc
[spec] Fix execution prose for array.new_data (#551)
rossberg Jul 24, 2024
9a2cab4
[js-api] Fix bikeshed errors (#1771)
Ms2ger Jul 29, 2024
681b39d
Fix typos
yamt Jul 30, 2024
706fbf8
Merge pull request #552 from yamt/typos
rossberg Jul 31, 2024
4d503df
Fix memory index in data instantiation
rossberg Jul 31, 2024
7bb80a0
Fix memory index in data instantiation
rossberg Jul 31, 2024
646d4b5
[spec] Fix execution semantics prose of `ARRAY.NEW_DATA`
f52985 Jul 24, 2024
9b20411
Fix typos
yamt Jul 30, 2024
351d8b1
[interpreter] Add missing escapes in string printer (#1772)
zapashcanon Aug 1, 2024
8ea273d
[test] Add negative tests for multiple sections (#1773)
dzfrias Aug 2, 2024
e0bc4a3
Fix expansion of element segment format 4
rossberg Aug 8, 2024
cd21cd8
[spec] Tune width in CSS (#1777)
matj1 Aug 9, 2024
8eb2dae
Create LICENSE file (#1778)
dschuff Aug 11, 2024
bbe955d
[test] Add negative test for invalid section ordering (#1775)
dzfrias Aug 12, 2024
c0b3a9c
Add Implementation Report metadata (#1783)
dschuff Aug 16, 2024
55aaa6b
[test] Add a few more mixed-type floating-point expression tests (#1785)
sunfishcode Aug 19, 2024
5f7ae48
[test] Add more tests for sqrt (#1786)
sunfishcode Aug 19, 2024
fffad73
Update Makefiles for easier generation of different document status
dschuff Aug 21, 2024
3eb5061
Fix name subsection ids
osa1 Aug 22, 2024
c57d4c5
List type and field name subsections in namedata
osa1 Aug 22, 2024
ab41b88
Add Implementation Report fields to metadata for JS and Web API specs
dschuff Aug 21, 2024
ee82c8e
Add input for workflow dispatch for W3C publish workflow (#1791)
dschuff Aug 22, 2024
f3c4126
Merge pull request #556 from osa1/name_subsection_ids
rossberg Aug 28, 2024
7c4f303
Merge pull request #557 from osa1/type_subsecs
rossberg Aug 28, 2024
71755b3
[test] Add tests ensuring table type is grown in `table.grow` (#1784)
dzfrias Aug 28, 2024
7378434
Merge branch 'upstream'
rossberg Aug 29, 2024
c4dbe88
Merge remote-tracking branch 'multimem/main' into wasm-3.0
rossberg Aug 29, 2024
f0f9558
Fix merge fallout
rossberg Aug 29, 2024
1c238ab
Update DECISION_URL for Wasm 2.0 CR advancement (#1794)
dschuff Aug 30, 2024
7e2c27c
add a test case (#326)
yamt Aug 30, 2024
b829bd8
Merge remote-tracking branch 'gc/main' into wasm-3.0
rossberg Sep 3, 2024
ec17fa2
Merge remote-tracking branch 'exn/main' into wasm-3.0
rossberg Sep 3, 2024
64fb8fd
Merge branch 'main' into wasm-3.0
rossberg Sep 3, 2024
1726692
Generate deadline and pass to bikeshed as metadata (#1795)
dschuff Sep 3, 2024
f83f810
[interpreter] Implement new instance command (#1796)
rossberg Sep 4, 2024
a6a6b9a
[ci] Bump uplooad/download-artifact to v4 (#1798)
rossberg Sep 4, 2024
67436f2
[ci] Bump upload/download-artifact to v4 (#327)
dependabot[bot] Sep 4, 2024
349929a
Adapt sync/async test harness
rossberg Sep 6, 2024
4e722fb
[test] Data count without data segment (#1801)
SoniEx2 Sep 12, 2024
7ff01f5
[test] Redundant data count section
rossberg Sep 12, 2024
5042950
Update W3C TR build from WD to CRD (#1797)
dschuff Sep 13, 2024
79323b5
Fix order of handler entrance (#329)
CharlieTap Sep 13, 2024
24f0819
Fix throwref execution prose (#330)
CharlieTap Sep 13, 2024
bb0dac3
Fix syntax of tag imports
rossberg Sep 13, 2024
12f0bc2
Add proposal name to spec
rossberg Sep 13, 2024
6ca3310
Fix index.rst
rossberg Sep 13, 2024
7315f7f
Merge remote-tracking branch 'exn/main' into wasm-3.0
rossberg Sep 13, 2024
0ae3513
Merge branch 'main' into wasm-3.0
rossberg Sep 13, 2024
e871f9f
[ci] Bump up/download version for code metadata doc
rossberg Sep 13, 2024
d2d5bc9
Fix xref
rossberg Sep 13, 2024
8f4ae91
[spec] Bump copyright date
rossberg Sep 13, 2024
836b00e
Make builds of old spec versions available
rossberg Sep 13, 2024
51eb50b
[web] Tweaks
rossberg Sep 13, 2024
10a4565
[ci] Add dummy targets for WD-echidna CI
rossberg Sep 13, 2024
8a0d086
[web] Fix links
rossberg Sep 13, 2024
bdd94d2
[ci] Add action to actually upload docs
rossberg Sep 13, 2024
06c3624
[ci] Fix syntax
rossberg Sep 13, 2024
244c6f1
[ci] Missing dependency
rossberg Sep 13, 2024
cc7bb73
[web] Add build date
rossberg Sep 13, 2024
c7c038d
Update document status input for W3C publishing to a choice value (#1…
dschuff Sep 13, 2024
20a8e4f
get_local -> local.get (#27)
zapashcanon Sep 14, 2024
5c7c1d3
Merge remote-tracking branch 'annot/main' into wasm-3.0
rossberg Sep 14, 2024
517034e
Fix typos in catch validation
rossberg Sep 19, 2024
7eae1f4
Fix return result type
rossberg Sep 19, 2024
04a39c5
[spec] Add missing i32x4.extadd_pairwise_i16x8_u instruction to text …
rossberg Sep 21, 2024
3c001a5
Merge branch 'main' into wasm-3.0
rossberg Sep 21, 2024
670ae7e
[spec] Tweak format of changes list
rossberg Sep 21, 2024
bb6fc9c
Merge branch 'main' into wasm-3.0
rossberg Sep 21, 2024
f501994
Fix indentation levels
rossberg Sep 21, 2024
a315401
[test] Fix left-over use of kWasmStmt in wasm-module-builder (#1812)
backes Sep 24, 2024
264d2ad
Merge branch 'wasm-3.0' of github.com:WebAssembly/spec into wasm-3.0
dhil Sep 25, 2024
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
124 changes: 96 additions & 28 deletions .github/workflows/ci-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,44 @@ jobs:
- name: Run Bikeshed
run: cd document/core && make bikeshed
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: core-rendered
path: document/core/_build/html

build-legacy-exceptions-spec:
build-js-api-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Bikeshed
run: pip install bikeshed && bikeshed update
- name: Run Bikeshed
run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: js-api-rendered
path: document/js-api/index.html

build-web-api-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Bikeshed
run: pip install bikeshed && bikeshed update
- name: Run Bikeshed
run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: web-api-rendered
path: document/web-api/index.html

build-code-metadata-spec:
runs-on: ubuntu-latest
needs: [build-core-spec]
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand All @@ -52,71 +83,108 @@ jobs:
- name: Setup Sphinx
run: pip install six && pip install sphinx==5.1.0
- name: Build main spec
run: cd document/legacy/exceptions && make main
run: cd document/metadata/code && make main
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: legacy-exceptions-rendered
path: document/legacy/exceptions/_build/html
name: code-metadata-rendered
path: document/metadata/code/_build/html

build-js-api-spec:
build-legacy-exceptions-core-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Bikeshed
run: pip install bikeshed && bikeshed update
- name: Run Bikeshed
run: bikeshed spec "document/js-api/index.bs" "document/js-api/index.html"
with:
submodules: "recursive"
- name: Setup TexLive
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: Setup Sphinx
run: pip install six && pip install sphinx==5.1.0
- name: Build main spec
run: cd document/legacy/exceptions/core && make main
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: js-api-rendered
path: document/js-api/index.html
name: legacy-exceptions-core-rendered
path: document/legacy/exceptions/core/_build/html

build-web-api-spec:
build-legacy-exceptions-js-api-spec:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Bikeshed
run: pip install bikeshed && bikeshed update
- name: Run Bikeshed
run: bikeshed spec "document/web-api/index.bs" "document/web-api/index.html"
run: bikeshed spec "document/legacy/exceptions/js-api/index.bs" "document/legacy/exceptions/js-api/index.html"
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: web-api-rendered
path: document/web-api/index.html
name: legacy-exceptions-js-api-rendered
path: document/legacy/exceptions/js-api/index.html

build-spec-versions:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: versions-rendered
path: document/versions/

publish-spec:
runs-on: ubuntu-latest
needs: [build-core-spec, build-legacy-exceptions-spec, build-js-api-spec, build-web-api-spec]
needs:
- build-core-spec
- build-js-api-spec
- build-web-api-spec
- build-code-metadata-spec
- build-legacy-exceptions-core-spec
- build-legacy-exceptions-js-api-spec
- build-spec-versions
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Create output directory
run: mkdir _output && cp document/index.html _output/index.html
- name: Download core spec artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: core-rendered
path: _output/core
- name: Download legacy exceptions spec artifact
uses: actions/download-artifact@v2
with:
name: legacy-exceptions-rendered
path: _output/legacy/exceptions
- name: Download JS API spec artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: js-api-rendered
path: _output/js-api
- name: Download Web API spec artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: web-api-rendered
path: _output/web-api
- name: Download code metadata spec artifact
uses: actions/download-artifact@v4
with:
name: code-metadata-rendered
path: _output/metadata/code
- name: Download legacy exceptions core spec artifact
uses: actions/download-artifact@v4
with:
name: legacy-exceptions-core-rendered
path: _output/legacy/exceptions/core
- name: Download legacy exceptions JS API spec artifact
uses: actions/download-artifact@v4
with:
name: legacy-exceptions-js-api-rendered
path: _output/legacy/exceptions/js-api
- name: Download spec versions artifacts
uses: actions/download-artifact@v4
with:
name: versions-rendered
path: _output/versions
- name: Publish to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/mirror-to-master.yml

This file was deleted.

19 changes: 17 additions & 2 deletions .github/workflows/w3c-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@ on:
branches: [ main ]
paths: [ .github/**, document/** ]

# Allows you to run this workflow manually from the Actions tab
# Allows you to run this workflow manually from the Actions tab, gh CLI tool,
# or REST API. THe w3c-status options correspond to the valid options for
# Bikeshed's --md-status flag, and refer to the W3C rec-track document
# stages described in https://www.w3.org/policies/process/#maturity-stages
# (Editor's Draft, Working Draft, Candidiate Recommendation Draft, and
# Candidate Recommendation Snapshot).
workflow_dispatch:
inputs:
w3c-status:
required: true
type: choice
description: W3C Document Status
options:
- ED
- WD
- CRD
- CR

jobs:
publish-to-w3c-TR:
Expand All @@ -30,7 +45,7 @@ jobs:
- name: Publish all specs to their https://www.w3.org/TR/ URLs
run: cd document && make -e WD-echidna-CI
env:
STATUS: --md-status=WD
W3C_STATUS: ${{ github.event_name == 'push' && 'CRD' || inputs.w3c-status }}
W3C_ECHIDNA_TOKEN_CORE: ${{ secrets.W3C_ECHIDNA_TOKEN_CORE }}
W3C_ECHIDNA_TOKEN_JSAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }}
W3C_ECHIDNA_TOKEN_WEBAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_WEBAPI }}
Expand Down
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,11 @@ Original README from upstream repository follows.

# spec

This repository holds a prototypical reference implementation for WebAssembly,
which is currently serving as the official specification. Eventually, we expect
to produce a specification either written in human-readable prose or in a formal
specification language.
This repository holds the sources for the WebAssembly specification,
a reference implementation, and the official test suite.

It also holds the WebAssembly testsuite, which tests numerous aspects of
conformance to the spec.

View the work-in-progress spec at [webassembly.github.io/spec](https://webassembly.github.io/spec/).

At this time, the contents of this repository are under development and known
to be "incomplet and inkorrect".
A formatted version of the spec is available here:
[webassembly.github.io/spec](https://webassembly.github.io/spec/),

Participation is welcome. Discussions about new features, significant semantic
changes, or any specification change likely to generate substantial discussion
Expand Down
49 changes: 0 additions & 49 deletions deploy_key

This file was deleted.

1 change: 0 additions & 1 deletion deploy_key.pub

This file was deleted.

2 changes: 2 additions & 0 deletions document/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This document is licensed under the W3C Software and Document License.
Its text can be found at https://www.w3.org/copyright/software-license/
16 changes: 8 additions & 8 deletions document/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DIRS = core js-api web-api legacy/exceptions
DIRS = core js-api web-api metadata/code legacy/exceptions versions
FILES = index.html
BUILDDIR = _build
TAR = tar
Expand Down Expand Up @@ -28,21 +28,21 @@ diff: $(DIRS:%=diff-%)
# macOS: do “brew install tar” & run “make” as: TAR=gtar make -e WD-tar
.PHONY: WD-tar
WD-tar:
for dir in $(DIRS); \
do STATUS=--md-status=WD TAR=$(TAR) $(MAKE) -e -C $$dir $@;\
for dir in $(DIRS); do \
TAR=$(TAR) $(MAKE) -e -C $$dir $@ || exit 1; \
done

# macOS: do “brew install tar” & run “make” as: TAR=gtar make -e WD-echidna
.PHONY: WD-echidna
WD-echidna:
for dir in $(DIRS); \
do $(MAKE) -e -C $$dir $@;\
for dir in $(DIRS); do \
$(MAKE) -e -C $$dir $@ || exit 1; \
done

.PHONY: WD-echidna-CI
WD-echidna-CI:
for dir in $(DIRS); \
do $(MAKE) -e -C $$dir $@;\
for dir in $(DIRS); do \
$(MAKE) -e -C $$dir $@ || exit 1; \
done

# Directory-specific targets.
Expand All @@ -60,7 +60,7 @@ $(DIRS:%=build-%): build-%:
(cd $(@:build-%=%); make BUILDDIR=$(BUILDDIR) all)

.PHONY: $(DIRS:%=dir-%)
$(DIRS:%=dir-%): dir-%:
$(DIRS:%=dir-%): dir-%: $(BUILDDIR)
mkdir -p $(BUILDDIR)/$(@:dir-%=%)
rm -rf $(BUILDDIR)/$(@:dir-%=%)/*
cp -R $(@:dir-%=%)/$(BUILDDIR)/html/* $(BUILDDIR)/$(@:dir-%=%)/
Expand Down
Loading
Loading