Open Issues Need Help
View All on GitHubAI Summary: Optimize the regex flag handling in Boa's parser to avoid unnecessary heap allocations. This involves replacing the current `Vec` used to store regex flags with a more efficient data structure like `ArrayVec` or modifying the lexer to directly pass a single string representing the flags to the `parse_regex_flags` function.
Boa is an embeddable Javascript engine written in Rust.
AI Summary: The task is to debug and fix a parsing error in the Boa JavaScript engine. The engine currently fails to parse a JavaScript class declaration where the class name is a reserved keyword ('of'). The solution requires understanding the Boa engine's parser, identifying the source of the parsing error related to keyword usage as class names, and implementing a fix to correctly handle such cases.
Boa is an embeddable Javascript engine written in Rust.