Skip to content

Confusion regarding Jessie grammar documentation #88

Answered by erights
tgrecojs asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for this report. We do need clearer language. I'll leave this open until we improve the docs.

To explain here, the issue is that generator functions, async functions, and async generator function each appear in several of these syntactic forms:

function functions arrow functions concise methods getter, setter
function foo() {} () => {} { foo() {} } { get foo() {} }
function* foo() {} none { foo*() {} } none
async function foo() {} async () => {} { async foo() {} } none
async function* foo() {} none { async foo*() {} } none

The point I was trying to make in the confusing text is that the last three rows are absent from Jessie across all the columns.

Currently Jessie …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelfig
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #67 on May 29, 2022 20:10.