Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy evaluation for cooked template string #1103

Merged
merged 3 commits into from
Mar 26, 2021

Commits on Feb 1, 2021

  1. Lazy evaluate cooked template string

    Fix octal escape in string literal
    
    
    Add tests
    
    
    Fix zero escape
    
    
    Fix zero escape lookahead
    
    
    Rename variables
    
    
    Rename helper functions
    
    
    Refactor match arms
    
    
    Fix escape line terminator sequence
    
    
    Fix single character escape
    
    
    Fix line terminator and escape followed by unicode char
    
    
    Add NonOctalDecimalEscapeSequence
    
    
    Fix comment
    
    
    Refactor
    
    
    Modify error message
    
    
    Add tests
    
    
    Rename tests
    
    
    Add test for error
    
    
    Add comments for unsafe bytes to str
    
    
    Update boa/src/syntax/lexer/string.rs
    
    Co-authored-by: tofpie <75836434+tofpie@users.noreply.github.com>
    Minor refactor
    
    
    Remove unsafe bytes to str
    
    
    Fix panic when reading invalid utf-8 chars
    
    
    Refactor string literal
    
    
    Support invalid utf-8 chars in string literal input
    
    
    Add cook function for template literal
    
    
    Fix line continuation bug
    
    
    Add methods for utf16 buffer trait
    
    
    Add trait comments
    
    
    Add error message for template literal
    
    
    Add and fix comments
    
    
    Hide unused exported function and modify tests
    
    
    Fix bug
    
    
    Lazy evaluate cooked template string
    
    
    Fix clippy
    
    
    Fix test262 stack overflow issue
    
    
    Fix invalid setting strict mode with template literal
    
    
    Remove unnecessary cache
    
    
    Remove
    jevancc committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    7fd8e75 View commit details
    Browse the repository at this point in the history
  2. Add comments

    jevancc committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    29bf824 View commit details
    Browse the repository at this point in the history
  3. Minor update

    jevancc committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    2c2ab77 View commit details
    Browse the repository at this point in the history