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

Compiler: modernize javascript tokens #1385

Closed
wants to merge 2 commits into from
Closed

Compiler: modernize javascript tokens #1385

wants to merge 2 commits into from

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Jan 16, 2023

Change Js_token.t to make it closer to what's used in flow. preliminary step before #1231.
Also modernize the lexer for numbers.

  • support octal ('0o') and binary ('0b') format
  • accept underscores in some places.

@hhugo hhugo closed this Jan 19, 2023
@hhugo hhugo deleted the jstok branch January 19, 2023 10:23
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.

1 participant