acornjs / acorn

A small, fast, JavaScript-based JavaScript parser
10.47k stars 867 forks source link

Add support for spec-compliant decorators #1228

Open NullVoxPopuli opened 1 year ago

NullVoxPopuli commented 1 year ago

Currently Stage 3: https://github.com/tc39/proposal-decorators

Supporting Implementations

dnalborczyk commented 1 year ago

https://github.com/acornjs/acorn/blob/e7c91713cd868320e63dbf0b998ce2f9fcb3fa86/acorn/README.md#interface

NOTE: Only 'stage 4' (finalized) ECMAScript features are being implemented by Acorn. Other proposed new features must be implemented through plugins.

dmail commented 9 months ago

I have tried to find a plugin to add support for decorators in acorn but I could not find any.

NullVoxPopuli commented 9 months ago

Stage 4 progress updates: https://github.com/tc39/proposal-decorators/issues/512