Reader Syntax Entry: String Literal

← Prev | ↑ Chapter | Next → | Index | Symbols

Reader Syntax Entry: String Literal

Name

String Literal

Class

Reader Syntax

Concrete Syntax

string ::= "\"" string-char* "\""

Constituents

  • opening double quote
  • zero or more string characters
  • closing double quote

Description

A string literal denotes a string object.

Acceptance Rules

  • a string is delimited by double quotes
  • backslash introduces escape/control sequences

Strict/Lax Policy

  • strict: accept only documented or tested escapes
  • lax: accept additional escapes only when they do not conflict with documented behavior and compatibility requires them

Examples

  • "abc"
  • "A string with spaces"

Compatibility

  • string interpretation changed materially with Autodesk Unicode/LISPSYS changes beginning in 2021
  • BricsCAD also documents Unicode-aware file text handling

Notes

The complete escape repertoire remains under-specified in the current source corpus.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.