Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Remove unecessary tokens #1

Open
swfsql opened this issue May 9, 2019 · 0 comments
Open

Remove unecessary tokens #1

swfsql opened this issue May 9, 2019 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@swfsql
Copy link
Owner

swfsql commented May 9, 2019

Since the postfix tokens are delimited, some right-hand tokens are not necessary.
The downside is the lost symmetry.
Making it optional is possible but may not be desirable.

1 ForLoop:

(0..3)::(for x in)
(0..3)::(for x)

2 Let:

(0, 1)::(let (a, b) =)
(0, 1)::(let (a, b))

3 Block (labelled)

{();}::('label:)
{();}::('label)
@swfsql swfsql added enhancement New feature or request question Further information is requested labels May 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant