ladybird/Userland/Libraries/LibJS/Bytecode
Timothy Flynn a0c19deb80 LibJS: Implement RegExpCreate/RegExpInitialize closer to the spec
RegExpInitialize specifies how the pattern string should be created
before passing it to [[RegExpMatcher]]. Rather than passing it as-is,
the string should be converted to code points and back to a "List" (if
the Unicode flag is present), or as a "List" of UTF-16 code units.
Further. the spec requires that we keep both the original pattern string
and this parsed string in the RegExp object.

The caveat is that the LibRegex parser further requires any multi-byte
code units to be escaped (as "\unnnn"). Otherwise, the code unit is
recognized as individual UTF-8 bytes.
2021-07-23 23:06:57 +01:00
..
Pass LibJS: Stop qualifying AK::Function 2021-06-27 22:40:49 +02:00
ASTCodegen.cpp LibJS: Add support for binding patterns in catch clauses 2021-07-11 21:41:54 +01:00
BasicBlock.cpp LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
BasicBlock.h LibJS: Make basic block size customizable 2021-06-15 22:06:33 +04:30
Generator.cpp LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Generator.h LibJS: Implement generator functions (only in bytecode mode) 2021-06-11 00:30:09 +02:00
Instruction.cpp LibJS: Move Instruction::length() to the Op.h header 2021-06-09 09:24:32 +02:00
Instruction.h LibJS: NewClass bytecode instruction 2021-07-01 17:34:05 +02:00
Interpreter.cpp LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
Interpreter.h LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
Label.h LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
Op.cpp LibJS: Implement RegExpCreate/RegExpInitialize closer to the spec 2021-07-23 23:06:57 +01:00
Op.h LibJS: NewClass bytecode instruction 2021-07-01 17:34:05 +02:00
PassManager.h LibJS: Add a basic pass manager and add some basic passes 2021-06-15 22:06:33 +04:30
Register.h LibJS: Always keep the global object in bytecode VM register $1 2021-06-10 21:59:49 +02:00
StringTable.cpp LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00
StringTable.h LibJS: Store strings in a string table 2021-06-09 17:42:52 +02:00