Skip to content

Instantly share code, notes, and snippets.

@conartist6
Created January 26, 2026 13:05
Show Gist options
  • Select an option

  • Save conartist6/5552b3bb118d4fe02928ffff0cd10a87 to your computer and use it in GitHub Desktop.

Select an option

Save conartist6/5552b3bb118d4fe02928ffff0cd10a87 to your computer and use it in GitHub Desktop.
`bablr -l @bablr/language-en-es3 -p Program -s <<< 'foo.bar = baz'`
<Program>
body[]$:
<ExpressionStatement>
expression+$:
<Identifier>
value*: <*Literal 'foo' />
</>
^^^
<MemberExpression>
object+$: <//>
dotToken*: <* '.' />
property+$:
<Identifier>
value*: <*Literal 'bar' />
</>
</>
^^^
<AssignmentExpression>
left+$: <//>
#:
:Space:
<*Space ' ' />
assignmentOperator*: <* '=' />
#:
:Space:
<*Space ' ' />
right+$:
<Identifier>
value*: <*Literal 'baz' />
</>
</>
</>
</>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment