Skip to content

Commit

Permalink
Initialize JS Regex crates and def AST. (#1500)
Browse files Browse the repository at this point in the history
ref: #1164

I have initialized a crate for handling JavaScript Regexp and defined
the AST.
I implemented the AST while referring to
[eslint-community/regexpp](https://github.com/eslint-community/regexpp/blob/2e8f1af992fb12eae46a446253e8fa3f6cede92a/src/ast.ts).
  • Loading branch information
ubugeeei authored Nov 22, 2023
1 parent 6410502 commit 8e923f1
Show file tree
Hide file tree
Showing 10 changed files with 433 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.lock

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

23 changes: 23 additions & 0 deletions crates/oxc_js_regex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "oxc_js_regex"
version = "0.0.0"
publish = false
authors = ["Ubugeeei <[email protected]>"]
categories.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[lib]
doctest = false

[dependencies]
oxc_allocator = { workspace = true }
oxc_span = { workspace = true }
5 changes: 5 additions & 0 deletions crates/oxc_js_regex/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# oxc_js_regex

⚠️ Work in progress. Do not use yet.

see: https://github.com/oxc-project/oxc/issues/1164
Loading

0 comments on commit 8e923f1

Please sign in to comment.