Skip to content

Commit

Permalink
Merge branch 'main' into 492-german-locale
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko authored Oct 26, 2024
2 parents 4756f74 + 5af0304 commit cf6319e
Show file tree
Hide file tree
Showing 258 changed files with 19,984 additions and 2,461 deletions.
50 changes: 25 additions & 25 deletions ARCHITECTURE.md

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,72 @@
We'll note all notable changes in this file, including bug fixes, enhancements, and all closed issues.
Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http://semver.org/) format.

## 0.12.3 2024-10-12

### Fixed

- Fixed rendering of recent values in debugger.
- Fixed debugger highlights on literal values.
- Fixed UI ID for stage to correct highlight.
- Don't wrap node sequences in blocks mode.
- Describe added nodes during editing.
- Fixed ARIA bugs on autocomplete menu.

## 0.12.2 2024-10-5

### Fixed

- Corrected debugger behavior in the presence of reused values.

## 0.12.1 2024-09-28

### Fixed

- Corrected spacing on home page of header.
- Properly render placeholders in blocks mode.
- Consistent rendering of inferred and explicit placeholder types.
- Better type checking on operator wrapping
- Don't show full names of operators.
- Fixed evaluate autocomplete.
- Removed column layout of documented expressions.
- Changed explanation delimiter to ¶ for clarity, disambiguation in parsing.
- Allow entry into emtpy field lists with no tokens.
- Better handling of empty words tokens in blocks mode.
- Fixed caret position for newlines in interior blocks.
- Removed invalid symbol type from placeholder token.

## 0.12.0 2024-09-22

### Add

- [#529](https://github.com/wordplaydev/wordplay/issues/529) Redesign of blocks mode for accessibility and error-prevention. Much to do to make it super polished, but it's better than the previous version.

## 0.11.2 2024-09-17

- Show conflicts even when paused.

### Maintenance

- Several dependendabot pull request updates.

## 0.11.1 2024-08-25

### Added

- Custom descriptions of Stage, Group, Phrase, and Shape output, overriding default descriptions.

### Fixed

- Included past tense verbs in higher order functions.
- Fixed aria-label updates.
- Drop old announcements if the queue exceeds three, preferering most recent.

## 0.10.10 2024-08-12

### Fixed

- [#550](https://github.com/wordplaydev/wordplay/issues/550) Ensure owned projects are marked as owned when loaded directly from Firestore.

## 0.10.9 2024-08-10

### Added
Expand Down
18 changes: 9 additions & 9 deletions LANGUAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Text literals can be opened and closed with numerous delimiters:
> markup → `\`
> text → _any sequence of characters between open/close delimiters_
Wordplay has a secondary notation for markup, delimited by backticks, as in `` `I am \*bold\*\` ``. Between backticks, these tokens are valid:
Wordplay has a secondary notation for markup, delimited by backticks, as in `I am \*bold\*\` . Between backticks, these tokens are valid:

> linkopen → `<`
> linkclose → `>`
Expand Down Expand Up @@ -747,8 +747,8 @@ sum/en
sum/en-US
sum/en-US,suma/es
sum/en-US,suma/es-MX
``Sum of values``/en sum/en-US,suma/es-MX
``Sum of values``/en sum/en-US,suma/es-MX: 1
Sum of values/en sum/en-US,suma/es-MX
Sum of values/en sum/en-US,suma/es-MX: 1
```

All of those examples define a name `sum`; some of them specify its type, some provide a value, some provide documentation, some have multiple language tagged aliases to enable localization of the program. Context determines whether these are semantically valid; for example, table columns require binds to specify a type; bindings in blocks (described below) have to have values.
Expand Down Expand Up @@ -816,7 +816,7 @@ Here are some example function definitions:
ƒ sum(a•# b•#) a + b
ƒ sum(a•#:0 b•#:0) a + b
ƒ sum(a•#:0 b•#:0)•# a + b
``Add some numbers`` ƒ sum(a•# b•#) a + b
Add some numbers ƒ sum(a•# b•#) a + b
ƒ kind(num•#) (
odd: (num % 2) = 1
odd ? 'odd' 'even'
Expand Down Expand Up @@ -1040,11 +1040,11 @@ Programs create an evaluation scope, evaluate their binds and expressions in rea
There are three places that comments can appear in code: just before programs, just before definitions of functions, structures, and conversions, and before expressions:

```
``hi bind``a: 1
``hi function`` ƒ hello() 'hi'
``hi structure`` •food(calories•#cal)
``hi conversion`` → #cal #kcal . · 0.001kcal/cal
``hi expression``1 + 1
hi binda: 1
hi function ƒ hello() 'hi'
hi structure •food(calories•#cal)
hi conversion → #cal #kcal . · 0.001kcal/cal
hi expression1 + 1
```

Documentation is part of the grammar, not just discarded text in parsing. This allows for unambiguous association between text and documentation.
Expand Down
131 changes: 99 additions & 32 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cf6319e

Please sign in to comment.