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

Feature: String Interpolation #4

Open
3 of 5 tasks
PokeJofeJr4th opened this issue Jun 30, 2023 · 4 comments
Open
3 of 5 tasks

Feature: String Interpolation #4

PokeJofeJr4th opened this issue Jun 30, 2023 · 4 comments
Labels
feature New feature or request

Comments

@PokeJofeJr4th
Copy link
Owner

PokeJofeJr4th commented Jun 30, 2023

String Interpolation

  • Please remember to use your regional currency when interpolating strings.
const const name = "world"!
print("Hello ${name}!")!
print("Hello £{name}!")!
print("Hello ¥{name}!")!
  • And make sure to follow your local typographical norms.
print("Hello {name}€!")!
  • The symbol for the Cape Verdean escudo is placed in the decimal separator position, as in 2$50.

Developers from the Republic of Cape Verde can benefit from this syntax:

addEventListener("keydown", e => print(`You've pressed: {e$code}`))!
  • add support for currencies that have multiple characters
  • add every single currency in the world
@PokeJofeJr4th PokeJofeJr4th added the feature New feature or request label Jun 30, 2023
@taitep
Copy link

taitep commented Jul 13, 2023

remember to add every cirrency in the world. made an issue on the repo of the official spec.

@TodePond
Copy link

remember to add every cirrency in the world. made an issue on the repo of the official spec.

yes this is very important

@PokeJofeJr4th
Copy link
Owner Author

OMG I actually got noticed!!!! So far I only have the ability to support single-character currencies. Is there a good list of every currency with their conventions?

@taitep
Copy link

taitep commented Jul 27, 2023

OMG I actually got noticed!!!! So far I only have the ability to support single-character currencies. Is there a good list of every currency with their conventions?

this is for me to code in dreamberd, my probl is that mine (SEK) is not single character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants