Shrubbery syntax for Racket

azhenley1 pts0 comments

Shrubbery Notationâ–¼Shrubbery Notation<br>1 Quick Overview2 Shrubbery Specification3 Parsed Representation4 Shrubbery Language5 Shrubbery APIs6 Design Considerations7 Editor Support

On this page:<br>Shrubbery Notation

0.46+9.2<br>Rhombus<br>top contents &larr; prev up next &rarr;<br>Shrubbery Notation🔗ℹ<br>Shrubbery notation is a set of text-level conventions that build toward a<br>full programming language, such as<br>Rhombus.<br>The notation is line- and indentation-sensitive, and it is intended to partially group<br>input, but leave further parsing to another layer, especially<br>enforestation.<br>The parsed form of a shrubbery imposes grouping to ensure that further<br>parsing is consistent with the shrubbery&rsquo;s lines and indentation.<br>1 Quick Overview<br>1.1 Simple Terms<br>1.2 Comments<br>1.3 Lines and Indentation<br>1.4 Parentheses, Brackets, Braces, and Quotes<br>1.5 S-Expression Interoperability

2 Shrubbery Specification<br>2.1 Groups and Blocks<br>2.1.1 Grouping by Lines<br>2.1.2 Grouping by Opener–Closer Pairs<br>2.1.3 Blocking with : and Indentation<br>2.1.4 Continuing with Indentation and an Operator<br>2.1.5 Alternatives with |<br>2.1.6 Separating Groups with ; and ,<br>2.1.7 Line- and Column-Insensitivity with « and »<br>2.1.8 Continuing a Line with \<br>2.1.9 Group Comments with #//<br>2.1.10 At-Notation Using @<br>2.2 Token Parsing<br>2.3 At-Notation Parsing

3 Parsed Representation

4 Shrubbery Language

5 Shrubbery APIs<br>5.1 Parsing<br>5.2 Source Locations and Raw-Text Properties<br>5.3 Reconstructing Shrubbery Notation<br>5.4 Writing Shrubbery Notation<br>5.5 Tool Support<br>5.5.1 Language Configuration<br>5.5.2 Syntax Coloring<br>5.5.3 Indentation<br>5.5.4 Term and Group Navigation<br>5.5.5 Keystrokes<br>5.6 Shrubbery Variants

6 Design Considerations<br>6.1 Rationale<br>6.2 Prior Art

7 Editor Support<br>7.1 Shrubbery Support in DrRacket<br>7.2 How to Type «…»

top contents &larr; prev up next &rarr;

shrubbery notation indentation parsing support parsed

Related Articles