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

Support OTP-27.0-rc1 (triple-quoted strings and sigil string literals) #89

Merged
merged 4 commits into from
Feb 18, 2024

Conversation

sile
Copy link
Owner

@sile sile commented Feb 18, 2024

This PR adds support for the following new language features introduced in OTP-27.0-rc1:

- Triple-Quoted Strings has been implemented as per EEP 64 to allow 
   a string to encompass a complete paragraph.
- Adjacent string literals without intervening white space is now a syntax error, 
   to avoid possible confusion with triple-quoted strings.
- Sigils on string literals (both ordinary and triple-quoted) have been implemented as per EEP 66.
  - For example, ~"Björn" or ~b"Björn" are now equivalent to <<"Björn"/utf8>>.

@sile sile merged commit b21a38a into master Feb 18, 2024
10 checks passed
@sile sile deleted the otp27.0-rc1 branch February 18, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant