Files
vectorcraft/crates/js/Cargo.toml
T
dotCooCoo 5a3de875fa JavaScript: identifiers follow the Unicode categories of section 7.6, and label and parameter checks are linear
is_id_start accepts the letter categories (Lu, Ll, Lt, Lm, Lo, Nl) and
is_id_part adds Mn, Mc, Nd and Pc, read with unicode-general-category.
A superscript digit (No) inside an identifier and a mark such as U+09BE
at its start are now SyntaxErrors, and identifiers with marks outside
the old list, such as the Bengali and Tamil viramas, now parse.

Labels in scope are kept in a map, and duplicate labels in a chain and
duplicate parameters of a strict function are found with a hash set, so
long chains, many labeled statements and long parameter lists are
checked in linear time.
2026-11-08 13:17:13 +07:00

17 lines
378 B
TOML

[package]
name = "vectorcraft-js"
description = "JavaScript for scripts: an ECMAScript 5.1 lexer and parser to a syntax tree with source positions"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
unicode-general-category = "1"
[dev-dependencies]
proptest = { workspace = true }