-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Syntax improvements for inline sequences and lists
- Improved syntax for inline blocks and sequences (`|`-operator) - Improved list syntax - `()` the empty list - `(1,)` list with one item (explicit comma require Squashed commit of the following: commit 667b627 Author: Jan Max Meyer <jmm@phorward.de> Date: Thu Jun 16 21:06:40 2022 +0200 Improving inline sequence syntax for lists - `()` becomes the empty list - `(1,)` becomes a list with one item - `(1)` is just value 1 commit f7014ea Author: Jan Max Meyer <jmm@phorward.de> Date: Thu Jun 16 19:44:45 2022 +0200 Improving first draft for inline sequences commit 65163ba Merge: c375fc3 cf68ab9 Author: Jan Max Meyer <jmm@phorward.de> Date: Tue Jun 14 00:54:30 2022 +0200 Merge branch 'main' into syntax/inline-sequences commit c375fc3 Merge: 6e776b3 75ba7fc Author: Jan Max Meyer <jmm@phorward.de> Date: Tue May 31 01:30:21 2022 +0200 Merge branch 'main' into syntax/inline-sequences commit 6e776b3 Author: Jan Max Meyer <jmm@phorward.de> Date: Wed May 25 22:12:10 2022 +0200 Drafting a syntax for inline sequences This draft implemented in tokay.tok replaces Collection by InlineSequence and allows for ('inline' | 'sequences') as an alternative syntax for blocks.
- Loading branch information
Showing
8 changed files
with
89 additions
and
39 deletions.
There are no files selected for viewing
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
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
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