-
I'm a little puzzled about the usage of the oxc_semantic crate, so I'm longing for more help. Maybe it's necessary to complete the contribution guide. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The crate mimics the binding phase from TypeScript https://github.com/microsoft/TypeScript/blob/main/src/compiler/binder.ts It sets up and scopes and declarations. The playground has a scope and symbol tab on the top right corner. https://oxc-project.github.io/oxc/playground/ You may be more familiar with the term "symbol table". https://en.wikipedia.org/wiki/Symbol_table |
Beta Was this translation helpful? Give feedback.
-
Thanks, and it's much clear for me now. |
Beta Was this translation helpful? Give feedback.
The crate mimics the binding phase from TypeScript https://github.com/microsoft/TypeScript/blob/main/src/compiler/binder.ts
It sets up and scopes and declarations. The playground has a scope and symbol tab on the top right corner. https://oxc-project.github.io/oxc/playground/
You may be more familiar with the term "symbol table". https://en.wikipedia.org/wiki/Symbol_table