Skip to content

Support backticks like JS #144534

@cyberphone

Description

@cyberphone

Feature or enhancement

Proposal:

a = 'a long line with a line-break \n in the middle'

Using backticks.

a = `a long line with a line-break 
in the middle`

Primary usage: exec()

Other uses include input to JSON and CBOR APIs:

lcbor = CBOR.from_diagnostic(`{
# Comments are also permitted
  1: 45.7,
  2: "Hi there!"
}`).encode();

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions