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

feat(coverage): enable regexp in test262 #4242

Closed
wants to merge 200 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
47f83f0
Restore current progress
leaysgur Jun 20, 2024
7fd8c3b
Add bare example
leaysgur Jun 20, 2024
5e70a1e
Init parser
leaysgur Jun 20, 2024
94c741b
Make it run
leaysgur Jun 21, 2024
8d03d2b
Adjust span
leaysgur Jun 21, 2024
396c439
Omit options support
leaysgur Jun 22, 2024
56f7fdc
Run fmt
leaysgur Jun 22, 2024
dc57a2b
Fix typo
leaysgur Jun 22, 2024
76f23ea
Fix doc
leaysgur Jun 22, 2024
5c97aae
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 22, 2024
dfe439e
Remove ast_builder
leaysgur Jun 24, 2024
29a2436
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 24, 2024
cb4d278
Keep enum size small
leaysgur Jun 24, 2024
0a790fc
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 24, 2024
912929a
Validate u+v flags
leaysgur Jun 25, 2024
164bb37
Clean up
leaysgur Jun 25, 2024
6fbb659
Wip reader
leaysgur Jun 26, 2024
0dc517b
Fix warnings
leaysgur Jun 27, 2024
1794de8
Fix clippy
leaysgur Jun 27, 2024
53705c7
Reader#eat2(), eat3()
leaysgur Jun 27, 2024
ec87865
Calculate unified span pos
leaysgur Jun 27, 2024
93d231c
Fix test name
leaysgur Jun 27, 2024
9f131ce
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 27, 2024
24bc377
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 28, 2024
0cac2c4
Split mod
leaysgur Jun 28, 2024
f657cf0
Align parsing names
leaysgur Jun 28, 2024
31b2849
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jun 29, 2024
3c9bb61
Make very minimum pattern pass
leaysgur Jun 29, 2024
ac13312
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 1, 2024
98eb951
Fix
leaysgur Jul 1, 2024
caa9526
Remove refs
leaysgur Jul 1, 2024
761490f
Update tests
leaysgur Jul 1, 2024
5d39e3d
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 1, 2024
49cb7f5
Fix test
leaysgur Jul 1, 2024
e81c6f1
Refactors
leaysgur Jul 1, 2024
644cd10
Wip quantifier
leaysgur Jul 1, 2024
b91f4fa
Handle range max Infinity
leaysgur Jul 1, 2024
bcdd6fc
Complete quantifier
leaysgur Jul 2, 2024
524a875
Update comments, todos
leaysgur Jul 2, 2024
a548b4a
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 2, 2024
3e8722e
Implement assertion
leaysgur Jul 2, 2024
2de0c74
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 2, 2024
fd208e5
Apply fmt
leaysgur Jul 2, 2024
e75d7f0
Update example
leaysgur Jul 2, 2024
217625b
Consume dot
leaysgur Jul 2, 2024
13273fa
Fix CI
leaysgur Jul 2, 2024
362ed78
Use explicit names
leaysgur Jul 3, 2024
c42a3cc
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 3, 2024
d98e61b
Split module files
leaysgur Jul 3, 2024
b991a81
Wip \atom_escape
leaysgur Jul 3, 2024
96c41ee
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 3, 2024
7e4cbc9
Wip AtomEscape/CharacterEscape
leaysgur Jul 4, 2024
dcdb934
Add notes
leaysgur Jul 4, 2024
f566879
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 4, 2024
1d05ed7
Complete \AtomEscape/CharacterEscape
leaysgur Jul 4, 2024
37765c9
Small fixes
leaysgur Jul 5, 2024
297e404
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 5, 2024
d17d1b0
Fix bug
leaysgur Jul 5, 2024
f1699a8
Wip unicode property escape
leaysgur Jul 5, 2024
858f041
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 5, 2024
d1c0b39
Fix typo
leaysgur Jul 5, 2024
b2c23d1
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 8, 2024
a14dfed
Add early errors as todos
leaysgur Jul 8, 2024
ecb72bb
Add tests
leaysgur Jul 8, 2024
b3c84f0
Align AST names to spec
leaysgur Jul 8, 2024
709d267
Fix fmt
leaysgur Jul 8, 2024
2e6d9f6
Use SpanAtom for oxc_span::Atom
leaysgur Jul 8, 2024
56c12b5
Split impls
leaysgur Jul 8, 2024
2b07202
Clean up
leaysgur Jul 8, 2024
188aae8
Implement \AtomEscape > kGroupName
leaysgur Jul 8, 2024
bb287b8
Rename shared impl
leaysgur Jul 8, 2024
a671f60
Fix bug, to handle \1 correctly
leaysgur Jul 8, 2024
f4bcaab
Handle \k<name> correctly
leaysgur Jul 8, 2024
9bb140d
Add tests
leaysgur Jul 8, 2024
ae9d294
Fix up backrefs
leaysgur Jul 8, 2024
25068b4
Fix typo
leaysgur Jul 8, 2024
4493424
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 8, 2024
72a8594
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 9, 2024
38fad90
Impl non-capturing group
leaysgur Jul 9, 2024
0849711
Omit group and backref connections temporary
leaysgur Jul 9, 2024
ba07674
Implement CaptureingGroup
leaysgur Jul 9, 2024
d0f7624
Update examples
leaysgur Jul 9, 2024
f4bb26f
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 10, 2024
8cf9bc5
Reduce redunduntly nested directory
leaysgur Jul 10, 2024
b692a0e
Wip character class
leaysgur Jul 11, 2024
57d5f3c
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 11, 2024
047e104
Refactor wip
leaysgur Jul 11, 2024
ec22cf9
Refactor...
leaysgur Jul 11, 2024
af5dfb7
Align atom_class implementation
leaysgur Jul 11, 2024
1083de7
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 11, 2024
4940034
Fix bug
leaysgur Jul 12, 2024
62c0b25
feat(coverage): enable regexp in test262
Boshen Jul 13, 2024
21b55f5
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 19, 2024
eb72761
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 21, 2024
dfcf15b
Pass regexp parser options
leaysgur Jul 21, 2024
9d8508d
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 21, 2024
74e4ee7
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 21, 2024
d38f8bb
Rework with new AST
leaysgur Jul 22, 2024
6c6bab3
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 22, 2024
0eaab4c
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 23, 2024
fe16530
Wip atom + ext_atom
leaysgur Jul 23, 2024
34a9d30
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 23, 2024
06e9aec
Wip atom_escape
leaysgur Jul 23, 2024
22a2585
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 23, 2024
2b636c4
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 24, 2024
3149635
Format
leaysgur Jul 24, 2024
8205b75
Parse legacy octal sequence
leaysgur Jul 24, 2024
fe63512
Parse decimal escape
leaysgur Jul 24, 2024
e532774
Parse group
leaysgur Jul 24, 2024
ae49532
Update identity escape
leaysgur Jul 24, 2024
e0d9380
Remove old implementation
leaysgur Jul 24, 2024
26921cd
Wip extended atom
leaysgur Jul 24, 2024
a42b55c
Parse extended atom (except for character_class)
leaysgur Jul 24, 2024
acd60bf
Fix extended_atom pattern_character
leaysgur Jul 25, 2024
f9c6b2f
Fix lookbehind assertion
leaysgur Jul 25, 2024
c35326a
Fix tests
leaysgur Jul 25, 2024
be1cddb
Arrange AST names
leaysgur Jul 25, 2024
27911e2
Fix terms in AST
leaysgur Jul 25, 2024
acbcfd9
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 25, 2024
5b4374f
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 26, 2024
06cd580
Wip character_class
leaysgur Jul 26, 2024
9d09bcf
Add strings unicode flag
leaysgur Jul 26, 2024
4716bc6
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 29, 2024
04febf1
Apply fmt
leaysgur Jul 29, 2024
55c214d
Finish legacy character class
leaysgur Jul 29, 2024
68393b5
Update tests
leaysgur Jul 29, 2024
7295530
Wip SS:EarlyErrors
leaysgur Jul 29, 2024
9c495e6
Wip early errors
leaysgur Jul 29, 2024
61cd500
Implement unicode_property checks
leaysgur Jul 29, 2024
992b2a6
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 29, 2024
f35ba69
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 29, 2024
5ad4315
Fix typos
leaysgur Jul 29, 2024
f9fcf10
Make quantifier optional
leaysgur Jul 29, 2024
02f60c8
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 29, 2024
0c9c028
Fix unicode_escape
leaysgur Jul 29, 2024
bd5bdcf
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 30, 2024
5fa7ce9
Avoid recursion
leaysgur Jul 30, 2024
9b54fc0
Fmt
leaysgur Jul 30, 2024
55615c5
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 30, 2024
83f6232
Pass local unicode_mode
leaysgur Jul 30, 2024
080d772
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 30, 2024
6ab679e
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 30, 2024
db93c1a
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 30, 2024
063aa13
NamedCaptureGroups is off by default in Annex B
leaysgur Jul 30, 2024
c046b52
Flatten dirs
leaysgur Jul 30, 2024
6de7281
Pre parse to check capturing groups
leaysgur Jul 31, 2024
41fb8f6
Complete early errors
leaysgur Jul 31, 2024
2c61c5e
Merge remote-tracking branch 'origin' into regexpp
leaysgur Jul 31, 2024
3a4713c
Merge branch 'regexpp' into regexp-tests
leaysgur Jul 31, 2024
39846a7
Update ast
leaysgur Jul 31, 2024
a0e1340
Adjust scope to ES2024
leaysgur Jul 31, 2024
e0f4ed6
Update comment
leaysgur Jul 31, 2024
c5a3494
Fmt
leaysgur Jul 31, 2024
c349187
Wip class_set_expression
leaysgur Aug 1, 2024
0dc7c04
Complete ClassSetExpression
leaysgur Aug 2, 2024
fc426cc
Wip SS:EE
leaysgur Aug 2, 2024
c191baa
Fix negative flag bug
leaysgur Aug 2, 2024
1878416
Complete all spec
leaysgur Aug 2, 2024
edc0389
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 2, 2024
d1f661d
Merge branch 'regexpp' into regexp-tests
leaysgur Aug 2, 2024
ceefdac
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 5, 2024
6021f94
Update comments
leaysgur Aug 5, 2024
86bef5d
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 5, 2024
2421475
Explicit pattern options
leaysgur Aug 5, 2024
4ef3189
Update example
leaysgur Aug 6, 2024
f0b84fc
More tests
leaysgur Aug 6, 2024
9d0bb08
Comment ast node
leaysgur Aug 6, 2024
d50e53d
Refactor state
leaysgur Aug 6, 2024
f64571f
Cosmetic
leaysgur Aug 6, 2024
5a2adf5
Fix examples
leaysgur Aug 6, 2024
4335119
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 6, 2024
78b28d4
Remove old implementation
leaysgur Aug 6, 2024
319b1d6
Fix fmt
leaysgur Aug 6, 2024
3aeec33
Fix lint
leaysgur Aug 6, 2024
51a48af
Rename example to avoid name collision
leaysgur Aug 6, 2024
b58c440
More comments
leaysgur Aug 6, 2024
032adb9
Refactor Reader
leaysgur Aug 6, 2024
5241e57
Comment
leaysgur Aug 6, 2024
709a749
Add diagnostic label
leaysgur Aug 6, 2024
85e197a
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 6, 2024
2f28318
Fix typos
leaysgur Aug 6, 2024
a37f443
Fix unreachable
leaysgur Aug 6, 2024
c2fda3d
Fix bug
leaysgur Aug 6, 2024
18b8924
Merge branch 'regexpp' of https://github.com/oxc-project/oxc into reg…
leaysgur Aug 6, 2024
e3a2ad4
Fix regex parser usage
leaysgur Aug 6, 2024
8a674d7
Update coverage
leaysgur Aug 6, 2024
b16c6f4
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 6, 2024
8a2f7a1
Merge branch 'regexpp' into regexp-tests
leaysgur Aug 6, 2024
653b2e8
Refactor class_strings_disjunction
leaysgur Aug 14, 2024
1c2c91f
Fix `\b` value
leaysgur Aug 14, 2024
1ae167c
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 14, 2024
719acbc
Diff
leaysgur Aug 14, 2024
f7ea71e
Rename span_position > offset
leaysgur Aug 14, 2024
bdbffa9
Check collect Vec perf
leaysgur Aug 14, 2024
0cbab8a
Merge branch 'regexpp' into regexp-tests
leaysgur Aug 14, 2024
43814e9
Fix u16 offset issue partially
leaysgur Aug 14, 2024
114627b
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 14, 2024
c3c4ec2
Perf non-unicode offset
leaysgur Aug 15, 2024
bb54e3a
Merge remote-tracking branch 'origin' into regexpp
leaysgur Aug 15, 2024
33c80a7
Merge branch 'regexpp' into regexp-tests
leaysgur Aug 15, 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
5 changes: 4 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ extend-exclude = [
]

[default]
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*spellchecker:disable-line$"]
extend-ignore-re = [
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$",
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
]

[default.extend-words]
trivias = "trivias"
Expand Down
21 changes: 13 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ oxc_module_lexer = { version = "0.24.2", path = "crates/oxc_module_lexe
oxc_cfg = { version = "0.24.2", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.24.2", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.24.2", path = "napi/transform" }
oxc_regexp_parser = { version = "0.0.0", path = "crates/oxc_regexp_parser" }

# publish = false
oxc_macros = { path = "crates/oxc_macros" }
Expand Down
24 changes: 0 additions & 24 deletions crates/oxc_js_regex/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions crates/oxc_js_regex/README.md

This file was deleted.

Loading
Loading