Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new js nesting syntax #40

Merged
merged 1 commit into from
Jun 24, 2024
Merged

feat: add new js nesting syntax #40

merged 1 commit into from
Jun 24, 2024

Conversation

43081j
Copy link
Owner

@43081j 43081j commented Jun 23, 2024

Adds a new syntax type, js. With this syntax, arrays use indices and properties use dot-notation.

For example:

// foo.bar[0]=baz

({
  foo: {
    bar: [
      'baz'
    ]
  }
})

Closes #39

doesn't seem to affect benchmarks much, fortunately

Adds a new syntax type, `js`. With this syntax, arrays use indices and
properties use dot-notation.

For example:

```ts
// foo.bar[0]=baz

({
  foo: {
    bar: [
      'baz'
    ]
  }
})
```

Closes #39
@43081j 43081j merged commit 6b05645 into main Jun 24, 2024
3 checks passed
@43081j 43081j deleted the js-syntax branch June 24, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nesting syntax: js
1 participant