Commit Graph

4 Commits

Author SHA1 Message Date
Wikid82
0af08ee627 feat: add babel-parser script for parsing files and generating AST 2025-11-19 21:38:58 -05:00
Wikid82
685a6c810a feat: add helper functions for identifier and keyword validation
- Introduced `index.js` and `index.js.map` to export functions for checking identifier characters and names.
- Added `keyword.js` and `keyword.js.map` to implement functions for validating keywords and reserved words in JavaScript.
- Implemented various checks for strict and non-strict reserved words, including binding-specific checks.
2025-11-19 21:38:33 -05:00
Wikid82
6d449f33c3 feat: Add LICENSE and README files for @babel/helper-string-parser package 2025-11-19 21:38:07 -05:00
Wikid82
f0789dd8af Add helper functions for string parsing in Babel
- Introduced `readStringContents`, `readEscapedChar`, `readHexChar`, and `readCodePoint` functions to enhance string parsing capabilities.
- Implemented error handling for unterminated strings and invalid escape sequences.
- Added support for numeric separators in different numeral systems (binary, octal, decimal, hexadecimal).
- Included source maps for better debugging and traceability.
2025-11-19 21:37:43 -05:00