Skip to content

Commit a7a2142

Browse files
authored
Merge pull request #2405 from xushiwei/q
Domain Text Literals
2 parents 8fec02f + 351d17d commit a7a2142

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For more details, see [Quick Start](doc/docs.md).
5757
* Smallest but Turing-complete syntax set in best practices (see [The XGo Mini Specification](doc/spec-mini.md)).
5858
* Fully compatible with [Go](https://github.com/golang/go) and can mix Go/XGo code in the same package (see [The XGo Full Specification](doc/spec.md) and [Go/XGo Hybrid Programming](doc/docs.md#gogo-hybrid-programming)).
5959
* Integrating with the C ecosystem including Python/JavaScript and providing limitless possibilities based on [LLGo](https://github.com/goplus/llgo) (see [Importing C/C++ and Python libraries](#importing-cc-and-python-libraries)).
60-
* Does not support DSL (Domain-Specific Languages), but supports SDF (Specific Domain Friendliness) (see [XGo Classfiles](#xgo-classfiles) and [Domain Text Literal](doc/domian-text-lit.md)).
60+
* Does not support DSL (Domain-Specific Languages), but supports SDF (Specific Domain Friendliness) (see [XGo Classfiles](#xgo-classfiles) and [Domain Text Literals](doc/domian-text-lit.md)).
6161

6262

6363
## How XGo simplifies Go's expressions

doc/domian-text-lit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Domain Text Literal
1+
Domain Text Literals
22
=====
33

44
The journey of **Domain Text Literals** in XGo began with a proposal in early 2024 when a community member suggested adding JSX syntax support to XGo:
@@ -20,7 +20,7 @@ What distinguishes these domain languages is that they aren't Turing-complete. T
2020

2121
Rather than competing with general-purpose languages, these domain languages typically complement them. Most mainstream programming languages either officially support or have community-built libraries to interact with these domain languages.
2222

23-
This complementary relationship led to the term "**Domain Text Literal**" rather than "**Domain-Specific Language**", emphasizing their role as specialized text formats that can be embedded within general-purpose code.
23+
This complementary relationship led to the term "**Domain Text Literals**" rather than "**Domain-Specific Languages**", emphasizing their role as specialized text formats that can be embedded within general-purpose code.
2424

2525
## XGo's Approach to Domain Text Literals
2626

0 commit comments

Comments
 (0)