-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Lines of Text | ||
|
||
### Submitters | ||
|
||
- Fran Tufro | ||
|
||
## Change Log | ||
|
||
- 2025-01-21 - [First Draft of ADR created](https://github.com/hiddenpeopleclub/cuentitos/pull/52). | ||
|
||
## Context | ||
|
||
Cuentitos language wants to be as writer friendly as possible, because of that | ||
is going to be text-first. | ||
|
||
We want to support a scripting format that will let a writer do as much as they | ||
can with text, minimizing the use of mouse or additional tools. | ||
|
||
The first step is to support writing lines of text that get parsed and | ||
transformed into objects that can be processed by the runtime. | ||
|
||
## Proposed Design | ||
|
||
I will split functionality from data when it comes to string management. | ||
|
||
The parser will iterate through all the script and provide an id to each line | ||
of text, this id will be used to reference the line of text in the string table. | ||
|
||
This is to better support internationalization, as the string table will be | ||
replaced by the correct language at runtime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters