AssembleScript is a programming language designed for avengers to write powerful scripts and fight against evil forces. This repository contains it's source code and documentation.
This pull request introduces support for template literals with interpolations in AssemblyScript. It enhances the expressiveness of the language by allowing developers to create more dynamic and complex strings with ease.
Updated the lexer and parser to tokenize and parse template literals correctly.
Added support for template interpolations in the form of '@{expression}'.
Created an abstract syntax tree (AST) representation for template literals with interpolations.
Improved error handling for missing or mismatched backticks in template literals.
Types of Changes
What types of changes does your code introduce to this project? Please mark with
an x the applicable boxes.
[x] Bugfix (non-breaking change that addresses an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that may cause existing functionality to
break)
[ ] Documentation update
[ ] Refactoring (code optimization or restructuring)
[ ] Other (please specify): __
Testing and Publishing
Please indicate the status of the following:
[x] These changes have been thoroughly tested.
[x] Code is properly formatted using command deno fmt
PR Summary
This pull request introduces support for template literals with interpolations in AssemblyScript. It enhances the expressiveness of the language by allowing developers to create more dynamic and complex strings with ease.
Types of Changes
What types of changes does your code introduce to this project? Please mark with an
x
the applicable boxes.[x] Bugfix (non-breaking change that addresses an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that may cause existing functionality to break)
[ ] Documentation update
[ ] Refactoring (code optimization or restructuring)
[ ] Other (please specify): __
Testing and Publishing
Please indicate the status of the following:
[x] These changes have been thoroughly tested.
[x] Code is properly formatted using command
deno fmt