Skip to content

Commit

Permalink
Modularized parser (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Apr 28, 2020
1 parent 55c8576 commit bc63b28
Show file tree
Hide file tree
Showing 71 changed files with 6,631 additions and 3,049 deletions.
20 changes: 13 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,24 @@
"request": "launch",
"name": "Launch",
"windows": {
"program": "${workspaceFolder}/target/debug/boa_cli.exe"
"program": "${workspaceFolder}/target/debug/boa.exe"
},
"program": "${workspaceFolder}/target/debug/boa_cli",
"args": ["${workspaceFolder}/tests/js/test.js"],
"sourceLanguages": ["rust"]
"program": "${workspaceFolder}/target/debug/boa",
"args": [
"${workspaceFolder}/tests/js/test.js"
],
"sourceLanguages": [
"rust"
]
},
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"args": ["${workspaceFolder}/tests/js/test.js"],
"program": "${workspaceFolder}/target/debug/boa_cli.exe",
"args": [
"${workspaceFolder}/tests/js/test.js"
],
"program": "${workspaceFolder}/target/debug/boa.exe",
"cwd": "${workspaceFolder}",
"sourceFileMap": {
"/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "${env:USERPROFILE}/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust",
Expand All @@ -43,4 +49,4 @@
"preLaunchTask": "Cargo Test Build",
}
]
}
}
42 changes: 21 additions & 21 deletions Cargo.lock

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

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ members = [
"boa_wasm",
]

# The release profile, used for `cargo build`.
[profile.dev]
# Enables thin local LTO and some optimizations.
opt-level = 1

# The release profile, used for `cargo build --release`.
[profile.release]
# Enables "fat" LTO, for faster release builds
Expand Down
2 changes: 1 addition & 1 deletion boa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gc = "0.3.3"
gc_derive = "0.3.2"
serde_json = "1.0.51"
rand = "0.7.3"
regex = "1.3.6"
regex = "1.3.7"

# Optional Dependencies
serde = { version = "1.0.106", features = ["derive"], optional = true }
Expand Down
1 change: 1 addition & 0 deletions boa/src/builtins/console/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fn formatter_trailing_format_leader_renders() {
}

#[test]
#[allow(clippy::approx_constant)]
fn formatter_float_format_works() {
let val = [
Gc::new(ValueData::String("%f".to_string())),
Expand Down
Loading

0 comments on commit bc63b28

Please sign in to comment.